[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#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjames20902%2Frustproject" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/james20902/rustproject on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "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-10/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" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d711f7a0222607a5884bad4c1325d03830da8004ec6abc818132b16ece86dc13 [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" "d711f7a0222607a5884bad4c1325d03830da8004ec6abc818132b16ece86dc13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d711f7a0222607a5884bad4c1325d03830da8004ec6abc818132b16ece86dc13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d711f7a0222607a5884bad4c1325d03830da8004ec6abc818132b16ece86dc13", kill_on_drop: false }` [INFO] [stdout] d711f7a0222607a5884bad4c1325d03830da8004ec6abc818132b16ece86dc13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de050949f702739b1730ed34ed3a0fef5ee03bb2b91161a6b15a48e28d271179 [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" "de050949f702739b1730ed34ed3a0fef5ee03bb2b91161a6b15a48e28d271179", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling 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: 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] [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.23s [INFO] running `Command { std: "docker" "inspect" "de050949f702739b1730ed34ed3a0fef5ee03bb2b91161a6b15a48e28d271179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de050949f702739b1730ed34ed3a0fef5ee03bb2b91161a6b15a48e28d271179", kill_on_drop: false }` [INFO] [stdout] de050949f702739b1730ed34ed3a0fef5ee03bb2b91161a6b15a48e28d271179