[INFO] cloning repository https://github.com/bjk95/rust-basics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bjk95/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjk95%2Frust-basics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjk95%2Frust-basics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8d53091ea0f6af2d965cff1b179b103b6f3ed1cc
[INFO] checking bjk95/rust-basics against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjk95%2Frust-basics" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bjk95/rust-basics 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/bjk95/rust-basics
[INFO] finished tweaking git repo https://github.com/bjk95/rust-basics
[INFO] tweaked toml for git repo https://github.com/bjk95/rust-basics written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/bjk95/rust-basics 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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fea5d98e405cc5e0dab26aca5ee2bc7a902267f17a858e30c0e3f3d125aba142
[INFO] running `Command { std: "docker" "start" "-a" "fea5d98e405cc5e0dab26aca5ee2bc7a902267f17a858e30c0e3f3d125aba142", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fea5d98e405cc5e0dab26aca5ee2bc7a902267f17a858e30c0e3f3d125aba142", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fea5d98e405cc5e0dab26aca5ee2bc7a902267f17a858e30c0e3f3d125aba142", kill_on_drop: false }`
[INFO] [stdout] fea5d98e405cc5e0dab26aca5ee2bc7a902267f17a858e30c0e3f3d125aba142
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 696beb7affa0cf684d43299d70e511d1110486bd751d60c72b52efce7960f396
[INFO] running `Command { std: "docker" "start" "-a" "696beb7affa0cf684d43299d70e511d1110486bd751d60c72b52efce7960f396", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling serde v1.0.111
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling serde_derive v1.0.111
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]     Checking rust_basics v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/the_book/ownership.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     };
[INFO] [stdout]   |      ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/the_book/ownership.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/the_book/ownership.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     };
[INFO] [stdout]   |      ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/the_book/ownership.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/the_book/errors.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!(e)
[INFO] [stdout]    |                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!("{}", e)
[INFO] [stdout]    |                          +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => std::panic::panic_any(e)
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/the_book/errors.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!(e)
[INFO] [stdout]    |                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!("{}", e)
[INFO] [stdout]    |                          +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => std::panic::panic_any(e)
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/the_book/ownership.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     };
[INFO] [stdout]   |      ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/the_book/ownership.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/main.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/the_book/ownership.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     };
[INFO] [stdout]   |      ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/the_book/ownership.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/main.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let number = 10;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `item`, `cost`, `tax`, `total`, and `is_lit` are never read
[INFO] [stdout]   --> src/traversy/csvs.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Item{
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 14 |     index: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     item: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     cost: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 17 |     tax: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 18 |     total: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     is_lit: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` 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: unused variable: `number`
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let number = 10;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/the_book/errors.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!(e)
[INFO] [stdout]    |                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!("{}", e)
[INFO] [stdout]    |                          +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => std::panic::panic_any(e)
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     struct Person {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 58 |         name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Person` 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: fields `index`, `item`, `cost`, `tax`, `total`, and `is_lit` are never read
[INFO] [stdout]   --> src/traversy/csvs.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Item{
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 14 |     index: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     item: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     cost: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 17 |     tax: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 18 |     total: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     is_lit: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/the_book/errors.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!(e)
[INFO] [stdout]    |                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!("{}", e)
[INFO] [stdout]    |                          +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => std::panic::panic_any(e)
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.75s
[INFO] running `Command { std: "docker" "inspect" "696beb7affa0cf684d43299d70e511d1110486bd751d60c72b52efce7960f396", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "696beb7affa0cf684d43299d70e511d1110486bd751d60c72b52efce7960f396", kill_on_drop: false }`
[INFO] [stdout] 696beb7affa0cf684d43299d70e511d1110486bd751d60c72b52efce7960f396
[INFO] checking bjk95/rust-basics 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%2Fbjk95%2Frust-basics" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bjk95/rust-basics 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/bjk95/rust-basics
[INFO] finished tweaking git repo https://github.com/bjk95/rust-basics
[INFO] tweaked toml for git repo https://github.com/bjk95/rust-basics written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/bjk95/rust-basics 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a0b8e3412cc4b12ce848ab61e4f42a4184cf613034d152611afc52613062c544
[INFO] running `Command { std: "docker" "start" "-a" "a0b8e3412cc4b12ce848ab61e4f42a4184cf613034d152611afc52613062c544", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0b8e3412cc4b12ce848ab61e4f42a4184cf613034d152611afc52613062c544", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0b8e3412cc4b12ce848ab61e4f42a4184cf613034d152611afc52613062c544", kill_on_drop: false }`
[INFO] [stdout] a0b8e3412cc4b12ce848ab61e4f42a4184cf613034d152611afc52613062c544
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 33ed8ae5a5b45cbf8885e597d8f3e93a6483a240acccbf9234d68172b1b847c7
[INFO] running `Command { std: "docker" "start" "-a" "33ed8ae5a5b45cbf8885e597d8f3e93a6483a240acccbf9234d68172b1b847c7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling serde v1.0.111
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling serde_derive v1.0.111
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]     Checking rust_basics v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/the_book/ownership.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     };
[INFO] [stdout]   |      ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/the_book/ownership.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/the_book/ownership.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     };
[INFO] [stdout]   |      ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/the_book/ownership.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/the_book/errors.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!(e)
[INFO] [stdout]    |                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!("{}", e)
[INFO] [stdout]    |                          +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => std::panic::panic_any(e)
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/the_book/errors.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!(e)
[INFO] [stdout]    |                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!("{}", e)
[INFO] [stdout]    |                          +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => std::panic::panic_any(e)
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/the_book/ownership.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     };
[INFO] [stdout]   |      ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/the_book/ownership.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/main.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/the_book/ownership.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     };
[INFO] [stdout]   |      ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/the_book/ownership.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/main.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let number = 10;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let number = 10;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     struct Person {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 58 |         name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Person` 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: fields `index`, `item`, `cost`, `tax`, `total`, and `is_lit` are never read
[INFO] [stdout]   --> src/traversy/csvs.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Item{
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 14 |     index: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     item: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     cost: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 17 |     tax: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 18 |     total: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     is_lit: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/the_book/errors.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!(e)
[INFO] [stdout]    |                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!("{}", e)
[INFO] [stdout]    |                          +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => std::panic::panic_any(e)
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/traversy/csvs.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Item`
[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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[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] warning: fields `index`, `item`, `cost`, `tax`, `total`, and `is_lit` are never read
[INFO] [stdout]   --> src/traversy/csvs.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Item{
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 14 |     index: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     item: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     cost: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 17 |     tax: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 18 |     total: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     is_lit: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` 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: panic message is not a string literal
[INFO] [stdout]   --> src/the_book/errors.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!(e)
[INFO] [stdout]    |                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => panic!("{}", e)
[INFO] [stdout]    |                          +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Err(e) => std::panic::panic_any(e)
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/traversy/csvs.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Item`
[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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[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 1 previous error; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_basics` (bin "rust_basics") due to 2 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_basics` (bin "rust_basics" test) due to 2 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "33ed8ae5a5b45cbf8885e597d8f3e93a6483a240acccbf9234d68172b1b847c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33ed8ae5a5b45cbf8885e597d8f3e93a6483a240acccbf9234d68172b1b847c7", kill_on_drop: false }`
[INFO] [stdout] 33ed8ae5a5b45cbf8885e597d8f3e93a6483a240acccbf9234d68172b1b847c7
