[INFO] cloning repository https://github.com/simba126/rust-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simba126/rust-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimba126%2Frust-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimba126%2Frust-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 19e23772c0e0051cb741d19c7048bc3471338499 [INFO] testing simba126/rust-tutorial against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimba126%2Frust-tutorial" "/workspace/builds/worker-69/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-69/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simba126/rust-tutorial on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/simba126/rust-tutorial [INFO] finished tweaking git repo https://github.com/simba126/rust-tutorial [INFO] tweaked toml for git repo https://github.com/simba126/rust-tutorial written to /workspace/builds/worker-69/source/Cargo.toml [INFO] crate git repo https://github.com/simba126/rust-tutorial already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13f8f813975d3aa74222a93f8dda038f6ccc7e69c2649961f4bb3973a4e5e470 [INFO] running `Command { std: "docker" "start" "-a" "13f8f813975d3aa74222a93f8dda038f6ccc7e69c2649961f4bb3973a4e5e470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13f8f813975d3aa74222a93f8dda038f6ccc7e69c2649961f4bb3973a4e5e470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13f8f813975d3aa74222a93f8dda038f6ccc7e69c2649961f4bb3973a4e5e470", kill_on_drop: false }` [INFO] [stdout] 13f8f813975d3aa74222a93f8dda038f6ccc7e69c2649961f4bb3973a4e5e470 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd97b3ea53982edb82216a665e41c5964de67ed66b6fd871fa521c3aea24c784 [INFO] running `Command { std: "docker" "start" "-a" "dd97b3ea53982edb82216a665e41c5964de67ed66b6fd871fa521c3aea24c784", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling arr_macro_impl v0.1.3 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling arr_macro v0.1.3 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let x: u32 = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "dd97b3ea53982edb82216a665e41c5964de67ed66b6fd871fa521c3aea24c784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd97b3ea53982edb82216a665e41c5964de67ed66b6fd871fa521c3aea24c784", kill_on_drop: false }` [INFO] [stdout] dd97b3ea53982edb82216a665e41c5964de67ed66b6fd871fa521c3aea24c784 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9b03d6cbbd81f2d1141d2a3e7bb12f4fcee9064ff208d2515e015b8973fe2c5 [INFO] running `Command { std: "docker" "start" "-a" "a9b03d6cbbd81f2d1141d2a3e7bb12f4fcee9064ff208d2515e015b8973fe2c5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 52 | / match somefn() { [INFO] [stdout] 53 | | [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 55 | [INFO] [stdout] 56 | println!() [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `None` and `Some(_)` not covered [INFO] [stdout] --> examples/mod.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | match somefn() { [INFO] [stdout] | ^^^^^^^^ patterns `None` and `Some(_)` not covered [INFO] [stdout] | [INFO] [stdout] note: `Option` defined here [INFO] [stdout] = note: the matched value is of type `Option` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms [INFO] [stdout] | [INFO] [stdout] 52 ~ match somefn() { [INFO] [stdout] 53 + None | Some(_) => todo!(), [INFO] [stdout] 54 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> examples/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let chars: Vec = s.chars().collect::>(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `utfs` [INFO] [stdout] --> examples/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let utfs = str::from_utf8(&bytes).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_utfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> examples/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | val => println!("{:?}", refvar) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let x: u32 = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> examples/struct.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let y = x.to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_first_name` [INFO] [stdout] --> examples/struct.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_first_name(&mut self, first: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> examples/closures.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let res = f(10); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> examples/iterator.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/iterator.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[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] [stderr] error: could not compile `example` due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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] running `Command { std: "docker" "inspect" "a9b03d6cbbd81f2d1141d2a3e7bb12f4fcee9064ff208d2515e015b8973fe2c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b03d6cbbd81f2d1141d2a3e7bb12f4fcee9064ff208d2515e015b8973fe2c5", kill_on_drop: false }` [INFO] [stdout] a9b03d6cbbd81f2d1141d2a3e7bb12f4fcee9064ff208d2515e015b8973fe2c5