[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] checking theatlasroom/rust-learning against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheatlasroom%2Frust-learning" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theatlasroom/rust-learning on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-12/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.3.15 [INFO] [stderr] Downloaded libc v0.2.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6300b59a23db1cb6eb1794f94b6ad3110f67fa13411b7784114d9ea44345a525 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6300b59a23db1cb6eb1794f94b6ad3110f67fa13411b7784114d9ea44345a525", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6300b59a23db1cb6eb1794f94b6ad3110f67fa13411b7784114d9ea44345a525", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6300b59a23db1cb6eb1794f94b6ad3110f67fa13411b7784114d9ea44345a525", kill_on_drop: false }` [INFO] [stdout] 6300b59a23db1cb6eb1794f94b6ad3110f67fa13411b7784114d9ea44345a525 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85d16596998564dd84bd4fe9d6982e0dfad9966c662440e6c9ab394f05066e99 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "85d16596998564dd84bd4fe9d6982e0dfad9966c662440e6c9ab394f05066e99", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking learning v0.1.0 (/opt/rustwide/workdir) [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] warning: value assigned to `dice_roll` is never read [INFO] [stdout] --> src/bin/dice_roll.rs:48:9 [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[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] warning: 1 warning emitted [INFO] [stdout] [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[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] warning: 4 warnings emitted [INFO] [stdout] [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] 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] [stderr] error: could not compile `learning` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] [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] 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] warning: 4 warnings emitted [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: 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] warning: value assigned to `dice_roll` is never read [INFO] [stdout] --> src/bin/dice_roll.rs:48:9 [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "85d16596998564dd84bd4fe9d6982e0dfad9966c662440e6c9ab394f05066e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d16596998564dd84bd4fe9d6982e0dfad9966c662440e6c9ab394f05066e99", kill_on_drop: false }` [INFO] [stdout] 85d16596998564dd84bd4fe9d6982e0dfad9966c662440e6c9ab394f05066e99