[INFO] cloning repository https://github.com/iMarv/rs-minecraft-exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iMarv/rs-minecraft-exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiMarv%2Frs-minecraft-exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiMarv%2Frs-minecraft-exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79b65325f7fa0037a0520150870e80ec42dbbe9b [INFO] testing iMarv/rs-minecraft-exporter against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiMarv%2Frs-minecraft-exporter" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iMarv/rs-minecraft-exporter on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/rust-toolchain [INFO] started tweaking git repo https://github.com/iMarv/rs-minecraft-exporter [INFO] finished tweaking git repo https://github.com/iMarv/rs-minecraft-exporter [INFO] tweaked toml for git repo https://github.com/iMarv/rs-minecraft-exporter written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/iMarv/rs-minecraft-exporter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 005349d9d7ddf0312c4881f5715b709ce5b70898a1308cbb7c202d0cae3630a5 [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" "005349d9d7ddf0312c4881f5715b709ce5b70898a1308cbb7c202d0cae3630a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "005349d9d7ddf0312c4881f5715b709ce5b70898a1308cbb7c202d0cae3630a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "005349d9d7ddf0312c4881f5715b709ce5b70898a1308cbb7c202d0cae3630a5", kill_on_drop: false }` [INFO] [stdout] 005349d9d7ddf0312c4881f5715b709ce5b70898a1308cbb7c202d0cae3630a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5be2341d03c9fa7b6ad86d818a68d9c0571d76f1605a28c6d62165104c34be99 [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" "5be2341d03c9fa7b6ad86d818a68d9c0571d76f1605a28c6d62165104c34be99", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling protobuf v2.14.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling procfs v0.7.8 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling simple_logger v1.6.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling thiserror-impl v1.0.16 [INFO] [stderr] Compiling tokio v0.2.20 [INFO] [stderr] Compiling thiserror v1.0.16 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling hematite-nbt v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling rs-minecraft-exporter v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/player.rs:14:63 [INFO] [stdout] | [INFO] [stdout] 14 | static ref PLAYER_NAMES: Mutex> = { Mutex::new(HashMap::new()) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 14 - static ref PLAYER_NAMES: Mutex> = { Mutex::new(HashMap::new()) }; [INFO] [stdout] 14 + static ref PLAYER_NAMES: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `changed_to_at` [INFO] [stdout] --> src/player.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | changed_to_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "5be2341d03c9fa7b6ad86d818a68d9c0571d76f1605a28c6d62165104c34be99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5be2341d03c9fa7b6ad86d818a68d9c0571d76f1605a28c6d62165104c34be99", kill_on_drop: false }` [INFO] [stdout] 5be2341d03c9fa7b6ad86d818a68d9c0571d76f1605a28c6d62165104c34be99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c9f29d6c2dba0644d93429d6e167edf05dad33670cf49b5828cdefbd9cc9bec [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" "7c9f29d6c2dba0644d93429d6e167edf05dad33670cf49b5828cdefbd9cc9bec", kill_on_drop: false }` [INFO] [stderr] Compiling rs-minecraft-exporter v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/player.rs:14:63 [INFO] [stdout] | [INFO] [stdout] 14 | static ref PLAYER_NAMES: Mutex> = { Mutex::new(HashMap::new()) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 14 - static ref PLAYER_NAMES: Mutex> = { Mutex::new(HashMap::new()) }; [INFO] [stdout] 14 + static ref PLAYER_NAMES: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `changed_to_at` [INFO] [stdout] --> src/player.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | changed_to_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.55s [INFO] running `Command { std: "docker" "inspect" "7c9f29d6c2dba0644d93429d6e167edf05dad33670cf49b5828cdefbd9cc9bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c9f29d6c2dba0644d93429d6e167edf05dad33670cf49b5828cdefbd9cc9bec", kill_on_drop: false }` [INFO] [stdout] 7c9f29d6c2dba0644d93429d6e167edf05dad33670cf49b5828cdefbd9cc9bec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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] 4b58df72f8fadbad65eb008c7b94b814a900098983bf5c247242b5516adcd1f6 [INFO] running `Command { std: "docker" "start" "-a" "4b58df72f8fadbad65eb008c7b94b814a900098983bf5c247242b5516adcd1f6", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stdout] running 5 tests [INFO] [stderr] --> src/player.rs:14:63 [INFO] [stderr] | [INFO] [stderr] 14 | static ref PLAYER_NAMES: Mutex> = { Mutex::new(HashMap::new()) }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 14 - static ref PLAYER_NAMES: Mutex> = { Mutex::new(HashMap::new()) }; [INFO] [stderr] 14 + static ref PLAYER_NAMES: Mutex> = Mutex::new(HashMap::new()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `changed_to_at` [INFO] [stderr] --> src/player.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | changed_to_at: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rs-minecraft-exporter` (bin "rs-minecraft-exporter" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rs_minecraft_exporter-e9668e4d403c854b) [INFO] [stdout] test prometheus_handler::stat_cache::tests::set_gauge::should_insert_new_stat ... ok [INFO] [stdout] test prometheus_handler::stat_cache::tests::set_counter::should_update_existing_stat ... ok [INFO] [stdout] test prometheus_handler::stat_cache::tests::get_category_metadata::should_remove_prefix ... ok [INFO] [stdout] test prometheus_handler::stat_cache::tests::set_gauge::should_update_existing_stat ... ok [INFO] [stdout] test prometheus_handler::stat_cache::tests::set_counter::should_insert_new_stat ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4b58df72f8fadbad65eb008c7b94b814a900098983bf5c247242b5516adcd1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b58df72f8fadbad65eb008c7b94b814a900098983bf5c247242b5516adcd1f6", kill_on_drop: false }` [INFO] [stdout] 4b58df72f8fadbad65eb008c7b94b814a900098983bf5c247242b5516adcd1f6