[INFO] cloning repository https://github.com/KBeKind/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/KBeKind/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKBeKind%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKBeKind%2Frust-basics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4489d8c7714b4ea83d90b96a134da230e23e876 [INFO] checking KBeKind/rust-basics against master#80399064afa4a2cd153f30d02c25f7ea0383ed65 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKBeKind%2Frust-basics" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KBeKind/rust-basics on toolchain 80399064afa4a2cd153f30d02c25f7ea0383ed65 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KBeKind/rust-basics [INFO] finished tweaking git repo https://github.com/KBeKind/rust-basics [INFO] tweaked toml for git repo https://github.com/KBeKind/rust-basics written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KBeKind/rust-basics 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" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking KBeKind/rust-basics against master#09bc67b9158392361780e779d32997f14cc75c39 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKBeKind%2Frust-basics" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KBeKind/rust-basics on toolchain 09bc67b9158392361780e779d32997f14cc75c39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KBeKind/rust-basics [INFO] finished tweaking git repo https://github.com/KBeKind/rust-basics [INFO] tweaked toml for git repo https://github.com/KBeKind/rust-basics written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KBeKind/rust-basics 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" "+09bc67b9158392361780e779d32997f14cc75c39" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking KBeKind/rust-basics against master#09bc67b9158392361780e779d32997f14cc75c39 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKBeKind%2Frust-basics" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KBeKind/rust-basics on toolchain 09bc67b9158392361780e779d32997f14cc75c39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KBeKind/rust-basics [INFO] finished tweaking git repo https://github.com/KBeKind/rust-basics [INFO] tweaked toml for git repo https://github.com/KBeKind/rust-basics written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KBeKind/rust-basics 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" "+09bc67b9158392361780e779d32997f14cc75c39" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09c34212fe9f78feaeff205943ae4d11fc9fad970a0ca7d37853285d27a31319 [INFO] running `Command { std: "docker" "start" "-a" "09c34212fe9f78feaeff205943ae4d11fc9fad970a0ca7d37853285d27a31319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09c34212fe9f78feaeff205943ae4d11fc9fad970a0ca7d37853285d27a31319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c34212fe9f78feaeff205943ae4d11fc9fad970a0ca7d37853285d27a31319", kill_on_drop: false }` [INFO] [stdout] 09c34212fe9f78feaeff205943ae4d11fc9fad970a0ca7d37853285d27a31319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+09bc67b9158392361780e779d32997f14cc75c39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ef42df2a014ee742854b87c1e752a51a0c6b36def627a8c630ed56e60f4cf9a [INFO] running `Command { std: "docker" "start" "-a" "0ef42df2a014ee742854b87c1e752a51a0c6b36def627a8c630ed56e60f4cf9a", kill_on_drop: false }` [INFO] [stderr] Checking hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/main.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | for i: i32 in 0..10 { [INFO] [stdout] | ^ --- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] | [INFO] [stdout] help: maybe write a path separator here [INFO] [stdout] | [INFO] [stdout] 76 | for i::i32 in 0..10 { [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | fn function_name(parameter_list) -> return_type { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 112 | fn function_name(self: parameter_list) -> return_type { [INFO] [stdout] | +++++ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 112 | fn function_name(parameter_list: TypeName) -> return_type { [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 112 | fn function_name(_: parameter_list) -> return_type { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/main.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | for i: i32 in 0..10 { [INFO] [stdout] | ^ --- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] | [INFO] [stdout] help: maybe write a path separator here [INFO] [stdout] | [INFO] [stdout] 76 | for i::i32 in 0..10 { [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | fn function_name(parameter_list) -> return_type { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 112 | fn function_name(self: parameter_list) -> return_type { [INFO] [stdout] | +++++ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 112 | fn function_name(parameter_list: TypeName) -> return_type { [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 112 | fn function_name(_: parameter_list) -> return_type { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Rectangle` is defined multiple times [INFO] [stdout] --> src/main.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 157 | struct Rectangle { width: u32, height: u32, [INFO] [stdout] | ---------------- previous definition of the type `Rectangle` here [INFO] [stdout] ... [INFO] [stdout] 169 | struct Rectangle { width: u32, height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Rectangle` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Rectangle` is defined multiple times [INFO] [stdout] --> src/main.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 157 | struct Rectangle { width: u32, height: u32, [INFO] [stdout] | ---------------- previous definition of the type `Rectangle` here [INFO] [stdout] ... [INFO] [stdout] 169 | struct Rectangle { width: u32, height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Rectangle` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] --> /rustc/09bc67b9158392361780e779d32997f14cc75c39/library/std/src/macros.rs:142:23 [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | println!("The average is {}", average); [INFO] [stdout] | -------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `println!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] --> /rustc/09bc67b9158392361780e779d32997f14cc75c39/library/std/src/macros.rs:142:23 [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | println!("The average is {}", average); [INFO] [stdout] | -------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `println!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `return_type` in this scope [INFO] [stdout] --> src/main.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn function_name(parameter_list) -> return_type { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `return_type` in this scope [INFO] [stdout] --> src/main.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn function_name(parameter_list) -> return_type { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `area` [INFO] [stdout] --> src/main.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | impl Rectangle { fn area(&self) -> u32 { self.width * self.height } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `area` [INFO] [stdout] ... [INFO] [stdout] 173 | impl Rectangle { fn area(&self) -> u32 { self.width * self.height } [INFO] [stdout] | --------------------- other definition for `area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `area` [INFO] [stdout] --> src/main.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | impl Rectangle { fn area(&self) -> u32 { self.width * self.height } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `area` [INFO] [stdout] ... [INFO] [stdout] 173 | impl Rectangle { fn area(&self) -> u32 { self.width * self.height } [INFO] [stdout] | --------------------- other definition for `area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let item: &str = "mango"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let item: &str = "mango"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0428, E0592. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0428, E0592. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello` (bin "hello") due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hello` (bin "hello" test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0ef42df2a014ee742854b87c1e752a51a0c6b36def627a8c630ed56e60f4cf9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef42df2a014ee742854b87c1e752a51a0c6b36def627a8c630ed56e60f4cf9a", kill_on_drop: false }` [INFO] [stdout] 0ef42df2a014ee742854b87c1e752a51a0c6b36def627a8c630ed56e60f4cf9a