[INFO] fetching crate onionsalt 0.4.2... [INFO] checking onionsalt-0.4.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate onionsalt 0.4.2 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate onionsalt 0.4.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding arrayref v0.2.2 (available: v0.3.9) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] [stderr] Adding serde v0.6.15 (available: v1.0.219) [INFO] [stderr] Adding serde_json v0.6.1 (available: v1.0.143) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arrayref v0.2.2 [INFO] [stderr] Downloaded serde v0.6.15 [INFO] [stderr] Downloaded serde_json v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a316da7de6c1a2eac69df67edd441bbdf5c41d74384d377a4c62c84400acc8ca [INFO] running `Command { std: "docker" "start" "-a" "a316da7de6c1a2eac69df67edd441bbdf5c41d74384d377a4c62c84400acc8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a316da7de6c1a2eac69df67edd441bbdf5c41d74384d377a4c62c84400acc8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a316da7de6c1a2eac69df67edd441bbdf5c41d74384d377a4c62c84400acc8ca", kill_on_drop: false }` [INFO] [stdout] a316da7de6c1a2eac69df67edd441bbdf5c41d74384d377a4c62c84400acc8ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32ec29e84da62fdbef611e80c8dc6a94dfae51368289ac50768c7b3364aef490 [INFO] running `Command { std: "docker" "start" "-a" "32ec29e84da62fdbef611e80c8dc6a94dfae51368289ac50768c7b3364aef490", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking arrayref v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking serde v0.6.15 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking serde_json v0.6.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [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] = 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] 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] [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: `#[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: `#[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: `#[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] [stderr] error: could not compile `onionsalt` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] = 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] 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] [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: `#[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: 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[E0049]: associated function `arbitrary` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/crypto/mod.rs:1625:18 [INFO] [stdout] | [INFO] [stdout] 1625 | fn arbitrary(g: &mut G) -> Self { [INFO] [stdout] | ^ found 1 type parameter [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quickcheck-1.0.3/src/arbitrary.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | fn arbitrary(g: &mut Gen) -> Self; [INFO] [stdout] | ---------------------------------- expected 0 type parameters [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] | ^^^^^^^^^^^^^^^^^^^ [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] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1632 | fn shrink(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: associated function `arbitrary` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/crypto/mod.rs:1643:18 [INFO] [stdout] | [INFO] [stdout] 1643 | fn arbitrary(g: &mut G) -> Self { [INFO] [stdout] | ^ found 1 type parameter [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quickcheck-1.0.3/src/arbitrary.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | fn arbitrary(g: &mut Gen) -> Self; [INFO] [stdout] | ---------------------------------- expected 0 type parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: associated function `arbitrary` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/crypto/mod.rs:1650:18 [INFO] [stdout] | [INFO] [stdout] 1650 | fn arbitrary(g: &mut G) -> Self { [INFO] [stdout] | ^ found 1 type parameter [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quickcheck-1.0.3/src/arbitrary.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | fn arbitrary(g: &mut Gen) -> Self; [INFO] [stdout] | ---------------------------------- expected 0 type parameters [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1657 | fn shrink(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: associated function `arbitrary` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/crypto/mod.rs:1668:18 [INFO] [stdout] | [INFO] [stdout] 1668 | fn arbitrary(g: &mut G) -> Self { [INFO] [stdout] | ^ found 1 type parameter [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quickcheck-1.0.3/src/arbitrary.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | fn arbitrary(g: &mut Gen) -> Self; [INFO] [stdout] | ---------------------------------- expected 0 type parameters [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1674 | fn shrink(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0049, E0404. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0049`. [INFO] [stdout] [INFO] [stderr] error: could not compile `onionsalt` (lib test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "32ec29e84da62fdbef611e80c8dc6a94dfae51368289ac50768c7b3364aef490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32ec29e84da62fdbef611e80c8dc6a94dfae51368289ac50768c7b3364aef490", kill_on_drop: false }` [INFO] [stdout] 32ec29e84da62fdbef611e80c8dc6a94dfae51368289ac50768c7b3364aef490