[INFO] fetching crate reform 0.1.0... [INFO] testing reform-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate reform 0.1.0 into /workspace/builds/worker-73/source [INFO] validating manifest of crates.io crate reform 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate reform 0.1.0 [INFO] finished tweaking crates.io crate reform 0.1.0 [INFO] tweaked toml for crates.io crate reform 0.1.0 written to /workspace/builds/worker-73/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-73/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d98a44bb83b745e031eb21a4bb2230a8fab54464bb52a016a58d86af8e920a41 [INFO] running `Command { std: "docker" "start" "-a" "d98a44bb83b745e031eb21a4bb2230a8fab54464bb52a016a58d86af8e920a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d98a44bb83b745e031eb21a4bb2230a8fab54464bb52a016a58d86af8e920a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98a44bb83b745e031eb21a4bb2230a8fab54464bb52a016a58d86af8e920a41", kill_on_drop: false }` [INFO] [stdout] d98a44bb83b745e031eb21a4bb2230a8fab54464bb52a016a58d86af8e920a41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9443da96723f73249114c90713af93aceff5af41a66046a400e052167a51f41 [INFO] running `Command { std: "docker" "start" "-a" "c9443da96723f73249114c90713af93aceff5af41a66046a400e052167a51f41", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.8 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rug v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling fastdivide v0.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling crossbeam-deque v0.5.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling crossbeam v0.4.1 [INFO] [stderr] Compiling reform v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/module.rs:232:74 [INFO] [stdout] | [INFO] [stdout] 232 | MatchOpt::Single(x) => StatementResult::Executed({ x.clone() }), // FIXME: it is not always executed! [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 232 - MatchOpt::Single(x) => StatementResult::Executed({ x.clone() }), // FIXME: it is not always executed! [INFO] [stdout] 232 + MatchOpt::Single(x) => StatementResult::Executed(x.clone()), // FIXME: it is not always executed! [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/module.rs:233:79 [INFO] [stdout] | [INFO] [stdout] 233 | MatchOpt::SingleOwned(x) => StatementResult::Executed({ x }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 233 - MatchOpt::SingleOwned(x) => StatementResult::Executed({ x }), [INFO] [stdout] 233 + MatchOpt::SingleOwned(x) => StatementResult::Executed(x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser/mod.rs:774:16 [INFO] [stdout] | [INFO] [stdout] 774 | type Err = (String); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 774 - type Err = (String); [INFO] [stdout] 774 + type Err = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser/mod.rs:783:16 [INFO] [stdout] | [INFO] [stdout] 783 | type Err = (String); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 783 - type Err = (String); [INFO] [stdout] 783 + type Err = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/poly/ring.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn from_finite_field(&FiniteField) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &FiniteField` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize.rs:89:50 [INFO] [stdout] | [INFO] [stdout] 89 | fn serialize_list(args: &[Element], buffer: &mut Write) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - fn serialize_list(args: &[Element], buffer: &mut Write) -> usize { [INFO] [stdout] 89 + fn serialize_list(args: &[Element], buffer: &mut dyn Write) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | fn deserialize_list(buffer: &mut Read) -> Vec { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - fn deserialize_list(buffer: &mut Read) -> Vec { [INFO] [stdout] 98 + fn deserialize_list(buffer: &mut dyn Read) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | fn serialize_integer(i: &Integer, buffer: &mut Write) -> usize { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - fn serialize_integer(i: &Integer, buffer: &mut Write) -> usize { [INFO] [stdout] 107 + fn serialize_integer(i: &Integer, buffer: &mut dyn Write) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 130 | fn deserialize_integer(buffer: &mut Read) -> Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 - fn deserialize_integer(buffer: &mut Read) -> Result { [INFO] [stdout] 130 + fn deserialize_integer(buffer: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn read(buffer: &mut Read) -> Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 - pub fn read(buffer: &mut Read) -> Result { [INFO] [stdout] 79 + pub fn read(buffer: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize.rs:162:42 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn serialize(&self, buffer: &mut Write) -> usize { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 - pub fn serialize(&self, buffer: &mut Write) -> usize { [INFO] [stdout] 162 + pub fn serialize(&self, buffer: &mut dyn Write) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize.rs:187:37 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn deserialize(buffer: &mut Read) -> Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 - pub fn deserialize(buffer: &mut Read) -> Result { [INFO] [stdout] 187 + pub fn deserialize(buffer: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize.rs:213:42 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn serialize(&self, buffer: &mut Write) -> usize { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 213 - pub fn serialize(&self, buffer: &mut Write) -> usize { [INFO] [stdout] 213 + pub fn serialize(&self, buffer: &mut dyn Write) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize.rs:232:37 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn deserialize(buffer: &mut Read) -> Result, Error> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 232 - pub fn deserialize(buffer: &mut Read) -> Result, Error> { [INFO] [stdout] 232 + pub fn deserialize(buffer: &mut dyn Read) -> Result, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize.rs:259:42 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn serialize(&self, buffer: &mut Write) -> usize { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 259 - pub fn serialize(&self, buffer: &mut Write) -> usize { [INFO] [stdout] 259 + pub fn serialize(&self, buffer: &mut dyn Write) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize.rs:300:37 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn deserialize(buffer: &mut Read) -> Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 300 - pub fn deserialize(buffer: &mut Read) -> Result { [INFO] [stdout] 300 + pub fn deserialize(buffer: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poly/polynomial.rs:440:42 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn serialize(&self, buffer: &mut Write) -> usize { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 440 - pub fn serialize(&self, buffer: &mut Write) -> usize { [INFO] [stdout] 440 + pub fn serialize(&self, buffer: &mut dyn Write) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poly/polynomial.rs:452:37 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn deserialize(buffer: &mut Read) -> Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 452 - pub fn deserialize(buffer: &mut Read) -> Result { [INFO] [stdout] 452 + pub fn deserialize(buffer: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/serialize.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | d: 0 as *mut u64, [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `NonNull`, found *-ptr [INFO] [stdout] | [INFO] [stdout] = note: expected struct `NonNull` [INFO] [stdout] found raw pointer `*mut u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reform` due to 2 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c9443da96723f73249114c90713af93aceff5af41a66046a400e052167a51f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9443da96723f73249114c90713af93aceff5af41a66046a400e052167a51f41", kill_on_drop: false }` [INFO] [stdout] c9443da96723f73249114c90713af93aceff5af41a66046a400e052167a51f41