[INFO] fetching crate bn 0.4.3... [INFO] testing bn-0.4.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bn 0.4.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate bn 0.4.3 [INFO] finished tweaking crates.io crate bn 0.4.3 [INFO] tweaked toml for crates.io crate bn 0.4.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bn 0.4.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.6.1 (available: v2.0.1) [INFO] [stderr] Adding byteorder v0.5.3 (available: v1.5.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 bincode v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b069271eb3f2d5f9d0379ee7928d0c1cb5aa36a0f0fe1dac54dcd40b2c030e6c [INFO] running `Command { std: "docker" "start" "-a" "b069271eb3f2d5f9d0379ee7928d0c1cb5aa36a0f0fe1dac54dcd40b2c030e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b069271eb3f2d5f9d0379ee7928d0c1cb5aa36a0f0fe1dac54dcd40b2c030e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b069271eb3f2d5f9d0379ee7928d0c1cb5aa36a0f0fe1dac54dcd40b2c030e6c", kill_on_drop: false }` [INFO] [stdout] b069271eb3f2d5f9d0379ee7928d0c1cb5aa36a0f0fe1dac54dcd40b2c030e6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d3a6fcfe99732c7f9556ba2bd111e20a8d551fadb202f39cbb8f8781727946cb [INFO] running `Command { std: "docker" "start" "-a" "d3a6fcfe99732c7f9556ba2bd111e20a8d551fadb202f39cbb8f8781727946cb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling bn v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/lib.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/lib.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/lib.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/lib.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/lib.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/lib.rs:122:54 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/arith.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | try!(s.emit_u8(buf[i])); [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/arith.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | buf[i] = try!(s.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/arith.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | try!(s.emit_u8(buf[i])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/arith.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | buf[i] = try!(s.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fields/fp.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus")) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | / field_impl!( [INFO] [stdout] 162 | | Fr, [INFO] [stdout] 163 | | [0x43e1f593f0000001, 0x2833e84879b97091, 0xb85045b68181585d, 0x30644e72e131a029], [INFO] [stdout] 164 | | [0x1bb8e645ae216da7, 0x53fe3ab1e35c59e3, 0x8c49833d53bb8085, 0x0216d0b17f4e44a5], [INFO] [stdout] ... | [INFO] [stdout] 167 | | 0xc2e1f593efffffff [INFO] [stdout] 168 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fields/fp.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus")) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | / field_impl!( [INFO] [stdout] 171 | | Fq, [INFO] [stdout] 172 | | [0x3c208c16d87cfd47, 0x97816a916871ca8d, 0xb85045b68181585d, 0x30644e72e131a029], [INFO] [stdout] 173 | | [0xf32cfc5b538afa89, 0xb5e71911d44501fb, 0x47ab1eff0a417ff6, 0x06d89f71cab8351f], [INFO] [stdout] ... | [INFO] [stdout] 176 | | 0x87d20782e4866389 [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fields/fq2.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let combined = try!(U512::decode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fields/mod.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn random(&mut R) -> Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R` [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/groups/mod.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | try!(l.encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/groups/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | try!(self.x.encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/groups/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | try!(self.y.encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/groups/mod.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let l = try!(u8::decode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/groups/mod.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | Ok(try!(AffineG::decode(s)).to_jacobian()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/groups/mod.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | let x = try!(P::Base::decode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/groups/mod.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let y = try!(P::Base::decode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G1: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | impl Group for G1 { [INFO] [stdout] | ^^ the trait `Decodable` is not implemented for `G1` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 78 others [INFO] [stdout] note: required by a bound in `Group` [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait Group: [INFO] [stdout] | ----- required by a bound in this trait [INFO] [stdout] 57 | rustc_serialize::Encodable + [INFO] [stdout] 58 | rustc_serialize::Decodable + [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G1: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | impl Group for G1 { [INFO] [stdout] | ^^ the trait `Encodable` is not implemented for `G1` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 82 others [INFO] [stdout] note: required by a bound in `Group` [INFO] [stdout] --> src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait Group: [INFO] [stdout] | ----- required by a bound in this trait [INFO] [stdout] 57 | rustc_serialize::Encodable + [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G2: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | impl Group for G2 { [INFO] [stdout] | ^^ the trait `Decodable` is not implemented for `G2` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 78 others [INFO] [stdout] note: required by a bound in `Group` [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait Group: [INFO] [stdout] | ----- required by a bound in this trait [INFO] [stdout] 57 | rustc_serialize::Encodable + [INFO] [stdout] 58 | rustc_serialize::Decodable + [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G2: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | impl Group for G2 { [INFO] [stdout] | ^^ the trait `Encodable` is not implemented for `G2` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 82 others [INFO] [stdout] note: required by a bound in `Group` [INFO] [stdout] --> src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait Group: [INFO] [stdout] | ----- required by a bound in this trait [INFO] [stdout] 57 | rustc_serialize::Encodable + [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bn` (lib) due to 10 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d3a6fcfe99732c7f9556ba2bd111e20a8d551fadb202f39cbb8f8781727946cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a6fcfe99732c7f9556ba2bd111e20a8d551fadb202f39cbb8f8781727946cb", kill_on_drop: false }` [INFO] [stdout] d3a6fcfe99732c7f9556ba2bd111e20a8d551fadb202f39cbb8f8781727946cb