[INFO] fetching crate sl-na 0.0.0... [INFO] testing sl-na-0.0.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate sl-na 0.0.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate sl-na 0.0.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sl-na 0.0.0 [INFO] finished tweaking crates.io crate sl-na 0.0.0 [INFO] tweaked toml for crates.io crate sl-na 0.0.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 756a0272af2ef75cd6b7f8ae398e90d4fe280710cee034e4d7ac45e654368e73 [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" "756a0272af2ef75cd6b7f8ae398e90d4fe280710cee034e4d7ac45e654368e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "756a0272af2ef75cd6b7f8ae398e90d4fe280710cee034e4d7ac45e654368e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "756a0272af2ef75cd6b7f8ae398e90d4fe280710cee034e4d7ac45e654368e73", kill_on_drop: false }` [INFO] [stdout] 756a0272af2ef75cd6b7f8ae398e90d4fe280710cee034e4d7ac45e654368e73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2022-02-22" "build" "--frozen" "--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] d6d9a636526ba43af1fba0a5a2e5e5678ec621961e434d6a22ece617ed3a4db7 [INFO] running `Command { std: "docker" "start" "-a" "d6d9a636526ba43af1fba0a5a2e5e5678ec621961e434d6a22ece617ed3a4db7", kill_on_drop: false }` [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling sl-na v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/quad.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn gauss(f: &Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [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] 42 - pub fn gauss(f: &Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [INFO] [stdout] 42 + pub fn gauss(f: &dyn Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/quad.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn gauss_complex(f: &Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [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] 57 - pub fn gauss_complex(f: &Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [INFO] [stdout] 57 + pub fn gauss_complex(f: &dyn Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diff.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn diff(f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [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] 3 - pub fn diff(f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] 3 + pub fn diff(f: &dyn Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diff.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn diffn(n: u32, f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [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] 7 - pub fn diffn(n: u32, f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] 7 + pub fn diffn(n: u32, f: &dyn Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpolation.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [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] 4 - pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [INFO] [stdout] 4 + pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ode.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | -> Boxf64> [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] 7 - -> Boxf64> [INFO] [stdout] 7 + -> Boxf64> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ode.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: 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] 6 - pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: usize) [INFO] [stdout] 6 + pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: usize) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.43s [INFO] running `Command { std: "docker" "inspect" "d6d9a636526ba43af1fba0a5a2e5e5678ec621961e434d6a22ece617ed3a4db7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d9a636526ba43af1fba0a5a2e5e5678ec621961e434d6a22ece617ed3a4db7", kill_on_drop: false }` [INFO] [stdout] d6d9a636526ba43af1fba0a5a2e5e5678ec621961e434d6a22ece617ed3a4db7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3f1cad7e81e126724e4ae60867cb050122bbfb33bb6356ec231023e34598aa8 [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" "a3f1cad7e81e126724e4ae60867cb050122bbfb33bb6356ec231023e34598aa8", kill_on_drop: false }` [INFO] [stderr] Compiling sl-na v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/quad.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn gauss(f: &Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [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] 42 - pub fn gauss(f: &Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [INFO] [stdout] 42 + pub fn gauss(f: &dyn Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/quad.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn gauss_complex(f: &Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [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] 57 - pub fn gauss_complex(f: &Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [INFO] [stdout] 57 + pub fn gauss_complex(f: &dyn Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diff.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn diff(f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [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] 3 - pub fn diff(f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] 3 + pub fn diff(f: &dyn Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diff.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn diffn(n: u32, f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [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] 7 - pub fn diffn(n: u32, f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] 7 + pub fn diffn(n: u32, f: &dyn Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpolation.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [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] 4 - pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [INFO] [stdout] 4 + pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ode.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | -> Boxf64> [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] 7 - -> Boxf64> [INFO] [stdout] 7 + -> Boxf64> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ode.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: 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] 6 - pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: usize) [INFO] [stdout] 6 + pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: usize) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/quad.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn gauss(f: &Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [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] 42 - pub fn gauss(f: &Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [INFO] [stdout] 42 + pub fn gauss(f: &dyn Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/quad.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn gauss_complex(f: &Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [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] 57 - pub fn gauss_complex(f: &Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [INFO] [stdout] 57 + pub fn gauss_complex(f: &dyn Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diff.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn diff(f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [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] 3 - pub fn diff(f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] 3 + pub fn diff(f: &dyn Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diff.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn diffn(n: u32, f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [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] 7 - pub fn diffn(n: u32, f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] 7 + pub fn diffn(n: u32, f: &dyn Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpolation.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [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] 4 - pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [INFO] [stdout] 4 + pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ode.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | -> Boxf64> [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] 7 - -> Boxf64> [INFO] [stdout] 7 + -> Boxf64> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ode.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: 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] 6 - pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: usize) [INFO] [stdout] 6 + pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: usize) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "a3f1cad7e81e126724e4ae60867cb050122bbfb33bb6356ec231023e34598aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3f1cad7e81e126724e4ae60867cb050122bbfb33bb6356ec231023e34598aa8", kill_on_drop: false }` [INFO] [stdout] a3f1cad7e81e126724e4ae60867cb050122bbfb33bb6356ec231023e34598aa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5f4a45459599a83ad911ab698c1d39e142570996ddeca69a89e7e8ab7502f651 [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" "5f4a45459599a83ad911ab698c1d39e142570996ddeca69a89e7e8ab7502f651", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/quad.rs:42:18 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn gauss(f: &Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [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 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - pub fn gauss(f: &Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [INFO] [stderr] 42 + pub fn gauss(f: &dyn Fn(f64)->f64, a: f64, b: f64, n: u32) -> f64 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/quad.rs:57:26 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn gauss_complex(f: &Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 57 - pub fn gauss_complex(f: &Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [INFO] [stderr] 57 + pub fn gauss_complex(f: &dyn Fn(f64)->c64, a: f64, b: f64, n: u32) -> c64 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/diff.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn diff(f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 3 - pub fn diff(f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stderr] 3 + pub fn diff(f: &dyn Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/diff.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn diffn(n: u32, f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - pub fn diffn(n: u32, f: &Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stderr] 7 + pub fn diffn(n: u32, f: &dyn Fn(f64)->f64, x: f64, h: f64) -> f64 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interpolation.rs:4:55 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 4 - pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [INFO] [stderr] 4 + pub fn pli_eq(x0: f64, dx: f64, y: Box<[f64]>) -> Boxf64> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ode.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | -> Boxf64> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - -> Boxf64> [INFO] [stderr] 7 + -> Boxf64> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ode.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: usize) [INFO] [stderr] 6 + pub fn euler(g: Boxf64>, x0: f64, y0: f64, h: f64, m: usize, n: usize) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sl-na` (lib) generated 7 warnings [INFO] [stderr] warning: `sl-na` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sl_na-6e04e2d2ca639f3a) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests sl-na [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5f4a45459599a83ad911ab698c1d39e142570996ddeca69a89e7e8ab7502f651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f4a45459599a83ad911ab698c1d39e142570996ddeca69a89e7e8ab7502f651", kill_on_drop: false }` [INFO] [stdout] 5f4a45459599a83ad911ab698c1d39e142570996ddeca69a89e7e8ab7502f651