[INFO] fetching crate onionsalt 0.4.2... [INFO] testing onionsalt-0.4.2 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate onionsalt 0.4.2 into /workspace/builds/worker-116/source [INFO] validating manifest of crates.io crate onionsalt 0.4.2 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] started tweaking crates.io crate onionsalt 0.4.2 [INFO] finished tweaking crates.io crate onionsalt 0.4.2 [INFO] tweaked toml for crates.io crate onionsalt 0.4.2 written to /workspace/builds/worker-116/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9e75c7a941e9a10f39486c56b9ce051e1f88dacca4bb9dfadd61c871461900a [INFO] running `Command { std: "docker" "start" "-a" "b9e75c7a941e9a10f39486c56b9ce051e1f88dacca4bb9dfadd61c871461900a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9e75c7a941e9a10f39486c56b9ce051e1f88dacca4bb9dfadd61c871461900a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e75c7a941e9a10f39486c56b9ce051e1f88dacca4bb9dfadd61c871461900a", kill_on_drop: false }` [INFO] [stdout] b9e75c7a941e9a10f39486c56b9ce051e1f88dacca4bb9dfadd61c871461900a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7949354c47b1ce1c9486517411265225b0cf18ba3a1cfc0cadf45867f845437 [INFO] running `Command { std: "docker" "start" "-a" "b7949354c47b1ce1c9486517411265225b0cf18ba3a1cfc0cadf45867f845437", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling arrayref v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling serde v0.6.15 [INFO] [stderr] Compiling serde_json v0.6.1 [INFO] [stderr] Compiling onionsalt v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/crypto/hex.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | b'0' ... b'9' => Some(hexit - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/crypto/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(ellipsis_inclusive_range_patterns)]` implied by `#[deny(warnings)]` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/crypto/hex.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | b'a' ... b'f' => Some(hexit - b'a' + 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypto/mod.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | try!(onetimeauth_verify(array_ref!(c, 16, 16), &c[32..], &x)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/crypto/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypto/mod.rs:786:5 [INFO] [stdout] | [INFO] [stdout] 786 | try!(onetimeauth_verify(array_ref!(c, 16, 16), &c[32..32+nauth], &x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | try!(crypto::box_open(&mut plain, payload, &response_nonce, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | try!(crypto::box_open(&mut plaintext, &ciphertext, &self.payload_nonce, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | out.payload_nonce = try!(onionbox_algorithm(&mut buffer, &mut return_key, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:354:19 [INFO] [stdout] | [INFO] [stdout] 354 | oob.routing = try!(onionbox_open_algorithm(&mut buffer, secret_key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 511 | try!(buffer.sillybox_open_afternm(AUTH_LENGTH, &crypto::Nonce([0;24]), &skey)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `Deserialize` [INFO] [stdout] --> src/crypto/mod.rs:454:29 [INFO] [stdout] | [INFO] [stdout] 454 | use serde::de::{Deserialize,Error}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/crypto/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `Deserialize` [INFO] [stdout] --> src/crypto/mod.rs:545:29 [INFO] [stdout] | [INFO] [stdout] 545 | use serde::de::{Deserialize,Error}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `Deserialize` [INFO] [stdout] --> src/crypto/mod.rs:588:29 [INFO] [stdout] | [INFO] [stdout] 588 | use serde::de::{Deserialize,Error}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/crypto/mod.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | let mut c: &mut[u32; 17] = &mut [0; 17]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/crypto/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_mut)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/crypto/mod.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | let mut g: &mut[u32; 17] = &mut [0; 17]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `onionsalt` due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "b7949354c47b1ce1c9486517411265225b0cf18ba3a1cfc0cadf45867f845437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7949354c47b1ce1c9486517411265225b0cf18ba3a1cfc0cadf45867f845437", kill_on_drop: false }` [INFO] [stdout] b7949354c47b1ce1c9486517411265225b0cf18ba3a1cfc0cadf45867f845437