[INFO] fetching crate cradle 0.2.2... [INFO] checking cradle-0.2.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate cradle 0.2.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate cradle 0.2.2 [INFO] finished tweaking crates.io crate cradle 0.2.2 [INFO] tweaked toml for crates.io crate cradle 0.2.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cradle 0.2.2 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 cradle 0.2.2 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] 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] d783d2b425284f4b8ff54fc128fe7dfc989a5dc4c73bb6555acb8a9ca1ed83af [INFO] running `Command { std: "docker" "start" "-a" "d783d2b425284f4b8ff54fc128fe7dfc989a5dc4c73bb6555acb8a9ca1ed83af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d783d2b425284f4b8ff54fc128fe7dfc989a5dc4c73bb6555acb8a9ca1ed83af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d783d2b425284f4b8ff54fc128fe7dfc989a5dc4c73bb6555acb8a9ca1ed83af", kill_on_drop: false }` [INFO] [stdout] d783d2b425284f4b8ff54fc128fe7dfc989a5dc4c73bb6555acb8a9ca1ed83af [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] 618441a65dc0f0a1a74aa1daabbd0e36ce0bda2d9dda0d5a4b4e22bf13483569 [INFO] running `Command { std: "docker" "start" "-a" "618441a65dc0f0a1a74aa1daabbd0e36ce0bda2d9dda0d5a4b4e22bf13483569", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking executable-path v1.0.0 [INFO] [stderr] Checking unindent v0.1.8 [INFO] [stderr] Checking pretty_assertions v1.2.1 [INFO] [stderr] Checking cradle v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn test() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | run_result!(WHICH, "ls")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the macro `run_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn test() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | run_result!(WHICH, "does-not-exist")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `run_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | fn test() -> MyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | run_result!(WHICH, "ls")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `run_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | fn test() -> MyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | run_result!(WHICH, "does-not-exist")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `run_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | fn test() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | run_result!(WHICH, "ls")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `run_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | fn test() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | run_result!(WHICH, "does-not-exist")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `run_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | fn test() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | (WHICH, "ls").run_result()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 203 | (WHICH, "ls").run_result::<()>()?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | fn test() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:215:39 [INFO] [stdout] | [INFO] [stdout] 215 | (WHICH, "does-not-exist").run_result()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 215 | (WHICH, "does-not-exist").run_result::<()>()?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | fn test() -> MyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | (WHICH, "ls").run_result()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 236 | (WHICH, "ls").run_result::<()>()?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | fn test() -> MyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | (WHICH, "does-not-exist").run_result()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 250 | (WHICH, "does-not-exist").run_result::<()>()?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | fn test() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:280:27 [INFO] [stdout] | [INFO] [stdout] 280 | (WHICH, "ls").run_result()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 280 | (WHICH, "ls").run_result::<()>()?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | fn test() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: cradle::Output` will fail [INFO] [stdout] --> tests/integration.rs:312:39 [INFO] [stdout] | [INFO] [stdout] 312 | (WHICH, "does-not-exist").run_result()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 312 | (WHICH, "does-not-exist").run_result::<()>()?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/integration.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | Cradle(cradle::Error), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 138 - Cradle(cradle::Error), [INFO] [stdout] 138 + Cradle(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/integration.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | Cradle(cradle::Error), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 270 - Cradle(cradle::Error), [INFO] [stdout] 270 + Cradle(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:972:21 [INFO] [stdout] | [INFO] [stdout] 972 | assert!(!run_output!("false")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cradle` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "618441a65dc0f0a1a74aa1daabbd0e36ce0bda2d9dda0d5a4b4e22bf13483569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "618441a65dc0f0a1a74aa1daabbd0e36ce0bda2d9dda0d5a4b4e22bf13483569", kill_on_drop: false }` [INFO] [stdout] 618441a65dc0f0a1a74aa1daabbd0e36ce0bda2d9dda0d5a4b4e22bf13483569