[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthescribe11%2FRust-SST" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thescribe11/Rust-SST on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.28 [INFO] [stderr] Downloaded supports-unicode v1.0.2 [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded phf v0.8.0 [INFO] [stderr] Downloaded phf_generator v0.8.0 [INFO] [stderr] Downloaded phf_shared v0.8.0 [INFO] [stderr] Downloaded phf_codegen v0.8.0 [INFO] [stderr] Downloaded rand_pcg v0.2.1 [INFO] [stderr] Downloaded siphasher v0.3.7 [INFO] [stderr] Downloaded getrandom v0.2.3 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded serde v1.0.127 [INFO] [stderr] Downloaded serde_derive v1.0.127 [INFO] [stderr] Downloaded terminfo v0.7.3 [INFO] [stderr] Downloaded serde_json v1.0.66 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded clearscreen v1.0.7 [INFO] [stderr] Downloaded which v4.2.2 [INFO] [stderr] Downloaded nix v0.22.3 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded libc v0.2.99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b7fb47dfefee0b547eb6cefc4c41b6668a9b4d4de28f91151bd8b02ae41c060 [INFO] running `Command { std: "docker" "start" "-a" "3b7fb47dfefee0b547eb6cefc4c41b6668a9b4d4de28f91151bd8b02ae41c060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b7fb47dfefee0b547eb6cefc4c41b6668a9b4d4de28f91151bd8b02ae41c060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b7fb47dfefee0b547eb6cefc4c41b6668a9b4d4de28f91151bd8b02ae41c060", kill_on_drop: false }` [INFO] [stdout] 3b7fb47dfefee0b547eb6cefc4c41b6668a9b4d4de28f91151bd8b02ae41c060 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 574c7c701446e6259fb563f1b85758c7e2a000468f9350762ddd78d3cd9e096e [INFO] running `Command { std: "docker" "start" "-a" "574c7c701446e6259fb563f1b85758c7e2a000468f9350762ddd78d3cd9e096e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [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] Compiling rand v0.7.3 [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)]` 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)]` 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)]` 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)]` 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)]` 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: 12 warnings emitted [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)]` 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.61s [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" "574c7c701446e6259fb563f1b85758c7e2a000468f9350762ddd78d3cd9e096e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574c7c701446e6259fb563f1b85758c7e2a000468f9350762ddd78d3cd9e096e", kill_on_drop: false }` [INFO] [stdout] 574c7c701446e6259fb563f1b85758c7e2a000468f9350762ddd78d3cd9e096e