[INFO] fetching crate onionsalt 0.4.2... [INFO] checking onionsalt-0.4.2 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate onionsalt 0.4.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate onionsalt 0.4.2 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] c6925297bc63801ae4aeb2e4364581b0b692eae3b751d96010886493e0876ca5 [INFO] running `Command { std: "docker" "start" "-a" "c6925297bc63801ae4aeb2e4364581b0b692eae3b751d96010886493e0876ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6925297bc63801ae4aeb2e4364581b0b692eae3b751d96010886493e0876ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6925297bc63801ae4aeb2e4364581b0b692eae3b751d96010886493e0876ca5", kill_on_drop: false }` [INFO] [stdout] c6925297bc63801ae4aeb2e4364581b0b692eae3b751d96010886493e0876ca5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47890e5ab544457b82803172591cf891a638fa2cfeac81cefb506ef2c67fcfdd [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" "47890e5ab544457b82803172591cf891a638fa2cfeac81cefb506ef2c67fcfdd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking arrayref v0.2.2 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand v0.8.4 [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] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking serde v0.6.15 [INFO] [stderr] Checking serde_json v0.6.1 [INFO] [stderr] Checking 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[E0404]: expected trait, found struct `quickcheck::Gen` [INFO] [stdout] --> src/crypto/mod.rs:1625:21 [INFO] [stdout] | [INFO] [stdout] 1625 | fn arbitrary(g: &mut G) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `quickcheck::Gen` [INFO] [stdout] --> src/crypto/mod.rs:1643:21 [INFO] [stdout] | [INFO] [stdout] 1643 | fn arbitrary(g: &mut G) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `quickcheck::Gen` [INFO] [stdout] --> src/crypto/mod.rs:1650:21 [INFO] [stdout] | [INFO] [stdout] 1650 | fn arbitrary(g: &mut G) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `quickcheck::Gen` [INFO] [stdout] --> src/crypto/mod.rs:1668:21 [INFO] [stdout] | [INFO] [stdout] 1668 | fn arbitrary(g: &mut G) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [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: `...` range patterns are deprecated [INFO] [stdout] --> src/crypto/mod.rs:1400:18 [INFO] [stdout] | [INFO] [stdout] 1400 | b'0' ... b'9' => h - b'0', [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: `...` range patterns are deprecated [INFO] [stdout] --> src/crypto/mod.rs:1401:18 [INFO] [stdout] | [INFO] [stdout] 1401 | b'a' ... b'f' => h - 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto/mod.rs:1632:29 [INFO] [stdout] | [INFO] [stdout] 1632 | fn shrink(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [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(bare_trait_objects)]` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto/mod.rs:1657:29 [INFO] [stdout] | [INFO] [stdout] 1657 | fn shrink(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto/mod.rs:1674:29 [INFO] [stdout] | [INFO] [stdout] 1674 | fn shrink(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [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/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: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: could not compile `onionsalt` due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "47890e5ab544457b82803172591cf891a638fa2cfeac81cefb506ef2c67fcfdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47890e5ab544457b82803172591cf891a638fa2cfeac81cefb506ef2c67fcfdd", kill_on_drop: false }` [INFO] [stdout] 47890e5ab544457b82803172591cf891a638fa2cfeac81cefb506ef2c67fcfdd