[INFO] cloning repository https://github.com/Jeordman/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/Jeordman/rust_basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeordman%2Frust_basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeordman%2Frust_basics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb6d646e580626f4967fdf05a9c6d973b7aefa31 [INFO] checking Jeordman/rust_basics against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeordman%2Frust_basics" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jeordman/rust_basics [INFO] finished tweaking git repo https://github.com/Jeordman/rust_basics [INFO] tweaked toml for git repo https://github.com/Jeordman/rust_basics written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jeordman/rust_basics on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jeordman/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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "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 Jeordman/rust_basics against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeordman%2Frust_basics" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jeordman/rust_basics [INFO] finished tweaking git repo https://github.com/Jeordman/rust_basics [INFO] tweaked toml for git repo https://github.com/Jeordman/rust_basics written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jeordman/rust_basics on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jeordman/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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1f05c091be25cd9b07d16e69725c0d97191a2360a0324f09b1e97473f3430f8 [INFO] running `Command { std: "docker" "start" "-a" "e1f05c091be25cd9b07d16e69725c0d97191a2360a0324f09b1e97473f3430f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1f05c091be25cd9b07d16e69725c0d97191a2360a0324f09b1e97473f3430f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f05c091be25cd9b07d16e69725c0d97191a2360a0324f09b1e97473f3430f8", kill_on_drop: false }` [INFO] [stdout] e1f05c091be25cd9b07d16e69725c0d97191a2360a0324f09b1e97473f3430f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e11a86b4efba25b2dde85036757acc495259cecbaf12769c0ce07121e262b856 [INFO] running `Command { std: "docker" "start" "-a" "e11a86b4efba25b2dde85036757acc495259cecbaf12769c0ce07121e262b856", kill_on_drop: false }` [INFO] [stderr] Checking first v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `age` is never read [INFO] [stdout] --> src/var.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut age = 24; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_name` [INFO] [stdout] --> src/var.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | let ( my_name, my_age ) = ("Jeordin", 24); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_age` [INFO] [stdout] --> src/var.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let ( my_name, my_age ) = ("Jeordin", 24); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `age` is never read [INFO] [stdout] --> src/var.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut age = 24; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_name` [INFO] [stdout] --> src/var.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | let ( my_name, my_age ) = ("Jeordin", 24); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_age` [INFO] [stdout] --> src/var.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let ( my_name, my_age ) = ("Jeordin", 24); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_of_age` [INFO] [stdout] --> src/conditionals.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let is_of_age = if age >= 21 {true} else {false}; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_of_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_of_age` [INFO] [stdout] --> src/conditionals.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let is_of_age = if age >= 21 {true} else {false}; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_of_age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_nums` [INFO] [stdout] --> src/functions.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let add_nums = |n1: i32, n2: i32| n1 + n2 + n3; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greet` [INFO] [stdout] --> src/functions.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn greet(greet: &str, name: &str) { } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_greet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/functions.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | fn greet(greet: &str, name: &str) { } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr2` [INFO] [stdout] --> src/pointers.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let arr2 = arr1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arr2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_nums` [INFO] [stdout] --> src/functions.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let add_nums = |n1: i32, n2: i32| n1 + n2 + n3; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greet` [INFO] [stdout] --> src/functions.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn greet(greet: &str, name: &str) { } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_greet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/functions.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | fn greet(greet: &str, name: &str) { } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr2` [INFO] [stdout] --> src/pointers.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let arr2 = arr1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arr2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/structs.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut p = Person::new("John", "Doe"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/structs.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut p = Person::new("John", "Doe"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structs.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut p = Person::new("John", "Doe"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greet` is never used [INFO] [stdout] --> src/functions.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | fn greet(greet: &str, name: &str) { } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/functions.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn add(n1: i32, n2: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_name` and `last_name` are never read [INFO] [stdout] --> src/structs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structs.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut p = Person::new("John", "Doe"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `full_name` is never used [INFO] [stdout] --> src/structs.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Person { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn full_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greet` is never used [INFO] [stdout] --> src/functions.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | fn greet(greet: &str, name: &str) { } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/functions.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn add(n1: i32, n2: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_name` and `last_name` are never read [INFO] [stdout] --> src/structs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `full_name` is never used [INFO] [stdout] --> src/structs.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Person { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn full_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "e11a86b4efba25b2dde85036757acc495259cecbaf12769c0ce07121e262b856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e11a86b4efba25b2dde85036757acc495259cecbaf12769c0ce07121e262b856", kill_on_drop: false }` [INFO] [stdout] e11a86b4efba25b2dde85036757acc495259cecbaf12769c0ce07121e262b856