[INFO] cloning repository https://github.com/suhanyujie/hello_cargo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suhanyujie/hello_cargo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Fhello_cargo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Fhello_cargo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2ca02230864e628c8cd21c7090da828459fec11 [INFO] checking suhanyujie/hello_cargo against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Fhello_cargo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhanyujie/hello_cargo 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/suhanyujie/hello_cargo [INFO] finished tweaking git repo https://github.com/suhanyujie/hello_cargo [INFO] tweaked toml for git repo https://github.com/suhanyujie/hello_cargo written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/suhanyujie/hello_cargo 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.4.5 [INFO] [stderr] Downloaded proc-macro2 v0.4.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d2a639943d8821f64e4a7ab59be6277a2bdb4913bdcb2be48fb7f56845e8032e [INFO] running `Command { std: "docker" "start" "-a" "d2a639943d8821f64e4a7ab59be6277a2bdb4913bdcb2be48fb7f56845e8032e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2a639943d8821f64e4a7ab59be6277a2bdb4913bdcb2be48fb7f56845e8032e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a639943d8821f64e4a7ab59be6277a2bdb4913bdcb2be48fb7f56845e8032e", kill_on_drop: false }` [INFO] [stdout] d2a639943d8821f64e4a7ab59be6277a2bdb4913bdcb2be48fb7f56845e8032e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 608c4f33742982d3e20c7535c8b34e94e75f261069212535b6f3a97ed22d31b6 [INFO] running `Command { std: "docker" "start" "-a" "608c4f33742982d3e20c7535c8b34e94e75f261069212535b6f3a97ed22d31b6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling proc-macro2 v0.4.25 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking encode_unicode v0.3.5 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand v0.4.5 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hello_cargo::test_code::t1` [INFO] [stdout] --> src/bin/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hello_cargo::test_code::t1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_cargo::test_code::t1` [INFO] [stdout] --> src/bin/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hello_cargo::test_code::t1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word1` [INFO] [stdout] --> src/bin/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let word1 = &my_str1[..]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_word1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word1` [INFO] [stdout] --> src/bin/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let word1 = &my_str1[..]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_word1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/main.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | fn slice_show(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/main.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | fn slice_show(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/bin/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/bin/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/bin/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/bin/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/bin/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn first_word(s: &String) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/bin/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn first_word(s: &String) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `about_slice` is never used [INFO] [stdout] --> src/bin/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn about_slice() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ownership_change` is never used [INFO] [stdout] --> src/bin/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn ownership_change() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `about_slice` is never used [INFO] [stdout] --> src/bin/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn about_slice() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutable_ref_example` is never used [INFO] [stdout] --> src/bin/main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn mutable_ref_example(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ownership_change` is never used [INFO] [stdout] --> src/bin/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn ownership_change() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutable_ref_example` is never used [INFO] [stdout] --> src/bin/main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn mutable_ref_example(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reference_example` is never used [INFO] [stdout] --> src/bin/main.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn reference_example(s: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multipleReturnVal` is never used [INFO] [stdout] --> src/bin/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn multipleReturnVal(s: String) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reference_example` is never used [INFO] [stdout] --> src/bin/main.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn reference_example(s: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multipleReturnVal` is never used [INFO] [stdout] --> src/bin/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn multipleReturnVal(s: String) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyDeeply` is never used [INFO] [stdout] --> src/bin/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn copyDeeply() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `five` is never used [INFO] [stdout] --> src/bin/main.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn five() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyDeeply` is never used [INFO] [stdout] --> src/bin/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn copyDeeply() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `five` is never used [INFO] [stdout] --> src/bin/main.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn five() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | handle(Command::from_args()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = handle(Command::from_args()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | handle(Command::from_args()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = handle(Command::from_args()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multipleReturnVal` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn multipleReturnVal(s: String) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multiple_return_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multipleReturnVal` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn multipleReturnVal(s: String) -> (String, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multiple_return_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyDeeply` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn copyDeeply() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `copy_deeply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyDeeply` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn copyDeeply() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `copy_deeply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.81s [INFO] running `Command { std: "docker" "inspect" "608c4f33742982d3e20c7535c8b34e94e75f261069212535b6f3a97ed22d31b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "608c4f33742982d3e20c7535c8b34e94e75f261069212535b6f3a97ed22d31b6", kill_on_drop: false }` [INFO] [stdout] 608c4f33742982d3e20c7535c8b34e94e75f261069212535b6f3a97ed22d31b6 [INFO] checking suhanyujie/hello_cargo 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%2Fsuhanyujie%2Fhello_cargo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhanyujie/hello_cargo 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/suhanyujie/hello_cargo [INFO] finished tweaking git repo https://github.com/suhanyujie/hello_cargo [INFO] tweaked toml for git repo https://github.com/suhanyujie/hello_cargo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/suhanyujie/hello_cargo 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] [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 339442425c0e2ff8130decd704884dd471f67176eacac05e56248d677b60f910 [INFO] running `Command { std: "docker" "start" "-a" "339442425c0e2ff8130decd704884dd471f67176eacac05e56248d677b60f910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "339442425c0e2ff8130decd704884dd471f67176eacac05e56248d677b60f910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "339442425c0e2ff8130decd704884dd471f67176eacac05e56248d677b60f910", kill_on_drop: false }` [INFO] [stdout] 339442425c0e2ff8130decd704884dd471f67176eacac05e56248d677b60f910 [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 -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] 05711a53b40fea4ac62c61d65a34f355708d9c73967b0ce23055b98e18b1b7ef [INFO] running `Command { std: "docker" "start" "-a" "05711a53b40fea4ac62c61d65a34f355708d9c73967b0ce23055b98e18b1b7ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling proc-macro2 v0.4.25 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking encode_unicode v0.3.5 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand v0.4.5 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/service.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Todo` [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] --> src/service.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Todo` [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_cargo` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/service.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Todo` [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] --> src/service.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Todo` [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_cargo` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "05711a53b40fea4ac62c61d65a34f355708d9c73967b0ce23055b98e18b1b7ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05711a53b40fea4ac62c61d65a34f355708d9c73967b0ce23055b98e18b1b7ef", kill_on_drop: false }` [INFO] [stdout] 05711a53b40fea4ac62c61d65a34f355708d9c73967b0ce23055b98e18b1b7ef