[INFO] cloning repository https://github.com/thelumiereguy/Rust_Playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thelumiereguy/Rust_Playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthelumiereguy%2FRust_Playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthelumiereguy%2FRust_Playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c50fdb232e2edc8d78a8c5d7d838a9617cfc9891 [INFO] checking thelumiereguy/Rust_Playground against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthelumiereguy%2FRust_Playground" "/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/thelumiereguy/Rust_Playground [INFO] finished tweaking git repo https://github.com/thelumiereguy/Rust_Playground [INFO] tweaked toml for git repo https://github.com/thelumiereguy/Rust_Playground written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thelumiereguy/Rust_Playground on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thelumiereguy/Rust_Playground 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] dea6849992ece57e6c86de37fbe7891000228a147d5a765f96135ad3e9e4bea1 [INFO] running `Command { std: "docker" "start" "dea6849992ece57e6c86de37fbe7891000228a147d5a765f96135ad3e9e4bea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dea6849992ece57e6c86de37fbe7891000228a147d5a765f96135ad3e9e4bea1" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dea6849992ece57e6c86de37fbe7891000228a147d5a765f96135ad3e9e4bea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dea6849992ece57e6c86de37fbe7891000228a147d5a765f96135ad3e9e4bea1" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking rust_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `detect` in `std` [INFO] [stdout] --> src/traits/traits.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::detect::__is_feature_detected::sha; [INFO] [stdout] | ^^^^^^ could not find `detect` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::variables::vars` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::variables::vars; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/moving_borrowing/moving_borrowing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | / /** [INFO] [stdout] 5 | | *In Rust, all variables which are assigned using a let statement are immutable unless otherwise specified. [INFO] [stdout] 6 | | *Immutable is a fancy term which means: [INFO] [stdout] ... | [INFO] [stdout] 9 | | */ [INFO] [stdout] | |_______^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `detect` in `std` [INFO] [stdout] --> src/traits/traits.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::detect::__is_feature_detected::sha; [INFO] [stdout] | ^^^^^^ could not find `detect` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::variables::vars` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::variables::vars; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/moving_borrowing/moving_borrowing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | / /** [INFO] [stdout] 5 | | *In Rust, all variables which are assigned using a let statement are immutable unless otherwise specified. [INFO] [stdout] 6 | | *Immutable is a fancy term which means: [INFO] [stdout] ... | [INFO] [stdout] 9 | | */ [INFO] [stdout] | |_______^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `{integer}` by `f64` [INFO] [stdout] --> src/traits/traits.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | 2 * std::f64::consts::PI * self.radius [INFO] [stdout] | ^ no implementation for `{integer} * f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul` is not implemented for `{integer}` [INFO] [stdout] help: the following other types implement trait `Mul` [INFO] [stdout] --> /rustc/dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e/library/core/src/ops/arith.rs:344:8 [INFO] [stdout] | [INFO] [stdout] = note: `f64` implements `Mul` [INFO] [stdout] ::: /rustc/dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e/library/core/src/ops/arith.rs:359:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&f64` implements `Mul` [INFO] [stdout] = note: this error originates in the macro `mul_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `{integer}` by `f64` [INFO] [stdout] --> src/traits/traits.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | 2 * std::f64::consts::PI * self.radius [INFO] [stdout] | ^ no implementation for `{integer} * f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul` is not implemented for `{integer}` [INFO] [stdout] help: the following other types implement trait `Mul` [INFO] [stdout] --> /rustc/dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e/library/core/src/ops/arith.rs:344:8 [INFO] [stdout] | [INFO] [stdout] = note: `f64` implements `Mul` [INFO] [stdout] ::: /rustc/dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e/library/core/src/ops/arith.rs:359:0 [INFO] [stdout] | [INFO] [stdout] = note: in this macro invocation [INFO] [stdout] --> /rustc/dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e/library/core/src/internal_macros.rs:22:8 [INFO] [stdout] | [INFO] [stdout] = note: `&f64` implements `Mul` [INFO] [stdout] = note: this error originates in the macro `mul_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/loops/loops.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | for x in 0..10 {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/loops/loops.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | for x in 0..10 {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/moving_borrowing/moving_borrowing.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut our_player = Player [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name1_ref` [INFO] [stdout] --> src/moving_borrowing/moving_borrowing.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let name1_ref = &name1; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name1_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name1` is never read [INFO] [stdout] --> src/moving_borrowing/moving_borrowing.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | let mut name1 = "Thomas"; [INFO] [stdout] | ^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] 15 | name1 = "Rose"; [INFO] [stdout] | -------------- `name1` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/moving_borrowing/moving_borrowing.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut our_player = Player [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name1_ref` [INFO] [stdout] --> src/moving_borrowing/moving_borrowing.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let name1_ref = &name1; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name1_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name1` is never read [INFO] [stdout] --> src/moving_borrowing/moving_borrowing.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | let mut name1 = "Thomas"; [INFO] [stdout] | ^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] 15 | name1 = "Rose"; [INFO] [stdout] | -------------- `name1` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_demo` (bin "rust_demo" test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_demo` (bin "rust_demo") due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dea6849992ece57e6c86de37fbe7891000228a147d5a765f96135ad3e9e4bea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dea6849992ece57e6c86de37fbe7891000228a147d5a765f96135ad3e9e4bea1", kill_on_drop: false }` [INFO] [stdout] dea6849992ece57e6c86de37fbe7891000228a147d5a765f96135ad3e9e4bea1