[INFO] cloning repository https://github.com/theatlasroom/rust-learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theatlasroom/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheatlasroom%2Frust-learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheatlasroom%2Frust-learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d4a390a3ace3085dbcc821e2fb7899f7a668a1c [INFO] testing theatlasroom/rust-learning against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheatlasroom%2Frust-learning" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theatlasroom/rust-learning on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theatlasroom/rust-learning [INFO] finished tweaking git repo https://github.com/theatlasroom/rust-learning [INFO] tweaked toml for git repo https://github.com/theatlasroom/rust-learning written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/theatlasroom/rust-learning already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38f837deab1708233b28b42748b92e0982e9cbe9d60caa139252d9367cf5590d [INFO] running `Command { std: "docker" "start" "-a" "38f837deab1708233b28b42748b92e0982e9cbe9d60caa139252d9367cf5590d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38f837deab1708233b28b42748b92e0982e9cbe9d60caa139252d9367cf5590d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f837deab1708233b28b42748b92e0982e9cbe9d60caa139252d9367cf5590d", kill_on_drop: false }` [INFO] [stdout] 38f837deab1708233b28b42748b92e0982e9cbe9d60caa139252d9367cf5590d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad435abc0cb1592077ea7c1457ee24a6ad0981f333688f2dee986d61f16fac24 [INFO] running `Command { std: "docker" "start" "-a" "ad435abc0cb1592077ea7c1457ee24a6ad0981f333688f2dee986d61f16fac24", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `dice_roll` is never read [INFO] [stdout] --> src/bin/dice_roll.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut dice_roll = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/bin/primitives.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | println!('\u{0024}'); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 3 | println!("{}", '\u{0024}'); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0530]: match bindings cannot shadow tuple variants [INFO] [stdout] --> src/bin/file_io.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Err => println!("Error\n{:?}", handle), [INFO] [stdout] | ^^^ cannot be named the same as a tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/bin/file_io.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | Err => println!("Error\n{:?}", handle), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/bin/primitives.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | println!('\u{00A5}'); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 4 | println!("{}", '\u{00A5}'); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/bin/primitives.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | println!('\u{26A1}'); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 5 | println!("{}", '\u{26A1}'); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/bin/primitives.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | println!('\u{2600}'); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 6 | println!("{}", '\u{2600}'); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/bin/primitives.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | println!('\u{99}'); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 7 | println!("{}", '\u{99}'); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `text_in_file` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `src/bin/text_in_file.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `learning` due to 6 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `divide` [INFO] [stdout] --> src/bin/matrix_math.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn divide(&self, scalar: f64) -> Matrix2d { [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: `multiply` [INFO] [stdout] --> src/bin/matrix_math.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn multiply(&self, scalar: f64) -> Matrix2d { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scalar_multiply` [INFO] [stdout] --> src/bin/matrix_math.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn scalar_multiply(&self) -> f64 { unimplemented!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `determinant` [INFO] [stdout] --> src/bin/matrix_math.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn determinant(&self) -> f64 { unimplemented!() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `text_in_input` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `src/bin/text_in_input.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/file_io.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut handle = match fs::File::open(f){ [INFO] [stdout] | ----------------- this expression has type `Result` [INFO] [stdout] 27 | Some(handle) => println!("File\n{:?}", handle), [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0530. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ad435abc0cb1592077ea7c1457ee24a6ad0981f333688f2dee986d61f16fac24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad435abc0cb1592077ea7c1457ee24a6ad0981f333688f2dee986d61f16fac24", kill_on_drop: false }` [INFO] [stdout] ad435abc0cb1592077ea7c1457ee24a6ad0981f333688f2dee986d61f16fac24