[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 master#119d2a1a98fe87d4ae6cabf12134a0ef2fb95851 for pr-75180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjames20902%2Frustproject" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/james20902/rustproject on toolchain 119d2a1a98fe87d4ae6cabf12134a0ef2fb95851 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+119d2a1a98fe87d4ae6cabf12134a0ef2fb95851" "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-12/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" "+119d2a1a98fe87d4ae6cabf12134a0ef2fb95851" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+119d2a1a98fe87d4ae6cabf12134a0ef2fb95851" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ced53fd8ed3cfcb317942bf771e1b63473d00c971ac968eb34f98a7e1d494692 [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" "ced53fd8ed3cfcb317942bf771e1b63473d00c971ac968eb34f98a7e1d494692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ced53fd8ed3cfcb317942bf771e1b63473d00c971ac968eb34f98a7e1d494692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ced53fd8ed3cfcb317942bf771e1b63473d00c971ac968eb34f98a7e1d494692", kill_on_drop: false }` [INFO] [stdout] ced53fd8ed3cfcb317942bf771e1b63473d00c971ac968eb34f98a7e1d494692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+119d2a1a98fe87d4ae6cabf12134a0ef2fb95851" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d9c6851e96c4ab9389c506c714b4c02aaac1777ccedfea5082251953abda8ddd [INFO] running `Command { std: "docker" "start" "-a" "d9c6851e96c4ab9389c506c714b4c02aaac1777ccedfea5082251953abda8ddd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 10 warnings emitted [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.63s [INFO] running `Command { std: "docker" "inspect" "d9c6851e96c4ab9389c506c714b4c02aaac1777ccedfea5082251953abda8ddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9c6851e96c4ab9389c506c714b4c02aaac1777ccedfea5082251953abda8ddd", kill_on_drop: false }` [INFO] [stdout] d9c6851e96c4ab9389c506c714b4c02aaac1777ccedfea5082251953abda8ddd