[INFO] fetching crate boringtun 0.3.0... [INFO] checking boringtun-0.3.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate boringtun 0.3.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate boringtun 0.3.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/.cargo/config [INFO] started tweaking crates.io crate boringtun 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate boringtun 0.3.0 [INFO] tweaked toml for crates.io crate boringtun 0.3.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate boringtun 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", 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] 9295d16bff6baacdd0f53f0eeec5c675df3bb6c200a7f510936f239216740081 [INFO] running `Command { std: "docker" "start" "-a" "9295d16bff6baacdd0f53f0eeec5c675df3bb6c200a7f510936f239216740081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9295d16bff6baacdd0f53f0eeec5c675df3bb6c200a7f510936f239216740081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9295d16bff6baacdd0f53f0eeec5c675df3bb6c200a7f510936f239216740081", kill_on_drop: false }` [INFO] [stdout] 9295d16bff6baacdd0f53f0eeec5c675df3bb6c200a7f510936f239216740081 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a930fa0eff1fb42a40438fcc3a4d5d03dfb176589ce676d8f3fb4b491e04398 [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" "7a930fa0eff1fb42a40438fcc3a4d5d03dfb176589ce676d8f3fb4b491e04398", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking boxfnonce v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking base64 v0.12.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking daemonize v0.4.1 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking boringtun v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/noise/tests/mod.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | if self.lock.compare_and_swap(true, false, Ordering::Relaxed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/noise/handshake.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | std::mem::replace(&mut self.state, state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> benches/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | black_box(secret_key.shared_key(&public_key)); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/noise/handshake.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | std::mem::replace(&mut self.state, state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/noise/handshake.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | std::mem::replace(&mut self.state, state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `aead_init` [INFO] [stdout] --> src/crypto/chacha20poly1305/mod.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | fn aead_init(&self, nonce: &[u8]) -> [u32; 16] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `seal` [INFO] [stdout] --> src/crypto/chacha20poly1305/mod.rs:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn seal(&self, nonce: &[u8], aad: &[u8], plaintext: &[u8], ciphertext: &mut [u8]) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/crypto/chacha20poly1305/mod.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn open<'a>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncorrectPacketLength` [INFO] [stdout] --> src/noise/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | IncorrectPacketLength, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WrongPacketType` [INFO] [stdout] --> src/noise/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | WrongPacketType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LockFailed` [INFO] [stdout] --> src/noise/errors.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | LockFailed, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_handshake_anon` [INFO] [stdout] --> src/noise/handshake.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn parse_handshake_anon( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_static_private` [INFO] [stdout] --> src/noise/handshake.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | fn set_static_private( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_static_private` [INFO] [stdout] --> src/noise/handshake.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | pub(crate) fn set_static_private( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `persistent_keepalive` [INFO] [stdout] --> src/noise/timers.rs:328:12 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn persistent_keepalive(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IPV4_DST_IP_OFF` [INFO] [stdout] --> src/noise/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const IPV4_DST_IP_OFF: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IPV6_DST_IP_OFF` [INFO] [stdout] --> src/noise/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | const IPV6_DST_IP_OFF: usize = 24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_static_private` [INFO] [stdout] --> src/noise/mod.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn set_static_private( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dst_address` [INFO] [stdout] --> src/noise/mod.rs:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | pub fn dst_address(packet: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/noise/handshake.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | std::mem::replace(&mut self.state, state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/noise/tests/mod.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | if self.lock.compare_and_swap(true, false, Ordering::Relaxed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/noise/handshake.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | std::mem::replace(&mut self.state, state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.79s [INFO] running `Command { std: "docker" "inspect" "7a930fa0eff1fb42a40438fcc3a4d5d03dfb176589ce676d8f3fb4b491e04398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a930fa0eff1fb42a40438fcc3a4d5d03dfb176589ce676d8f3fb4b491e04398", kill_on_drop: false }` [INFO] [stdout] 7a930fa0eff1fb42a40438fcc3a4d5d03dfb176589ce676d8f3fb4b491e04398