[INFO] fetching crate sl-na 0.0.0... [INFO] testing sl-na-0.0.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate sl-na 0.0.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate sl-na 0.0.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] 925b8f13a911ea0c178d03d7a4f15e1297b85cd7a67772850292e01f01176888 [INFO] running `Command { std: "docker" "start" "-a" "925b8f13a911ea0c178d03d7a4f15e1297b85cd7a67772850292e01f01176888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "925b8f13a911ea0c178d03d7a4f15e1297b85cd7a67772850292e01f01176888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "925b8f13a911ea0c178d03d7a4f15e1297b85cd7a67772850292e01f01176888", kill_on_drop: false }` [INFO] [stdout] 925b8f13a911ea0c178d03d7a4f15e1297b85cd7a67772850292e01f01176888 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] ecbaa262e178122ff05034082dac5383e21e0501b73d751c5f61f4e4edef7cb0 [INFO] running `Command { std: "docker" "start" "-a" "ecbaa262e178122ff05034082dac5383e21e0501b73d751c5f61f4e4edef7cb0", 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.58s [INFO] running `Command { std: "docker" "inspect" "ecbaa262e178122ff05034082dac5383e21e0501b73d751c5f61f4e4edef7cb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecbaa262e178122ff05034082dac5383e21e0501b73d751c5f61f4e4edef7cb0", kill_on_drop: false }` [INFO] [stdout] ecbaa262e178122ff05034082dac5383e21e0501b73d751c5f61f4e4edef7cb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.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] 048055cbea3656216b1a68b1362f82d72c55587fbc95bdf129de1bc90fdbb1b3 [INFO] running `Command { std: "docker" "start" "-a" "048055cbea3656216b1a68b1362f82d72c55587fbc95bdf129de1bc90fdbb1b3", 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 1.23s [INFO] running `Command { std: "docker" "inspect" "048055cbea3656216b1a68b1362f82d72c55587fbc95bdf129de1bc90fdbb1b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048055cbea3656216b1a68b1362f82d72c55587fbc95bdf129de1bc90fdbb1b3", kill_on_drop: false }` [INFO] [stdout] 048055cbea3656216b1a68b1362f82d72c55587fbc95bdf129de1bc90fdbb1b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", 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] 4c37a13c915df581e4896e08ebb93727cd586cce7b10c5f9e8a9e29ff0999f5c [INFO] running `Command { std: "docker" "start" "-a" "4c37a13c915df581e4896e08ebb93727cd586cce7b10c5f9e8a9e29ff0999f5c", 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.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sl_na-d7d7f006edef62de) [INFO] [stderr] Doc-tests sl-na [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] [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" "4c37a13c915df581e4896e08ebb93727cd586cce7b10c5f9e8a9e29ff0999f5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c37a13c915df581e4896e08ebb93727cd586cce7b10c5f9e8a9e29ff0999f5c", kill_on_drop: false }` [INFO] [stdout] 4c37a13c915df581e4896e08ebb93727cd586cce7b10c5f9e8a9e29ff0999f5c