[INFO] fetching crate derivative 2.2.0... [INFO] checking derivative-2.2.0 against try#1d0e7c032bf9b905a3165592072b5cc63c491d50 for pr-133502-5 [INFO] extracting crate derivative 2.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate derivative 2.2.0 on toolchain 1d0e7c032bf9b905a3165592072b5cc63c491d50 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate derivative 2.2.0 [INFO] finished tweaking crates.io crate derivative 2.2.0 [INFO] tweaked toml for crates.io crate derivative 2.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.100) [INFO] [stderr] Adding trybuild v1.0.22 (available: v1.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "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] 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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97dffa9063c3c7da3a564cd72feab95fc307314931ebc8d25e174a0a40b02ccf [INFO] running `Command { std: "docker" "start" "-a" "97dffa9063c3c7da3a564cd72feab95fc307314931ebc8d25e174a0a40b02ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97dffa9063c3c7da3a564cd72feab95fc307314931ebc8d25e174a0a40b02ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97dffa9063c3c7da3a564cd72feab95fc307314931ebc8d25e174a0a40b02ccf", kill_on_drop: false }` [INFO] [stdout] 97dffa9063c3c7da3a564cd72feab95fc307314931ebc8d25e174a0a40b02ccf [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27abf04e8fa56270ea9dc212e7c4be4df072398a9aa64e53766007bf28e591f8 [INFO] running `Command { std: "docker" "start" "-a" "27abf04e8fa56270ea9dc212e7c4be4df072398a9aa64e53766007bf28e591f8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking derivative v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Field<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub span: proc_macro2::Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` 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] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Field<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub span: proc_macro2::Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` 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] [INFO] [stdout] [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking trybuild v1.0.22 [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> tests/issue-82.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Test { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> tests/derive-eq.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | self.foo == other.foo [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 24 - self.foo == other.foo [INFO] [stdout] 24 + std::ptr::addr_eq(self.foo, other.foo) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 24 - self.foo == other.foo [INFO] [stdout] 24 + std::ptr::eq(self.foo, other.foo) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `S` is never constructed [INFO] [stdout] --> tests/rustc-deriving-clone-tuple-struct.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct S((), ()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dummy` is never used [INFO] [stdout] --> tests/rustc-issue-19358.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | trait Trait { fn dummy(&self) { } } [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | method in this trait [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Foo` is never used [INFO] [stdout] --> tests/issue-55.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait Foo {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmt` is never used [INFO] [stdout] --> tests/issue-55.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn fmt(_: &T, _: &mut std::fmt::Formatter) -> std::fmt::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Qux` is never constructed [INFO] [stdout] --> tests/issue-55.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Qux<'a, T: Foo>(&'a T); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> tests/derive-eq-packed.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | self.foo == other.foo [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 26 - self.foo == other.foo [INFO] [stdout] 26 + std::ptr::addr_eq(self.foo, other.foo) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 26 - self.foo == other.foo [INFO] [stdout] 26 + std::ptr::eq(self.foo, other.foo) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> tests/rustc-deriving-in-fn.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | format!("{:?}", f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CopyArray` is never constructed [INFO] [stdout] --> tests/rustc-issue-28561.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct CopyArray { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fn` is never constructed [INFO] [stdout] --> tests/rustc-issue-28561.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | struct Fn { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Field<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub span: proc_macro2::Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` 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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.48s [INFO] running `Command { std: "docker" "inspect" "27abf04e8fa56270ea9dc212e7c4be4df072398a9aa64e53766007bf28e591f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27abf04e8fa56270ea9dc212e7c4be4df072398a9aa64e53766007bf28e591f8", kill_on_drop: false }` [INFO] [stdout] 27abf04e8fa56270ea9dc212e7c4be4df072398a9aa64e53766007bf28e591f8