[INFO] fetching crate civil 0.1.7... [INFO] testing civil-0.1.7 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate civil 0.1.7 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate civil 0.1.7 [INFO] finished tweaking crates.io crate civil 0.1.7 [INFO] tweaked toml for crates.io crate civil 0.1.7 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate civil 0.1.7 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `civil` which is deprecated [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ec15108509dd2bea78e8b424ca67bb368be589a21789d3530f1530ca76d50b6 [INFO] running `Command { std: "docker" "start" "-a" "3ec15108509dd2bea78e8b424ca67bb368be589a21789d3530f1530ca76d50b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ec15108509dd2bea78e8b424ca67bb368be589a21789d3530f1530ca76d50b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec15108509dd2bea78e8b424ca67bb368be589a21789d3530f1530ca76d50b6", kill_on_drop: false }` [INFO] [stdout] 3ec15108509dd2bea78e8b424ca67bb368be589a21789d3530f1530ca76d50b6 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7ff8cb9e460ba23954285715b350076b0a55a3893a435c88cdae8d6542a4bbc [INFO] running `Command { std: "docker" "start" "-a" "d7ff8cb9e460ba23954285715b350076b0a55a3893a435c88cdae8d6542a4bbc", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `civil` which is deprecated [INFO] [stderr] Compiling civil v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/calc/calculus.rs:486:10 [INFO] [stdout] | [INFO] [stdout] 486 | 2...64 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/structural/beams/mod.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | pub magnitude: Box f64>, [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 237 | pub magnitude: Box f64>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `augmented_matrix` [INFO] [stdout] --> src/calc/gaussjordan.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut augmented_matrix: Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_augmented_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `combined` [INFO] [stdout] --> src/calc/gaussjordan.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let combined = dbg!(tmp.append(&mut the_unit)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_combined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gauss_jordan_elimination` is never used [INFO] [stdout] --> src/calc/gaussjordan.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn gauss_jordan_elimination(matrix:Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "d7ff8cb9e460ba23954285715b350076b0a55a3893a435c88cdae8d6542a4bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ff8cb9e460ba23954285715b350076b0a55a3893a435c88cdae8d6542a4bbc", kill_on_drop: false }` [INFO] [stdout] d7ff8cb9e460ba23954285715b350076b0a55a3893a435c88cdae8d6542a4bbc [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6c8f7f79cf23d25904095c7332a5a8912fceaa8941094d8726442698ca826cc [INFO] running `Command { std: "docker" "start" "-a" "d6c8f7f79cf23d25904095c7332a5a8912fceaa8941094d8726442698ca826cc", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `civil` which is deprecated [INFO] [stderr] Compiling civil v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/calc/calculus.rs:486:10 [INFO] [stdout] | [INFO] [stdout] 486 | 2...64 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/structural/beams/mod.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | pub magnitude: Box f64>, [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 237 | pub magnitude: Box f64>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `augmented_matrix` [INFO] [stdout] --> src/calc/gaussjordan.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut augmented_matrix: Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_augmented_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `combined` [INFO] [stdout] --> src/calc/gaussjordan.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let combined = dbg!(tmp.append(&mut the_unit)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_combined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gauss_jordan_elimination` is never used [INFO] [stdout] --> src/calc/gaussjordan.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn gauss_jordan_elimination(matrix:Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::gauss_jordan_elimination` [INFO] [stdout] --> src/calc/gaussjordan.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::gauss_jordan_elimination; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `gauss_jordan_elimination` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/calc/calculus.rs:486:10 [INFO] [stdout] | [INFO] [stdout] 486 | 2...64 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/structural/beams/mod.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | pub magnitude: Box f64>, [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 237 | pub magnitude: Box f64>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `augmented_matrix` [INFO] [stdout] --> src/calc/gaussjordan.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut augmented_matrix: Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_augmented_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `combined` [INFO] [stdout] --> src/calc/gaussjordan.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let combined = dbg!(tmp.append(&mut the_unit)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_combined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `civil` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d6c8f7f79cf23d25904095c7332a5a8912fceaa8941094d8726442698ca826cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c8f7f79cf23d25904095c7332a5a8912fceaa8941094d8726442698ca826cc", kill_on_drop: false }` [INFO] [stdout] d6c8f7f79cf23d25904095c7332a5a8912fceaa8941094d8726442698ca826cc