[INFO] cloning repository https://github.com/Temdog007/array-map [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Temdog007/array-map" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTemdog007%2Farray-map", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTemdog007%2Farray-map'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 171cc6f0e5f18346fe0d47455a1df659b6649c3e [INFO] checking Temdog007/array-map against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTemdog007%2Farray-map" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Temdog007/array-map on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Temdog007/array-map [INFO] finished tweaking git repo https://github.com/Temdog007/array-map [INFO] tweaked toml for git repo https://github.com/Temdog007/array-map written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Temdog007/array-map already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28d78fabe000823332dc0175863d88777dfe801249d8ee4eef783b05a10dba64 [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" "28d78fabe000823332dc0175863d88777dfe801249d8ee4eef783b05a10dba64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28d78fabe000823332dc0175863d88777dfe801249d8ee4eef783b05a10dba64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28d78fabe000823332dc0175863d88777dfe801249d8ee4eef783b05a10dba64", kill_on_drop: false }` [INFO] [stdout] 28d78fabe000823332dc0175863d88777dfe801249d8ee4eef783b05a10dba64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--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] 05cfe97fb24e845b75d3bcfdf5cf75fa47a4dcc07b660843ece42b5dea6940d5 [INFO] running `Command { std: "docker" "start" "-a" "05cfe97fb24e845b75d3bcfdf5cf75fa47a4dcc07b660843ece42b5dea6940d5", kill_on_drop: false }` [INFO] [stderr] Checking array-map v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get(&self, mut k: $key) -> Option<&$value> { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 219 | make_map!(Map, u32, u32, 4, 4, 4); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get(&self, mut k: $key) -> Option<&$value> { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 221 | make_map!(Map2, u16, u16, 32, 32, 32); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | make_map!(Map, u32, u32, 4, 4, 4); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | make_map!(Map2, u16, u16, 32, 32, 32); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/lib.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get(&self, mut k: $key) -> Option<&$value> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | make_map!(Map2, u16, u16, 32, 32, 32); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/lib.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | make_map!(Map2, u16, u16, 32, 32, 32); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> src/lib.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | make_map!(Map2, u16, u16, 32, 32, 32); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_map_test1` [INFO] [stdout] --> src/lib.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | fn do_map_test1>(map: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_map_test2` [INFO] [stdout] --> src/lib.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 346 | fn do_map_test2>(map: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_map_test3` [INFO] [stdout] --> src/lib.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | fn do_map_test3>(map: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Map` should have a snake case name [INFO] [stdout] --> src/lib.rs:219:15 [INFO] [stdout] | [INFO] [stdout] 219 | make_map!(Map, u32, u32, 4, 4, 4); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Map2` should have a snake case name [INFO] [stdout] --> src/lib.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | make_map!(Map2, u16, u16, 32, 32, 32); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `map2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "05cfe97fb24e845b75d3bcfdf5cf75fa47a4dcc07b660843ece42b5dea6940d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05cfe97fb24e845b75d3bcfdf5cf75fa47a4dcc07b660843ece42b5dea6940d5", kill_on_drop: false }` [INFO] [stdout] 05cfe97fb24e845b75d3bcfdf5cf75fa47a4dcc07b660843ece42b5dea6940d5