Skip to content

Update cargo requirement from 0.78.0 to 0.79.0 #1190

Update cargo requirement from 0.78.0 to 0.79.0

Update cargo requirement from 0.78.0 to 0.79.0 #1190

Triggered via pull request May 3, 2024 13:31
Status Failure
Total duration 1m 23s
Artifacts

rust.yml

on: pull_request
Format and Clippy
1m 15s
Format and Clippy
Matrix: arch-test
Code coverage
0s
Code coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
unresolved import `cargo::Config`: src/build.rs#L13
error[E0432]: unresolved import `cargo::Config` --> src/build.rs:13:24 | 13 | use cargo::{CliResult, Config}; | ^^^^^^ no `Config` in the root | = help: consider importing this struct instead: cbindgen::Config
unresolved import `cargo::util::profile`: src/build.rs#L896
error[E0432]: unresolved import `cargo::util::profile` --> src/build.rs:896:5 | 896 | use cargo::util::profile; | ^^^^^^^^^^^^^^^^^^^^ no `profile` in `util`
unresolved import `cargo::Config`: src/config.rs#L4
error[E0432]: unresolved import `cargo::Config` --> src/config.rs:4:24 | 4 | use cargo::{CliResult, Config}; | ^^^^^^ no `Config` in the root | = help: consider importing this struct instead: cbindgen::Config
failed to resolve: could not find `Context` in `compiler`: src/build.rs#L966
error[E0433]: failed to resolve: could not find `Context` in `compiler` --> src/build.rs:966:37 | 966 | let cx = cargo::core::compiler::Context::new(&bcx)?; | ^^^^^^^ could not find `Context` in `compiler` | help: consider importing one of these items | 1 + use anyhow::Context; | 1 + use core::task::Context; | 1 + use std::task::Context; | help: if you import `Context`, refer to it directly | 966 - let cx = cargo::core::compiler::Context::new(&bcx)?; 966 + let cx = Context::new(&bcx)?; |
no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope: src/build.rs#L32
error[E0599]: no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope --> src/build.rs:32:8 | 32 | ws.config() | ^^^^^^ method not found in `&Workspace<'_>`
no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope: src/build.rs#L67
error[E0599]: no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope --> src/build.rs:67:24 | 67 | let mut shell = ws.config().shell(); | ^^^^^^ method not found in `&Workspace<'_>`
no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope: src/build.rs#L93
error[E0599]: no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope --> src/build.rs:93:8 | 93 | ws.config().shell().status("Building", "pkg-config files")?; | ^^^^^^ method not found in `&Workspace<'_>`
no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope: src/build.rs#L143
error[E0599]: no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope --> src/build.rs:143:12 | 143 | ws.config() | ^^^^^^ method not found in `&Workspace<'_>`
no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope: src/build.rs#L216
error[E0599]: no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope --> src/build.rs:216:16 | 216 | ws.config() | ^^^^^^ method not found in `&Workspace<'_>`
no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope: src/build.rs#L245
error[E0599]: no method named `config` found for reference `&cargo::core::Workspace<'_>` in the current scope --> src/build.rs:245:16 | 245 | ws.config().shell().status("Building", "implib using lib")?; | ^^^^^^ method not found in `&Workspace<'_>`
Format and Clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs-plus/clippy-check@v2.0.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.