[INFO] fetching crate mgf 1.4.0... [INFO] testing mgf-1.4.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate mgf 1.4.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate mgf 1.4.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mgf 1.4.0 [INFO] finished tweaking crates.io crate mgf 1.4.0 [INFO] tweaked toml for crates.io crate mgf 1.4.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 384248c9c010a126d85fced1235ed5c3c9c6c8270ac374e0a5eb557dc9203773 [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" "384248c9c010a126d85fced1235ed5c3c9c6c8270ac374e0a5eb557dc9203773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "384248c9c010a126d85fced1235ed5c3c9c6c8270ac374e0a5eb557dc9203773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "384248c9c010a126d85fced1235ed5c3c9c6c8270ac374e0a5eb557dc9203773", kill_on_drop: false }` [INFO] [stdout] 384248c9c010a126d85fced1235ed5c3c9c6c8270ac374e0a5eb557dc9203773 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c3977de95133b607d48b552dac4217ec460987809e2a6d38ba8bdffb41cf4e9 [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" "6c3977de95133b607d48b552dac4217ec460987809e2a6d38ba8bdffb41cf4e9", kill_on_drop: false }` [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling mgf v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/simplex.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | state: &'static SimplexState, [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - state: &'static SimplexState, [INFO] [stdout] 35 + state: &'static dyn SimplexState, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:207:71 [INFO] [stdout] | [INFO] [stdout] 207 | fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static SimplexState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 207 - fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static SimplexState); [INFO] [stdout] 207 + fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:228:74 [INFO] [stdout] | [INFO] [stdout] 228 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 228 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:243:74 [INFO] [stdout] | [INFO] [stdout] 243 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 243 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 243 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:271:74 [INFO] [stdout] | [INFO] [stdout] 271 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 271 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 271 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:353:74 [INFO] [stdout] | [INFO] [stdout] 353 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 353 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 353 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:356:38 [INFO] [stdout] | [INFO] [stdout] 356 | let mut next_state: &'static SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 356 - let mut next_state: &'static SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stdout] 356 + let mut next_state: &'static dyn SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.94s [INFO] running `Command { std: "docker" "inspect" "6c3977de95133b607d48b552dac4217ec460987809e2a6d38ba8bdffb41cf4e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c3977de95133b607d48b552dac4217ec460987809e2a6d38ba8bdffb41cf4e9", kill_on_drop: false }` [INFO] [stdout] 6c3977de95133b607d48b552dac4217ec460987809e2a6d38ba8bdffb41cf4e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", 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] 9b474e3c48613093bbddb8dc19b0b733df1dfcd38019de9f51d873dda2c34c3c [INFO] running `Command { std: "docker" "start" "-a" "9b474e3c48613093bbddb8dc19b0b733df1dfcd38019de9f51d873dda2c34c3c", kill_on_drop: false }` [INFO] [stderr] Compiling mgf v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/simplex.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | state: &'static SimplexState, [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - state: &'static SimplexState, [INFO] [stdout] 35 + state: &'static dyn SimplexState, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:207:71 [INFO] [stdout] | [INFO] [stdout] 207 | fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static SimplexState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 207 - fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static SimplexState); [INFO] [stdout] 207 + fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:228:74 [INFO] [stdout] | [INFO] [stdout] 228 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 228 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:243:74 [INFO] [stdout] | [INFO] [stdout] 243 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 243 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 243 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:271:74 [INFO] [stdout] | [INFO] [stdout] 271 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 271 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 271 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:353:74 [INFO] [stdout] | [INFO] [stdout] 353 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 353 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 353 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:356:38 [INFO] [stdout] | [INFO] [stdout] 356 | let mut next_state: &'static SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 356 - let mut next_state: &'static SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stdout] 356 + let mut next_state: &'static dyn SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/simplex.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | state: &'static SimplexState, [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - state: &'static SimplexState, [INFO] [stdout] 35 + state: &'static dyn SimplexState, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:207:71 [INFO] [stdout] | [INFO] [stdout] 207 | fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static SimplexState); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 207 - fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static SimplexState); [INFO] [stdout] 207 + fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:228:74 [INFO] [stdout] | [INFO] [stdout] 228 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 228 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:243:74 [INFO] [stdout] | [INFO] [stdout] 243 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 243 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 243 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:271:74 [INFO] [stdout] | [INFO] [stdout] 271 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 271 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 271 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:353:74 [INFO] [stdout] | [INFO] [stdout] 353 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 353 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stdout] 353 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplex.rs:356:38 [INFO] [stdout] | [INFO] [stdout] 356 | let mut next_state: &'static SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 356 - let mut next_state: &'static SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stdout] 356 + let mut next_state: &'static dyn SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.66s [INFO] running `Command { std: "docker" "inspect" "9b474e3c48613093bbddb8dc19b0b733df1dfcd38019de9f51d873dda2c34c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b474e3c48613093bbddb8dc19b0b733df1dfcd38019de9f51d873dda2c34c3c", kill_on_drop: false }` [INFO] [stdout] 9b474e3c48613093bbddb8dc19b0b733df1dfcd38019de9f51d873dda2c34c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7cb4329c4f59ffd1996989cf11da08da436a0169e0bb38e1ac5b2044472c4db [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" "d7cb4329c4f59ffd1996989cf11da08da436a0169e0bb38e1ac5b2044472c4db", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/simplex.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplex.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | state: &'static SimplexState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 - state: &'static SimplexState, [INFO] [stderr] 35 + state: &'static dyn SimplexState, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplex.rs:207:71 [INFO] [stderr] | [INFO] [stderr] 207 | fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static SimplexState); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 207 - fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static SimplexState); [INFO] [stderr] 207 + fn min_norm(&self, _: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplex.rs:228:74 [INFO] [stderr] | [INFO] [stderr] 228 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 228 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stderr] 228 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplex.rs:243:74 [INFO] [stderr] | [INFO] [stderr] 243 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 243 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stderr] 243 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplex.rs:271:74 [INFO] [stderr] | [INFO] [stderr] 271 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 271 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stderr] 271 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplex.rs:353:74 [INFO] [stderr] | [INFO] [stderr] 353 | fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 353 - fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static SimplexState) { [INFO] [stderr] 353 + fn min_norm(&self, simp: &mut [Point; 4]) -> (Vector3, &'static dyn SimplexState) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplex.rs:356:38 [INFO] [stderr] | [INFO] [stderr] 356 | let mut next_state: &'static SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 356 - let mut next_state: &'static SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stderr] 356 + let mut next_state: &'static dyn SimplexState = &VERTEX_DATAPTRLOC; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `mgf` (lib) generated 8 warnings [INFO] [stderr] warning: `mgf` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mgf-ac04278fea769310) [INFO] [stdout] running 21 tests [INFO] [stderr] Doc-tests mgf [INFO] [stdout] test bounds::tests::bounds::test_aabb ... ok [INFO] [stdout] test bounds::tests::bounds::test_mixed ... ok [INFO] [stdout] test bounds::tests::bounds::test_sphere ... ok [INFO] [stdout] test collision::tests::capsules::test_moving_capsule_collision ... ok [INFO] [stdout] test collision::tests::capsules::test_rect_collision ... ok [INFO] [stdout] test pool::tests::pool::test_pool ... ok [INFO] [stdout] test collision::tests::capsules::test_tri_collision ... ok [INFO] [stdout] test collision::tests::intersections::test_ray_intersections ... ok [INFO] [stdout] test collision::tests::capsules::test_moving_sphere_collision ... ok [INFO] [stdout] test collision::tests::obbs::test_obb_collision ... ok [INFO] [stdout] test collision::tests::spheres::test_moving_spheres_collision ... ok [INFO] [stdout] test collision::tests::spheres::test_tri_collision ... ok [INFO] [stdout] test geom::tests::convex::test_capsule_support_fn ... ok [INFO] [stdout] test compound::tests::compound::test_compound ... ok [INFO] [stdout] test geom::tests::triangle::test_tri_closest_pt ... ok [INFO] [stdout] test bitset::tests::bitset::test_bitset ... ok [INFO] [stdout] test collision::tests::spheres::test_sphere_penetration ... ok [INFO] [stdout] test bvh::tests::bvh::test_bvh ... ok [INFO] [stdout] test physics::tests::inertia::test_tensors ... ok [INFO] [stdout] test pool::tests::pool::test_manual_code ... ok [INFO] [stdout] test collision::tests::spheres::test_rect_collision ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> /opt/rustwide/workdir/src/simplex.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 51) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d7cb4329c4f59ffd1996989cf11da08da436a0169e0bb38e1ac5b2044472c4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7cb4329c4f59ffd1996989cf11da08da436a0169e0bb38e1ac5b2044472c4db", kill_on_drop: false }` [INFO] [stdout] d7cb4329c4f59ffd1996989cf11da08da436a0169e0bb38e1ac5b2044472c4db