[INFO] fetching crate xargo 0.3.26... [INFO] checking xargo-0.3.26 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate xargo 0.3.26 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate xargo 0.3.26 [INFO] finished tweaking crates.io crate xargo 0.3.26 [INFO] tweaked toml for crates.io crate xargo 0.3.26 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xargo 0.3.26 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xargo 0.3.26 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 255738f0af4cd86356ef254082da7536490274cc69f356d1045372e163077a96 [INFO] running `Command { std: "docker" "start" "-a" "255738f0af4cd86356ef254082da7536490274cc69f356d1045372e163077a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "255738f0af4cd86356ef254082da7536490274cc69f356d1045372e163077a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "255738f0af4cd86356ef254082da7536490274cc69f356d1045372e163077a96", kill_on_drop: false }` [INFO] [stdout] 255738f0af4cd86356ef254082da7536490274cc69f356d1045372e163077a96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ef1c993a16b4c597e81397e0e8bdac39fb12a8bcaec85c6eb28f71548bd1a17 [INFO] running `Command { std: "docker" "start" "-a" "0ef1c993a16b4c597e81397e0e8bdac39fb12a8bcaec85c6eb28f71548bd1a17", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling xargo v0.3.26 (/opt/rustwide/workdir) [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking rustc_version v0.4.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] error: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | error_chain!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/flock.rs:118:41 [INFO] [stdout] | [INFO] [stdout] 118 | acquire(msg, &path, &|| f.try_lock_shared(), &|| f.lock_shared())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `Result<(), TryLockError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, std::io::Error>` [INFO] [stdout] found enum `std::result::Result<_, std::fs::TryLockError>` [INFO] [stdout] help: use `?` to coerce and return an appropriate `Err`, and wrap the resulting value in `Ok` so the expression remains of type `Result` [INFO] [stdout] | [INFO] [stdout] 118 | acquire(msg, &path, &|| Ok(f.try_lock_shared()?), &|| f.lock_shared())?; [INFO] [stdout] | +++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | error_chain!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/flock.rs:118:41 [INFO] [stdout] | [INFO] [stdout] 118 | acquire(msg, &path, &|| f.try_lock_shared(), &|| f.lock_shared())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `Result<(), TryLockError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, std::io::Error>` [INFO] [stdout] found enum `std::result::Result<_, std::fs::TryLockError>` [INFO] [stdout] help: use `?` to coerce and return an appropriate `Err`, and wrap the resulting value in `Ok` so the expression remains of type `Result` [INFO] [stdout] | [INFO] [stdout] 118 | acquire(msg, &path, &|| Ok(f.try_lock_shared()?), &|| f.lock_shared())?; [INFO] [stdout] | +++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xargo` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xargo` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "0ef1c993a16b4c597e81397e0e8bdac39fb12a8bcaec85c6eb28f71548bd1a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef1c993a16b4c597e81397e0e8bdac39fb12a8bcaec85c6eb28f71548bd1a17", kill_on_drop: false }` [INFO] [stdout] 0ef1c993a16b4c597e81397e0e8bdac39fb12a8bcaec85c6eb28f71548bd1a17