[INFO] cloning repository https://github.com/Densaugeo/Niflheim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Densaugeo/Niflheim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDensaugeo%2FNiflheim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDensaugeo%2FNiflheim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3955f149be2e66f3b6389dddf53399dd73480ac5 [INFO] checking Densaugeo/Niflheim against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDensaugeo%2FNiflheim" "/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/Densaugeo/Niflheim on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Densaugeo/Niflheim [INFO] finished tweaking git repo https://github.com/Densaugeo/Niflheim [INFO] tweaked toml for git repo https://github.com/Densaugeo/Niflheim written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Densaugeo/Niflheim 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.9 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d14ff49d5f11eb1fde0080213176ad698aff15edf297269a00e087be67237cd [INFO] running `Command { std: "docker" "start" "-a" "5d14ff49d5f11eb1fde0080213176ad698aff15edf297269a00e087be67237cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d14ff49d5f11eb1fde0080213176ad698aff15edf297269a00e087be67237cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d14ff49d5f11eb1fde0080213176ad698aff15edf297269a00e087be67237cd", kill_on_drop: false }` [INFO] [stdout] 5d14ff49d5f11eb1fde0080213176ad698aff15edf297269a00e087be67237cd [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d98be2112b768cb78c69aeb742a31f1444d91bffa6658ac966f71250d7f1d275 [INFO] running `Command { std: "docker" "start" "-a" "d98be2112b768cb78c69aeb742a31f1444d91bffa6658ac966f71250d7f1d275", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.9 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking sim v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Terrain` [INFO] [stdout] --> src/main.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use particles::{Agent, Terrain, Cell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Terrain` [INFO] [stdout] --> src/main.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use particles::{Agent, Terrain, Cell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::sleep_ms; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::sleep_ms; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | map = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | map = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PacketBuffer` [INFO] [stdout] --> src/main.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use packets::{PacketData, PacketBuffer, CellBuffer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PacketBuffer` [INFO] [stdout] --> src/main.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use packets::{PacketData, PacketBuffer, CellBuffer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PacketType` is more private than the item `PacketBuffer::push_header` [INFO] [stdout] --> src/packets.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | fn push_header(&mut self, packet_type: PacketType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PacketBuffer::push_header` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PacketType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/packets.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | enum PacketType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PacketType` is more private than the item `PacketBuffer::push_header` [INFO] [stdout] --> src/packets.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | fn push_header(&mut self, packet_type: PacketType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PacketBuffer::push_header` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PacketType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/packets.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | enum PacketType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pauli` is never read [INFO] [stdout] --> src/particles.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Species { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 17 | pub type_id: u32, [INFO] [stdout] 18 | pub pauli: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SPECIES_LIBRARY` is never used [INFO] [stdout] --> src/particles.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub static SPECIES_LIBRARY: [Species; 2] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `agent_id` is never read [INFO] [stdout] --> src/packets.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct AgentActionPacket { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 35 | pub agent_id: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pauli` is never read [INFO] [stdout] --> src/particles.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Species { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 17 | pub type_id: u32, [INFO] [stdout] 18 | pub pauli: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `agent_id` is never read [INFO] [stdout] --> src/packets.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct AgentActionPacket { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 35 | pub agent_id: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[[particles::Cell; 16]; 16]` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | map = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/particles.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | pub x: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[[particles::Cell; 16]; 16]` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | map = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/particles.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | pub x: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "d98be2112b768cb78c69aeb742a31f1444d91bffa6658ac966f71250d7f1d275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98be2112b768cb78c69aeb742a31f1444d91bffa6658ac966f71250d7f1d275", kill_on_drop: false }` [INFO] [stdout] d98be2112b768cb78c69aeb742a31f1444d91bffa6658ac966f71250d7f1d275 [INFO] checking Densaugeo/Niflheim against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDensaugeo%2FNiflheim" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Densaugeo/Niflheim on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Densaugeo/Niflheim [INFO] finished tweaking git repo https://github.com/Densaugeo/Niflheim [INFO] tweaked toml for git repo https://github.com/Densaugeo/Niflheim written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Densaugeo/Niflheim 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a0b1ded9378863da877bbd117db8c983cabb3e0e3e00a9ca2ca939e94a451fd [INFO] running `Command { std: "docker" "start" "-a" "0a0b1ded9378863da877bbd117db8c983cabb3e0e3e00a9ca2ca939e94a451fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a0b1ded9378863da877bbd117db8c983cabb3e0e3e00a9ca2ca939e94a451fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a0b1ded9378863da877bbd117db8c983cabb3e0e3e00a9ca2ca939e94a451fd", kill_on_drop: false }` [INFO] [stdout] 0a0b1ded9378863da877bbd117db8c983cabb3e0e3e00a9ca2ca939e94a451fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef444a64052523edc97b902aa2fae628c024e2b1e88998cee30155db993360cf [INFO] running `Command { std: "docker" "start" "-a" "ef444a64052523edc97b902aa2fae628c024e2b1e88998cee30155db993360cf", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.9 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking sim v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Terrain` [INFO] [stdout] --> src/main.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use particles::{Agent, Terrain, Cell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Terrain` [INFO] [stdout] --> src/main.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use particles::{Agent, Terrain, Cell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::sleep_ms; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | map = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::sleep_ms; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | map = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `spawn` [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/thread/mod.rs:672:1 [INFO] [stdout] help: try giving this closure an explicit return type [INFO] [stdout] | [INFO] [stdout] 66 | std::thread::spawn(move || -> /* Type */ { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PacketBuffer` [INFO] [stdout] --> src/main.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use packets::{PacketData, PacketBuffer, CellBuffer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `spawn` [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/thread/mod.rs:672:1 [INFO] [stdout] help: try giving this closure an explicit return type [INFO] [stdout] | [INFO] [stdout] 66 | std::thread::spawn(move || -> /* Type */ { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PacketBuffer` [INFO] [stdout] --> src/main.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use packets::{PacketData, PacketBuffer, CellBuffer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sim` (bin "sim") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sim` (bin "sim" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ef444a64052523edc97b902aa2fae628c024e2b1e88998cee30155db993360cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef444a64052523edc97b902aa2fae628c024e2b1e88998cee30155db993360cf", kill_on_drop: false }` [INFO] [stdout] ef444a64052523edc97b902aa2fae628c024e2b1e88998cee30155db993360cf