[INFO] cloning repository https://github.com/iameva/boardbots-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iameva/boardbots-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiameva%2Fboardbots-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiameva%2Fboardbots-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 086843d02661324e3a7143b71bc0a0ba0160de4d [INFO] testing iameva/boardbots-rust against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiameva%2Fboardbots-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iameva/boardbots-rust on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iameva/boardbots-rust [INFO] finished tweaking git repo https://github.com/iameva/boardbots-rust [INFO] tweaked toml for git repo https://github.com/iameva/boardbots-rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/iameva/boardbots-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b882324ea4b194e6304b4d5e26998cf811513b8e3a715fbaed9a3d6be9f16b2 [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" "5b882324ea4b194e6304b4d5e26998cf811513b8e3a715fbaed9a3d6be9f16b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b882324ea4b194e6304b4d5e26998cf811513b8e3a715fbaed9a3d6be9f16b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b882324ea4b194e6304b4d5e26998cf811513b8e3a715fbaed9a3d6be9f16b2", kill_on_drop: false }` [INFO] [stdout] 5b882324ea4b194e6304b4d5e26998cf811513b8e3a715fbaed9a3d6be9f16b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd88477fad41eedb22b7952e44b4daa7b50d82a0fd3e2d810ef110ad9f21c8a2 [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" "dd88477fad41eedb22b7952e44b4daa7b50d82a0fd3e2d810ef110ad9f21c8a2", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.41 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling tokio v0.2.17 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling warp v0.2.2 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling quoridor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mv` [INFO] [stdout] --> src/quoridor.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn is_valid(&self, mv: &Move) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Draw` [INFO] [stdout] --> src/quoridor.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | Draw, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Winner` [INFO] [stdout] --> src/quoridor.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | Winner(Player), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/quoridor/printer.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | write!(&mut result, "{}", c); [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/quoridor/printer.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | write!(&mut result, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/quoridor/printer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | write!(&mut result, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/quoridor/printer.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | write!(&mut result, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 40s [INFO] running `Command { std: "docker" "inspect" "dd88477fad41eedb22b7952e44b4daa7b50d82a0fd3e2d810ef110ad9f21c8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd88477fad41eedb22b7952e44b4daa7b50d82a0fd3e2d810ef110ad9f21c8a2", kill_on_drop: false }` [INFO] [stdout] dd88477fad41eedb22b7952e44b4daa7b50d82a0fd3e2d810ef110ad9f21c8a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--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] a01052e08dc5225b03e81715c8385dfb7936da5b78de5ec0f731306b25e3d135 [INFO] running `Command { std: "docker" "start" "-a" "a01052e08dc5225b03e81715c8385dfb7936da5b78de5ec0f731306b25e3d135", kill_on_drop: false }` [INFO] [stderr] Compiling quoridor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mv` [INFO] [stdout] --> src/quoridor.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn is_valid(&self, mv: &Move) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Draw` [INFO] [stdout] --> src/quoridor.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | Draw, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Winner` [INFO] [stdout] --> src/quoridor.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | Winner(Player), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/quoridor/printer.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | write!(&mut result, "{}", c); [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/quoridor/printer.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | write!(&mut result, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/quoridor/printer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | write!(&mut result, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/quoridor/printer.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | write!(&mut result, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "a01052e08dc5225b03e81715c8385dfb7936da5b78de5ec0f731306b25e3d135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a01052e08dc5225b03e81715c8385dfb7936da5b78de5ec0f731306b25e3d135", kill_on_drop: false }` [INFO] [stdout] a01052e08dc5225b03e81715c8385dfb7936da5b78de5ec0f731306b25e3d135 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", 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] cc12d1fa1c7fc0d4f7036111230bf202eaf38ac155c8b5bcca5f2503164b71bd [INFO] running `Command { std: "docker" "start" "-a" "cc12d1fa1c7fc0d4f7036111230bf202eaf38ac155c8b5bcca5f2503164b71bd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/main.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::{self, Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mv` [INFO] [stderr] --> src/quoridor.rs:57:22 [INFO] [stderr] | [INFO] [stderr] 57 | fn is_valid(&self, mv: &Move) -> bool { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_mv` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Draw` [INFO] [stderr] --> src/quoridor.rs:49:3 [INFO] [stderr] | [INFO] [stderr] 49 | Draw, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Winner` [INFO] [stderr] --> src/quoridor.rs:50:3 [INFO] [stderr] | [INFO] [stderr] 50 | Winner(Player), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/quoridor/printer.rs:52:11 [INFO] [stderr] | [INFO] [stderr] 52 | write!(&mut result, "{}", c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/quoridor/printer.rs:55:11 [INFO] [stderr] | [INFO] [stderr] 55 | write!(&mut result, " "); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/quoridor/printer.rs:58:7 [INFO] [stderr] | [INFO] [stderr] 58 | write!(&mut result, " "); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/quoridor/printer.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | write!(&mut result, "\n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/quoridor-dfa908afac5d31a5 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc12d1fa1c7fc0d4f7036111230bf202eaf38ac155c8b5bcca5f2503164b71bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc12d1fa1c7fc0d4f7036111230bf202eaf38ac155c8b5bcca5f2503164b71bd", kill_on_drop: false }` [INFO] [stdout] cc12d1fa1c7fc0d4f7036111230bf202eaf38ac155c8b5bcca5f2503164b71bd