[INFO] cloning repository https://github.com/UnHumbleBen/serde-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UnHumbleBen/serde-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnHumbleBen%2Fserde-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnHumbleBen%2Fserde-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf3ef9af0f449ed6c74e67ce5a867643c7d38fab [INFO] checking UnHumbleBen/serde-tutorial against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnHumbleBen%2Fserde-tutorial" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UnHumbleBen/serde-tutorial on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/UnHumbleBen/serde-tutorial [INFO] finished tweaking git repo https://github.com/UnHumbleBen/serde-tutorial [INFO] tweaked toml for git repo https://github.com/UnHumbleBen/serde-tutorial written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/UnHumbleBen/serde-tutorial 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f14caa90c1c8e6d3d5afbd0e27caeea97da2fc4bbf0ec12932edb1291afad7a8 [INFO] running `Command { std: "docker" "start" "-a" "f14caa90c1c8e6d3d5afbd0e27caeea97da2fc4bbf0ec12932edb1291afad7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f14caa90c1c8e6d3d5afbd0e27caeea97da2fc4bbf0ec12932edb1291afad7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14caa90c1c8e6d3d5afbd0e27caeea97da2fc4bbf0ec12932edb1291afad7a8", kill_on_drop: false }` [INFO] [stdout] f14caa90c1c8e6d3d5afbd0e27caeea97da2fc4bbf0ec12932edb1291afad7a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3350c65ac3df765df28d6cbe535b4329f225626d0bc93d4ff8f1350cc4dc56bf [INFO] running `Command { std: "docker" "start" "-a" "3350c65ac3df765df28d6cbe535b4329f225626d0bc93d4ff8f1350cc4dc56bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking phantom-data v0.1.0 (/opt/rustwide/workdir/phantom-data) [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> phantom-data/src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Iter<'a, T: 'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec` is never constructed [INFO] [stdout] --> phantom-data/src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> phantom-data/src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Iter<'a, T: 'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec` is never constructed [INFO] [stdout] --> phantom-data/src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking attributes v0.1.0 (/opt/rustwide/workdir/attributes) [INFO] [stderr] Checking implement-deserialize-for-a-custom-map-type v0.1.0 (/opt/rustwide/workdir/implement-deserialize-for-a-custom-map-type) [INFO] [stderr] Checking serialize-enum-as-number v0.1.0 (/opt/rustwide/workdir/serialize-enum-as-number) [INFO] [stderr] Checking serialize-fields-as-camelcase v0.1.0 (/opt/rustwide/workdir/serialize-fields-as-camelcase) [INFO] [stderr] Checking the-visitor-trait v0.1.0 (/opt/rustwide/workdir/the-visitor-trait) [INFO] [stderr] Checking using-derive v0.1.0 (/opt/rustwide/workdir/using-derive) [INFO] [stderr] Checking default-value-for-a-field v0.1.0 (/opt/rustwide/workdir/default-value-for-a-field) [INFO] [stderr] Checking discarding-data v0.1.0 (/opt/rustwide/workdir/discarding-data) [INFO] [stderr] Checking handwritten-generic-type-bound v0.1.0 (/opt/rustwide/workdir/handwritten-generic-type-bounds) [INFO] [stderr] Checking struct-flattening v0.1.0 (/opt/rustwide/workdir/struct-flattening) [INFO] [stderr] Checking deriving-de-serialize-for-type-in-a-different-crate v0.1.0 (/opt/rustwide/workdir/deriving-de-serialize-for-type-in-a-different-crate) [INFO] [stderr] Checking processing-an-array-of-values-without-buffering-into-a-vec v0.1.0 (/opt/rustwide/workdir/processing-an-array-of-values-without-buffering-into-a-vec) [INFO] [stdout] warning: fields `resource`, `timeout`, and `priority` are never read [INFO] [stdout] --> default-value-for-a-field/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | timeout: Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | priority: Priority, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` 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] [stdout] warning: field `0` is never read [INFO] [stdout] --> default-value-for-a-field/src/main.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | struct Timeout(u32); [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Timeout` 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] 33 | struct Timeout(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `s` and `ptr` are never read [INFO] [stdout] --> handwritten-generic-type-bounds/src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Outer<'a, S, T: 'a + ?Sized> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | s: S, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 37 | ptr: Ptr<'a, T>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Outer` 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] [stdout] warning: variant `Ref` is never constructed [INFO] [stdout] --> handwritten-generic-type-bounds/src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | enum Ptr<'a, T: 'a + ?Sized> { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 60 | Ref(&'a T), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ptr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> processing-an-array-of-values-without-buffering-into-a-vec/src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Outer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | /// The id of the processed array. [INFO] [stdout] 23 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `s` and `ptr` are never read [INFO] [stdout] --> handwritten-generic-type-bounds/src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Outer<'a, S, T: 'a + ?Sized> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | s: S, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 37 | ptr: Ptr<'a, T>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Outer` 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] [stdout] warning: variant `Ref` is never constructed [INFO] [stdout] --> handwritten-generic-type-bounds/src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | enum Ptr<'a, T: 'a + ?Sized> { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 60 | Ref(&'a T), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ptr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking custom-serialization v0.1.0 (/opt/rustwide/workdir/custom-serialization) [INFO] [stderr] Checking manually-implementing-deserialize-for-a-struct v0.1.0 (/opt/rustwide/workdir/manually-implementing-deserialize-for-a-struct) [INFO] [stderr] Checking enum-representations v0.1.0 (/opt/rustwide/workdir/enum-representations) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> manually-implementing-deserialize-for-a-struct/src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `secs` and `nanos` are never read [INFO] [stdout] --> manually-implementing-deserialize-for-a-struct/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Duration { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | secs: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | nanos: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking skip-serializing-field v0.1.0 (/opt/rustwide/workdir/skip-serializing-field) [INFO] [stdout] warning: fields `resource`, `timeout`, and `priority` are never read [INFO] [stdout] --> default-value-for-a-field/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | timeout: Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | priority: Priority, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` 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] [stdout] warning: field `0` is never read [INFO] [stdout] --> default-value-for-a-field/src/main.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | struct Timeout(u32); [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Timeout` 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] 33 | struct Timeout(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> manually-implementing-deserialize-for-a-struct/src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `secs` and `nanos` are never read [INFO] [stdout] --> manually-implementing-deserialize-for-a-struct/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Duration { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | secs: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | nanos: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> processing-an-array-of-values-without-buffering-into-a-vec/src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Outer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | /// The id of the processed array. [INFO] [stdout] 23 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> skip-serializing-field/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Resource { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> skip-serializing-field/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Resource { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.50s [INFO] running `Command { std: "docker" "inspect" "3350c65ac3df765df28d6cbe535b4329f225626d0bc93d4ff8f1350cc4dc56bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3350c65ac3df765df28d6cbe535b4329f225626d0bc93d4ff8f1350cc4dc56bf", kill_on_drop: false }` [INFO] [stdout] 3350c65ac3df765df28d6cbe535b4329f225626d0bc93d4ff8f1350cc4dc56bf [INFO] checking UnHumbleBen/serde-tutorial against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnHumbleBen%2Fserde-tutorial" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UnHumbleBen/serde-tutorial on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/UnHumbleBen/serde-tutorial [INFO] finished tweaking git repo https://github.com/UnHumbleBen/serde-tutorial [INFO] tweaked toml for git repo https://github.com/UnHumbleBen/serde-tutorial written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/UnHumbleBen/serde-tutorial 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d93caac49d0f7264945852e6659332d862e6bf7c51560316d4ca619e86ed065f [INFO] running `Command { std: "docker" "start" "-a" "d93caac49d0f7264945852e6659332d862e6bf7c51560316d4ca619e86ed065f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d93caac49d0f7264945852e6659332d862e6bf7c51560316d4ca619e86ed065f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d93caac49d0f7264945852e6659332d862e6bf7c51560316d4ca619e86ed065f", kill_on_drop: false }` [INFO] [stdout] d93caac49d0f7264945852e6659332d862e6bf7c51560316d4ca619e86ed065f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8b7fada2becdda52d26c284214ce6741f15a594a93be83b6cb496aa388dd917 [INFO] running `Command { std: "docker" "start" "-a" "d8b7fada2becdda52d26c284214ce6741f15a594a93be83b6cb496aa388dd917", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking phantom-data v0.1.0 (/opt/rustwide/workdir/phantom-data) [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> phantom-data/src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Iter<'a, T: 'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec` is never constructed [INFO] [stdout] --> phantom-data/src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> phantom-data/src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Iter<'a, T: 'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec` is never constructed [INFO] [stdout] --> phantom-data/src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking attributes v0.1.0 (/opt/rustwide/workdir/attributes) [INFO] [stderr] Checking implement-deserialize-for-a-custom-map-type v0.1.0 (/opt/rustwide/workdir/implement-deserialize-for-a-custom-map-type) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> attributes/src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_S` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> attributes/src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_S` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> attributes/src/main.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_E` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> attributes/src/main.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_E` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> attributes/src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_S` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> attributes/src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_S` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> attributes/src/main.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_E` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> attributes/src/main.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_E` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `attributes` (bin "attributes") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `attributes` (bin "attributes" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "d8b7fada2becdda52d26c284214ce6741f15a594a93be83b6cb496aa388dd917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b7fada2becdda52d26c284214ce6741f15a594a93be83b6cb496aa388dd917", kill_on_drop: false }` [INFO] [stdout] d8b7fada2becdda52d26c284214ce6741f15a594a93be83b6cb496aa388dd917