[INFO] fetching crate edcert 9.0.1... [INFO] checking edcert-9.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate edcert 9.0.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate edcert 9.0.1 [INFO] finished tweaking crates.io crate edcert 9.0.1 [INFO] tweaked toml for crates.io crate edcert 9.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate edcert 9.0.1 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 19 packages to latest compatible versions [INFO] [stderr] Adding chrono v0.2.25 (available: v0.4.41) [INFO] [stderr] Adding secrets v0.11.1 (available: v1.2.0) [INFO] [stderr] Adding sodiumoxide v0.0.12 (available: v0.2.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [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 libsodium-sys v0.0.12 [INFO] [stderr] Downloaded secrets v0.11.1 [INFO] [stderr] Downloaded serde v0.7.15 [INFO] [stderr] Downloaded sodiumoxide v0.0.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 14812b1ab73ce1ec6bdc2e83a66dc390287dac6546498384afcebaec709d3c66 [INFO] running `Command { std: "docker" "start" "-a" "14812b1ab73ce1ec6bdc2e83a66dc390287dac6546498384afcebaec709d3c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14812b1ab73ce1ec6bdc2e83a66dc390287dac6546498384afcebaec709d3c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14812b1ab73ce1ec6bdc2e83a66dc390287dac6546498384afcebaec709d3c66", kill_on_drop: false }` [INFO] [stdout] 14812b1ab73ce1ec6bdc2e83a66dc390287dac6546498384afcebaec709d3c66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e88937b7b3898de52dd5a35bff1d249d67769b6fef2fe7093e378d81e1501e26 [INFO] running `Command { std: "docker" "start" "-a" "e88937b7b3898de52dd5a35bff1d249d67769b6fef2fe7093e378d81e1501e26", 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] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking serde v0.7.15 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking secrets v0.11.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libsodium-sys v0.0.12 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking sodiumoxide v0.0.12 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking edcert v9.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/certificate.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone,RustcDecodable,RustcEncodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/certificate.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone,RustcDecodable,RustcEncodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/certificate.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone,RustcDecodable,RustcEncodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/certificate.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone,RustcDecodable,RustcEncodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/meta.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone,RustcEncodable,RustcDecodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/meta.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone,RustcEncodable,RustcDecodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/meta.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone,RustcEncodable,RustcDecodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/signature.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone,RustcDecodable,RustcEncodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/meta.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone,RustcEncodable,RustcDecodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/signature.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone,RustcDecodable,RustcEncodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/signature.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone,RustcDecodable,RustcEncodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/signature.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone,RustcDecodable,RustcEncodable,Debug,PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bytescontainer.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let bytestr = try!(String::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/root_validator.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(cert.self_validate(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/root_validator.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | try!(self.revoker.is_revoked(cert)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trust_validator.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(cert.self_validate(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trust_validator.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | try!(self.revoker.is_revoked(cert)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/revoker.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | fn is_revoked(&self, &F) -> Result<(), RevokeError>; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &F` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bytescontainer.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let bytestr = try!(String::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/root_validator.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(cert.self_validate(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/root_validator.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | try!(self.revoker.is_revoked(cert)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trust_validator.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(cert.self_validate(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trust_validator.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | try!(self.revoker.is_revoked(cert)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/revoker.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | fn is_revoked(&self, &F) -> Result<(), RevokeError>; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &F` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/ed25519.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | use std::sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/ed25519.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | static START: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 30 - static START: Once = ONCE_INIT; [INFO] [stdout] 30 + static START: Once = Once::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/ed25519.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | use std::sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/ed25519.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | static START: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 30 - static START: Once = ONCE_INIT; [INFO] [stdout] 30 + static START: Once = Once::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `edcert` (lib) due to 6 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `edcert` (lib test) due to 6 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e88937b7b3898de52dd5a35bff1d249d67769b6fef2fe7093e378d81e1501e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e88937b7b3898de52dd5a35bff1d249d67769b6fef2fe7093e378d81e1501e26", kill_on_drop: false }` [INFO] [stdout] e88937b7b3898de52dd5a35bff1d249d67769b6fef2fe7093e378d81e1501e26