[INFO] cloning repository https://github.com/james20902/rustproject [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/james20902/rustproject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjames20902%2Frustproject", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjames20902%2Frustproject'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7897acf224789c97875ce7d4c4ff30b5609b5052 [INFO] checking james20902/rustproject against try#353a0a223066e9f46a1d935f2271a26c3c5002bb for pr-75180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjames20902%2Frustproject" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/james20902/rustproject on toolchain 353a0a223066e9f46a1d935f2271a26c3c5002bb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/james20902/rustproject [INFO] finished tweaking git repo https://github.com/james20902/rustproject [INFO] tweaked toml for git repo https://github.com/james20902/rustproject written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/james20902/rustproject already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f6cbeb15ddb1f91d67f8fc554ba041855e4d7faf051abdc1baa61cf341178f9 [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" "8f6cbeb15ddb1f91d67f8fc554ba041855e4d7faf051abdc1baa61cf341178f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f6cbeb15ddb1f91d67f8fc554ba041855e4d7faf051abdc1baa61cf341178f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f6cbeb15ddb1f91d67f8fc554ba041855e4d7faf051abdc1baa61cf341178f9", kill_on_drop: false }` [INFO] [stdout] 8f6cbeb15ddb1f91d67f8fc554ba041855e4d7faf051abdc1baa61cf341178f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de8a3f1af26768217b78e68ead391b325ca018750a6186d515ec5dcbc08e481f [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" "de8a3f1af26768217b78e68ead391b325ca018750a6186d515ec5dcbc08e481f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking rustproject v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `no3` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut no3 = "eee err"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no2` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let no2 = no2.trim(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_no2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scal1` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let scal1 : u32 = 2736198; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scal1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scal2` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let scal2 : f64 = 3.1415926535897932382; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scal2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scal3` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let scal3 : bool = false; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scal3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scal4` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let scal4 : char = 'E'; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scal4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut no3 = "eee err"; [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / io::stdin() [INFO] [stdout] 16 | | .read_line(&mut input); [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `no1` should have an upper case name [INFO] [stdout] --> src/main.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | const no1 : u8 = 32; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `NO1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exampleLogic` should have a snake case name [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn exampleLogic(x: i32){ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `example_logic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no3` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut no3 = "eee err"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no2` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let no2 = no2.trim(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_no2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scal1` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let scal1 : u32 = 2736198; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scal1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scal2` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let scal2 : f64 = 3.1415926535897932382; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scal2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scal3` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let scal3 : bool = false; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scal3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scal4` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let scal4 : char = 'E'; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scal4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut no3 = "eee err"; [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: constant is never used: `no1` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | const no1 : u8 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / io::stdin() [INFO] [stdout] 16 | | .read_line(&mut input); [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `no1` should have an upper case name [INFO] [stdout] --> src/main.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | const no1 : u8 = 32; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `NO1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exampleLogic` should have a snake case name [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn exampleLogic(x: i32){ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `example_logic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.50s [INFO] running `Command { std: "docker" "inspect" "de8a3f1af26768217b78e68ead391b325ca018750a6186d515ec5dcbc08e481f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8a3f1af26768217b78e68ead391b325ca018750a6186d515ec5dcbc08e481f", kill_on_drop: false }` [INFO] [stdout] de8a3f1af26768217b78e68ead391b325ca018750a6186d515ec5dcbc08e481f