[INFO] cloning repository https://github.com/codeTIT4N/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/codeTIT4N/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcodeTIT4N%2Frust-basics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcodeTIT4N%2Frust-basics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6213b1c42c6d864574c0e6091dadb95176fe5fd9
[INFO] testing codeTIT4N/rust-basics against 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcodeTIT4N%2Frust-basics" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/codeTIT4N/rust-basics on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/codeTIT4N/rust-basics
[INFO] finished tweaking git repo https://github.com/codeTIT4N/rust-basics
[INFO] tweaked toml for git repo https://github.com/codeTIT4N/rust-basics written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/codeTIT4N/rust-basics already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 343c0da932fb6fa8c04118c49a1a169a1d3b85af905458c11622eae7aa8b0a1b
[INFO] running `Command { std: "docker" "start" "-a" "343c0da932fb6fa8c04118c49a1a169a1d3b85af905458c11622eae7aa8b0a1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "343c0da932fb6fa8c04118c49a1a169a1d3b85af905458c11622eae7aa8b0a1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "343c0da932fb6fa8c04118c49a1a169a1d3b85af905458c11622eae7aa8b0a1b", kill_on_drop: false }`
[INFO] [stdout] 343c0da932fb6fa8c04118c49a1a169a1d3b85af905458c11622eae7aa8b0a1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f639eec9611ac65a1d5099c25db1ce02a9226d5ee1e9b9022b8151cdf848a6b6
[INFO] running `Command { std: "docker" "start" "-a" "f639eec9611ac65a1d5099c25db1ce02a9226d5ee1e9b9022b8151cdf848a6b6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling basics v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant is never constructed: `Percent`
[INFO] [stdout]  --> src/bin/advmatch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Percent(i32),
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum is never used: `Color`
[INFO] [stdout]  --> src/bin/documentation.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Color {
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Mail`
[INFO] [stdout]  --> src/bin/documentation.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Mail {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `add`
[INFO] [stdout]   --> src/bin/documentation.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn add(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: function `hello` is private
[INFO] [stdout]   --> src/bin/modules.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     use greet::hello;
[INFO] [stdout]    |                ^^^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `hello` is defined here
[INFO] [stdout]   --> src/bin/modules.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn hello() {
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: function `goodbye` is private
[INFO] [stdout]   --> src/bin/modules.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     greet::goodbye();
[INFO] [stdout]    |            ^^^^^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `goodbye` is defined here
[INFO] [stdout]   --> src/bin/modules.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn goodbye() {
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: function `add` is private
[INFO] [stdout]   --> src/bin/modules.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let ans = math::add(2, 1);
[INFO] [stdout]    |                     ^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `add` is defined here
[INFO] [stdout]   --> src/bin/modules.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn add(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `MAX_SPEED`
[INFO] [stdout]  --> src/bin/const.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | const MAX_SPEED: i32 = 9000;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/bin/defaulttrait.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let p = Package::default();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `clamp_speed`
[INFO] [stdout]  --> src/bin/const.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn clamp_speed(speed: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `weight`
[INFO] [stdout]  --> src/bin/defaulttrait.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     weight: f64,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]  --> src/bin/defaulttrait.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn new(weight: f64) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `basics` due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variant is never constructed: `Manager`
[INFO] [stdout]  --> src/bin/derive.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Manager,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Position` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/bin/derive.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Copy)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Supervisor`
[INFO] [stdout]  --> src/bin/derive.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Supervisor,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Position` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/bin/derive.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Clone, Copy)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `position`
[INFO] [stdout]  --> src/bin/derive.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     position: Position,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Employee` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/bin/derive.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Clone, Copy)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `work_hours`
[INFO] [stdout]   --> src/bin/derive.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     work_hours: i64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Employee` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/bin/derive.rs:7:10
[INFO] [stdout]    |
[INFO] [stdout] 7  | #[derive(Debug, Clone, Copy)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quiz_2`
[INFO] [stdout]   --> src/bin/lifetimes.rs:27:45
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn get_first_question<'a>(quiz_1: &'a Quiz, quiz_2: &Quiz) -> &'a Answer {
[INFO] [stdout]    |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_quiz_2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `No`
[INFO] [stdout]  --> src/bin/lifetimes.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     No,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Answer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/bin/lifetimes.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `question`
[INFO] [stdout]   --> src/bin/lifetimes.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     question: &'a Answer,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Form` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/bin/lifetimes.rs:7:10
[INFO] [stdout]    |
[INFO] [stdout] 7  | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `question`
[INFO] [stdout]   --> src/bin/lifetimes.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     question: Answer,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Quiz` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/bin/lifetimes.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_first_question`
[INFO] [stdout]   --> src/bin/lifetimes.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn get_first_question<'a>(quiz_1: &'a Quiz, quiz_2: &Quiz) -> &'a Answer {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Admin`
[INFO] [stdout]  --> src/bin/expressions.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Admin,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Manager`
[INFO] [stdout]  --> src/bin/expressions.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Manager,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `User`
[INFO] [stdout]  --> src/bin/expressions.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     User,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> src/bin/whilelet.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     while let Some(i) = data {
[INFO] [stdout]   |                    ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f639eec9611ac65a1d5099c25db1ce02a9226d5ee1e9b9022b8151cdf848a6b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f639eec9611ac65a1d5099c25db1ce02a9226d5ee1e9b9022b8151cdf848a6b6", kill_on_drop: false }`
[INFO] [stdout] f639eec9611ac65a1d5099c25db1ce02a9226d5ee1e9b9022b8151cdf848a6b6
