[INFO] cloning repository https://github.com/thescribe11/Rust-SST [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thescribe11/Rust-SST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthescribe11%2FRust-SST", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthescribe11%2FRust-SST'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3765b213d621b25f400804842a040ed5916fb048 [INFO] checking thescribe11/Rust-SST against master#11d2046fe9962720558cb15f72541f7fd170dec9 for pr-139493-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthescribe11%2FRust-SST" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thescribe11/Rust-SST [INFO] finished tweaking git repo https://github.com/thescribe11/Rust-SST [INFO] tweaked toml for git repo https://github.com/thescribe11/Rust-SST written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thescribe11/Rust-SST on toolchain 11d2046fe9962720558cb15f72541f7fd170dec9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thescribe11/Rust-SST 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" "+11d2046fe9962720558cb15f72541f7fd170dec9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v4.2.2 [INFO] [stderr] Downloaded terminfo v0.7.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded supports-unicode v1.0.2 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded siphasher v0.3.7 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded nix v0.22.3 [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded clearscreen v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a14f28c466eda4304074054a8ea59331443a24b5cf1978fcd90d77044d216d7 [INFO] running `Command { std: "docker" "start" "-a" "4a14f28c466eda4304074054a8ea59331443a24b5cf1978fcd90d77044d216d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a14f28c466eda4304074054a8ea59331443a24b5cf1978fcd90d77044d216d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a14f28c466eda4304074054a8ea59331443a24b5cf1978fcd90d77044d216d7", kill_on_drop: false }` [INFO] [stdout] 4a14f28c466eda4304074054a8ea59331443a24b5cf1978fcd90d77044d216d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8666aadc912fae01de3bd5917fcfe279f6f0927986b7a5614156bc8ccadd071e [INFO] running `Command { std: "docker" "start" "-a" "8666aadc912fae01de3bd5917fcfe279f6f0927986b7a5614156bc8ccadd071e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking which v4.2.2 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking supports-unicode v1.0.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking clearscreen v1.0.7 [INFO] [stderr] Checking super-star-trek v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `allow_internal_unstable` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | #![feature(allow_internal_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `allow_internal_unstable` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | #![feature(allow_internal_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `what` [INFO] [stdout] --> src/main.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | CommandType::Help(what) => {}, // TODO add help messages [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_what` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yorn` [INFO] [stdout] --> src/main.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | CommandType::Probe(yorn, mode, deltas) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_yorn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | CommandType::Probe(yorn, mode, deltas) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deltas` [INFO] [stdout] --> src/main.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | CommandType::Probe(yorn, mode, deltas) => {}, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_deltas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `what` [INFO] [stdout] --> src/main.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | CommandType::Request(what) => {}, // TODO add requests? I don't remember what this is. [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_what` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qubit` [INFO] [stdout] --> src/main.rs:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | CommandType::Transporter(qubit) => {}, // TODO add transporters [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_qubit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/main.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let distance: usize = (uni.sloc/10).abs_diff(enemy.1 / 10) + (uni.sloc%10).abs_diff(enemy.1 % 10); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sub_event` is never read [INFO] [stdout] --> src/main.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | ... sub_event = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `what` [INFO] [stdout] --> src/main.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | CommandType::Help(what) => {}, // TODO add help messages [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_what` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yorn` [INFO] [stdout] --> src/main.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | CommandType::Probe(yorn, mode, deltas) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_yorn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | CommandType::Probe(yorn, mode, deltas) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deltas` [INFO] [stdout] --> src/main.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | CommandType::Probe(yorn, mode, deltas) => {}, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_deltas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `what` [INFO] [stdout] --> src/main.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | CommandType::Request(what) => {}, // TODO add requests? I don't remember what this is. [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_what` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qubit` [INFO] [stdout] --> src/main.rs:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | CommandType::Transporter(qubit) => {}, // TODO add transporters [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_qubit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/main.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let distance: usize = (uni.sloc/10).abs_diff(enemy.1 / 10) + (uni.sloc%10).abs_diff(enemy.1 % 10); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sub_event` is never read [INFO] [stdout] --> src/main.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | ... sub_event = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kill_planet` is never used [INFO] [stdout] --> src/structs.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 519 | impl Score { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 613 | pub fn kill_planet (&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TractorBeam` is never constructed [INFO] [stdout] --> src/enums.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Event { // Time-dependent events. Add more as necessary [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 3 | TractorBeam(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/structs.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | std::mem::drop(i); // In case I want to use it later on [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 122 - std::mem::drop(i); // In case I want to use it later on [INFO] [stdout] 122 + let _ = i; // In case I want to use it later on [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kill_planet` is never used [INFO] [stdout] --> src/structs.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 519 | impl Score { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 613 | pub fn kill_planet (&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TractorBeam` is never constructed [INFO] [stdout] --> src/enums.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Event { // Time-dependent events. Add more as necessary [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 3 | TractorBeam(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/structs.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | std::mem::drop(i); // In case I want to use it later on [INFO] [stdout] | ^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 122 - std::mem::drop(i); // In case I want to use it later on [INFO] [stdout] 122 + let _ = i; // In case I want to use it later on [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, terminfo v0.7.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8666aadc912fae01de3bd5917fcfe279f6f0927986b7a5614156bc8ccadd071e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8666aadc912fae01de3bd5917fcfe279f6f0927986b7a5614156bc8ccadd071e", kill_on_drop: false }` [INFO] [stdout] 8666aadc912fae01de3bd5917fcfe279f6f0927986b7a5614156bc8ccadd071e