[INFO] cloning repository https://github.com/ykawakamy/rust-perform-nats [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ykawakamy/rust-perform-nats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykawakamy%2Frust-perform-nats", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykawakamy%2Frust-perform-nats'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96c642485ac48d799e5e8b83ab68c46b54efeaff [INFO] building ykawakamy/rust-perform-nats against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykawakamy%2Frust-perform-nats" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ykawakamy/rust-perform-nats on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ykawakamy/rust-perform-nats [INFO] finished tweaking git repo https://github.com/ykawakamy/rust-perform-nats [INFO] tweaked toml for git repo https://github.com/ykawakamy/rust-perform-nats written to /workspace/builds/worker-76/source/Cargo.toml [INFO] crate git repo https://github.com/ykawakamy/rust-perform-nats already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "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-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88cbcb521a20aead3f4e5074c7c70e7e88a827ba61678b37434034115f5c1a2b [INFO] running `Command { std: "docker" "start" "-a" "88cbcb521a20aead3f4e5074c7c70e7e88a827ba61678b37434034115f5c1a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88cbcb521a20aead3f4e5074c7c70e7e88a827ba61678b37434034115f5c1a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88cbcb521a20aead3f4e5074c7c70e7e88a827ba61678b37434034115f5c1a2b", kill_on_drop: false }` [INFO] [stdout] 88cbcb521a20aead3f4e5074c7c70e7e88a827ba61678b37434034115f5c1a2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b7b1698c5396b2f9b8cb2fb9c462ce18c4811238e35782afb71405c9eac5188 [INFO] running `Command { std: "docker" "start" "-a" "7b7b1698c5396b2f9b8cb2fb9c462ce18c4811238e35782afb71405c9eac5188", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling ed25519 v1.1.1 [INFO] [stderr] Compiling base64-url v1.4.10 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling nuid v0.2.2 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling subtle-encoding v0.5.1 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling signatory v0.21.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling nkeys v0.0.11 [INFO] [stderr] Compiling nats v0.9.18 [INFO] [stderr] Compiling rust-perform-nats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/ping_serializer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | for i in 0..20 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sendTick` [INFO] [stdout] --> src/ping_serializer.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | sendTick: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `receiveTick` [INFO] [stdout] --> src/ping_serializer.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | receiveTick: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `latency` [INFO] [stdout] --> src/ping_serializer.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | latency: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | nc.publish(supplier.get(), serializer.serialize(&ping_serializer::createPing(seq), 24)); [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] [INFO] [stdout] [INFO] [stdout] warning: variable `msgSize` should have a snake case name [INFO] [stdout] --> src/ping_serializer.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn serialize(&self, ping: &Ping, msgSize: usize) -> impl AsRef<[u8]> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `msg_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createPing` should have a snake case name [INFO] [stdout] --> src/ping_serializer.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn createPing(seq : i32) -> Ping { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `sendTick` should have a snake case name [INFO] [stdout] --> src/ping_serializer.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | sendTick: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `send_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `receiveTick` should have a snake case name [INFO] [stdout] --> src/ping_serializer.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | receiveTick: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `receive_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.57s [INFO] running `Command { std: "docker" "inspect" "7b7b1698c5396b2f9b8cb2fb9c462ce18c4811238e35782afb71405c9eac5188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b7b1698c5396b2f9b8cb2fb9c462ce18c4811238e35782afb71405c9eac5188", kill_on_drop: false }` [INFO] [stdout] 7b7b1698c5396b2f9b8cb2fb9c462ce18c4811238e35782afb71405c9eac5188 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f0f958a3b1e31d6a9f8956428b80531c7ea8dcc406a1c3d0329ecb98be129c2 [INFO] running `Command { std: "docker" "start" "-a" "3f0f958a3b1e31d6a9f8956428b80531c7ea8dcc406a1c3d0329ecb98be129c2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-perform-nats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/ping_serializer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | for i in 0..20 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sendTick` [INFO] [stdout] --> src/ping_serializer.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | sendTick: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `receiveTick` [INFO] [stdout] --> src/ping_serializer.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | receiveTick: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `latency` [INFO] [stdout] --> src/ping_serializer.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | latency: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | nc.publish(supplier.get(), serializer.serialize(&ping_serializer::createPing(seq), 24)); [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] [INFO] [stdout] [INFO] [stdout] warning: variable `msgSize` should have a snake case name [INFO] [stdout] --> src/ping_serializer.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn serialize(&self, ping: &Ping, msgSize: usize) -> impl AsRef<[u8]> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `msg_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createPing` should have a snake case name [INFO] [stdout] --> src/ping_serializer.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn createPing(seq : i32) -> Ping { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `sendTick` should have a snake case name [INFO] [stdout] --> src/ping_serializer.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | sendTick: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `send_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `receiveTick` should have a snake case name [INFO] [stdout] --> src/ping_serializer.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | receiveTick: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `receive_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.68s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_perform_nats-097c4e2b679b43d8) [INFO] running `Command { std: "docker" "inspect" "3f0f958a3b1e31d6a9f8956428b80531c7ea8dcc406a1c3d0329ecb98be129c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f0f958a3b1e31d6a9f8956428b80531c7ea8dcc406a1c3d0329ecb98be129c2", kill_on_drop: false }` [INFO] [stdout] 3f0f958a3b1e31d6a9f8956428b80531c7ea8dcc406a1c3d0329ecb98be129c2