[INFO] cloning repository https://github.com/Khadeeejah/Rust-journey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Khadeeejah/Rust-journey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhadeeejah%2FRust-journey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhadeeejah%2FRust-journey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d83ea5882f4c57c9262d54a256d938651c65e008 [INFO] checking Khadeeejah/Rust-journey/d83ea5882f4c57c9262d54a256d938651c65e008 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhadeeejah%2FRust-journey" "/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/Khadeeejah/Rust-journey on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Khadeeejah/Rust-journey [INFO] finished tweaking git repo https://github.com/Khadeeejah/Rust-journey [INFO] tweaked toml for git repo https://github.com/Khadeeejah/Rust-journey written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Khadeeejah/Rust-journey 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65058489cc20cfb4d6b14379fcffc9a030960ea349df09daa0c568d1c1917d60 [INFO] running `Command { std: "docker" "start" "-a" "65058489cc20cfb4d6b14379fcffc9a030960ea349df09daa0c568d1c1917d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65058489cc20cfb4d6b14379fcffc9a030960ea349df09daa0c568d1c1917d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65058489cc20cfb4d6b14379fcffc9a030960ea349df09daa0c568d1c1917d60", kill_on_drop: false }` [INFO] [stdout] 65058489cc20cfb4d6b14379fcffc9a030960ea349df09daa0c568d1c1917d60 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 933b29cbd8810a572bb7515976ffac896350b1361af2798aac01bfdb7abd82ec [INFO] running `Command { std: "docker" "start" "-a" "933b29cbd8810a572bb7515976ffac896350b1361af2798aac01bfdb7abd82ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking shadowing v0.1.0 (/opt/rustwide/workdir/chapter-3/shadowing) [INFO] [stderr] Checking numeric_operations v0.1.0 (/opt/rustwide/workdir/chapter-3/numeric_operations) [INFO] [stderr] Checking structs v0.1.0 (/opt/rustwide/workdir/chapter-5/structs) [INFO] [stderr] Checking christmas_carol v0.1.0 (/opt/rustwide/workdir/projects/christmas_carol) [INFO] [stderr] Checking hello_cargo_2 v0.1.0 (/opt/rustwide/workdir/chapter-1/hello_cargo_2) [INFO] [stderr] Checking restaurants v0.1.0 (/opt/rustwide/workdir/chapter-7/restaurants) [INFO] [stderr] Checking slice-types v0.1.0 (/opt/rustwide/workdir/chapter-4/slice-types) [INFO] [stderr] Checking variables v0.1.0 (/opt/rustwide/workdir/chapter-3/variables) [INFO] [stderr] Checking functions v0.1.0 (/opt/rustwide/workdir/chapter-3/functions) [INFO] [stderr] Checking control-flow v0.1.0 (/opt/rustwide/workdir/chapter-3/control-flow) [INFO] [stderr] Checking temperature_converter v0.1.0 (/opt/rustwide/workdir/projects/temperature_converter) [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> chapter-5/structs/src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 34 | fn main() { [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> chapter-5/structs/src/main.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 45 | fn main() { [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> chapter-5/structs/src/main.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 56 | fn main(){ [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `slice_types` [INFO] [stdout] --> chapter-4/slice-types/src/main.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | } [INFO] [stdout] | ^ consider adding a `main` function to `chapter-4/slice-types/src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> chapter-5/structs/src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 34 | fn main() { [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hello_cargo v0.1.0 (/opt/rustwide/workdir/chapter-1/hello_cargo) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> chapter-3/variables/src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | let (x, y, z) = tup; [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] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> chapter-5/structs/src/main.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 45 | fn main() { [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> chapter-3/variables/src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> chapter-5/structs/src/main.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 56 | fn main(){ [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking area_of_rectangle v0.1.0 (/opt/rustwide/workdir/projects/area_of_rectangle) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> chapter-3/variables/src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | let (x, y, z) = tup; [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: `z` [INFO] [stdout] --> chapter-3/variables/src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ownership v0.1.0 (/opt/rustwide/workdir/chapter-4/ownership) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user1` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | active: user1.active, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user1` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | username: user1.username, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user1` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | sign_in_count: user1.sign_in_count, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user1` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | ..user1 [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rust_fibonnaci v0.1.0 (/opt/rustwide/workdir/projects/rust_fibonnaci) [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Colour` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let black = Colour (0,0,0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slice-types` (bin "slice-types") due to 2 previous errors [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Point` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | let origin = Point (0,0,0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user1` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | active: user1.active, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user1` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | username: user1.username, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user1` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | sign_in_count: user1.sign_in_count, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user1` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | ..user1 [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Colour` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let black = Colour (0,0,0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Point` in this scope [INFO] [stdout] --> chapter-5/structs/src/main.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | let origin = Point (0,0,0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `structs` (bin "structs") due to 10 previous errors [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `structs` (bin "structs" test) due to 10 previous errors [INFO] [stdout] warning: function `mains` is never used [INFO] [stdout] --> chapter-4/ownership/src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn mains() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `takes_ownership` is never used [INFO] [stdout] --> chapter-4/ownership/src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn takes_ownership(some_string: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `makes_copy` is never used [INFO] [stdout] --> chapter-4/ownership/src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn makes_copy(some_integer: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mains` is never used [INFO] [stdout] --> chapter-4/ownership/src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn mains() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `takes_ownership` is never used [INFO] [stdout] --> chapter-4/ownership/src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn takes_ownership(some_string: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `makes_copy` is never used [INFO] [stdout] --> chapter-4/ownership/src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn makes_copy(some_integer: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "933b29cbd8810a572bb7515976ffac896350b1361af2798aac01bfdb7abd82ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "933b29cbd8810a572bb7515976ffac896350b1361af2798aac01bfdb7abd82ec", kill_on_drop: false }` [INFO] [stdout] 933b29cbd8810a572bb7515976ffac896350b1361af2798aac01bfdb7abd82ec