[INFO] fetching crate rustimization 0.1.1... [INFO] testing rustimization-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rustimization 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rustimization 0.1.1 [INFO] finished tweaking crates.io crate rustimization 0.1.1 [INFO] tweaked toml for crates.io crate rustimization 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustimization 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbcc6a4a1bbadfb9dd03dd138d6f275d3011319895460c9fda9d89116a1ae533 [INFO] running `Command { std: "docker" "start" "-a" "bbcc6a4a1bbadfb9dd03dd138d6f275d3011319895460c9fda9d89116a1ae533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbcc6a4a1bbadfb9dd03dd138d6f275d3011319895460c9fda9d89116a1ae533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbcc6a4a1bbadfb9dd03dd138d6f275d3011319895460c9fda9d89116a1ae533", kill_on_drop: false }` [INFO] [stdout] bbcc6a4a1bbadfb9dd03dd138d6f275d3011319895460c9fda9d89116a1ae533 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af7a183a24cf655305067e388dc2a98a731d136343e69208b8892d3822add3a5 [INFO] running `Command { std: "docker" "start" "-a" "af7a183a24cf655305067e388dc2a98a731d136343e69208b8892d3822add3a5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lbfgsb-sys v0.1.0 [INFO] [stderr] Compiling cg-sys v0.1.0 [INFO] [stderr] Compiling rustimization v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | f:&'a Fn(&Vec)->c_double, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | f:&'a dyn Fn(&Vec)->c_double, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | g:&'a Fn(&Vec)->Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | f:&'a Fn(&Vec)->c_double, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | f:&'a dyn Fn(&Vec)->c_double, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | g:&'a Fn(&Vec)->Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | f:&'a Fn(&Vec)->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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | f:&'a dyn Fn(&Vec)->f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | g:&'a Fn(&Vec)->Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:28:52 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:28:88 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a dyn Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:21:88 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a dyn Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a dyn Fn(&Vec)->Vec,m:&'a str)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.81s [INFO] running `Command { std: "docker" "inspect" "af7a183a24cf655305067e388dc2a98a731d136343e69208b8892d3822add3a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7a183a24cf655305067e388dc2a98a731d136343e69208b8892d3822add3a5", kill_on_drop: false }` [INFO] [stdout] af7a183a24cf655305067e388dc2a98a731d136343e69208b8892d3822add3a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5e4f78540ce936560cdd7bb51783161bf60bb71194b33f84ef19b4fd50f59b5 [INFO] running `Command { std: "docker" "start" "-a" "d5e4f78540ce936560cdd7bb51783161bf60bb71194b33f84ef19b4fd50f59b5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | f:&'a Fn(&Vec)->c_double, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | f:&'a dyn Fn(&Vec)->c_double, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | g:&'a Fn(&Vec)->Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | f:&'a Fn(&Vec)->c_double, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | f:&'a dyn Fn(&Vec)->c_double, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | g:&'a Fn(&Vec)->Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | f:&'a Fn(&Vec)->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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | f:&'a dyn Fn(&Vec)->f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | g:&'a Fn(&Vec)->Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:28:52 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:28:88 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a dyn Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:21:88 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a dyn Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustimization v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a dyn Fn(&Vec)->Vec,m:&'a str)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | f:&'a Fn(&Vec)->c_double, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | f:&'a dyn Fn(&Vec)->c_double, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | g:&'a Fn(&Vec)->Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | f:&'a Fn(&Vec)->c_double, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | f:&'a dyn Fn(&Vec)->c_double, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | g:&'a Fn(&Vec)->Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | f:&'a Fn(&Vec)->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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | f:&'a dyn Fn(&Vec)->f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | g:&'a Fn(&Vec)->Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:28:52 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lbfgsb_minimizer.rs:28:88 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a dyn Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cg_minimizer.rs:21:88 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a dyn Fn(&Vec)->Vec)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minimizer.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a dyn Fn(&Vec)->Vec,m:&'a str)->Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "d5e4f78540ce936560cdd7bb51783161bf60bb71194b33f84ef19b4fd50f59b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5e4f78540ce936560cdd7bb51783161bf60bb71194b33f84ef19b4fd50f59b5", kill_on_drop: false }` [INFO] [stdout] d5e4f78540ce936560cdd7bb51783161bf60bb71194b33f84ef19b4fd50f59b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] acb93ee692b80ff587c5e2aa50feef77d32e2ce2100c44f08dabf7f51b8f4acf [INFO] running `Command { std: "docker" "start" "-a" "acb93ee692b80ff587c5e2aa50feef77d32e2ce2100c44f08dabf7f51b8f4acf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lbfgsb_minimizer.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | f:&'a Fn(&Vec)->c_double, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 | f:&'a dyn Fn(&Vec)->c_double, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lbfgsb_minimizer.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | g:&'a Fn(&Vec)->Vec, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cg_minimizer.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | f:&'a Fn(&Vec)->c_double, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 | f:&'a dyn Fn(&Vec)->c_double, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cg_minimizer.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | g:&'a Fn(&Vec)->Vec, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/minimizer.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | f:&'a Fn(&Vec)->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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 5 | f:&'a dyn Fn(&Vec)->f64, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/minimizer.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | g:&'a Fn(&Vec)->Vec, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 | g:&'a dyn Fn(&Vec)->Vec, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lbfgsb_minimizer.rs:28:52 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lbfgsb_minimizer.rs:28:88 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a dyn Fn(&Vec)->Vec)->Self{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cg_minimizer.rs:21:52 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cg_minimizer.rs:21:88 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a Fn(&Vec)->Vec)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->c_double,gd:&'a dyn Fn(&Vec)->Vec)->Self{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/minimizer.rs:14:47 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(xvec:&'a mut Vec,func:&'a dyn Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/minimizer.rs:14:73 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a Fn(&Vec)->Vec,m:&'a str)->Self{ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(xvec:&'a mut Vec,func:&'a Fn(&Vec)->f64,gd:&'a dyn Fn(&Vec)->Vec,m:&'a str)->Self{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rustimization` (lib) generated 12 warnings (run `cargo fix --lib -p rustimization` to apply 12 suggestions) [INFO] [stderr] warning: `rustimization` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustimization-358aace1ee5b8a57) [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] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-895a4cafe0dae6f3) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rustimization [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" "acb93ee692b80ff587c5e2aa50feef77d32e2ce2100c44f08dabf7f51b8f4acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb93ee692b80ff587c5e2aa50feef77d32e2ce2100c44f08dabf7f51b8f4acf", kill_on_drop: false }` [INFO] [stdout] acb93ee692b80ff587c5e2aa50feef77d32e2ce2100c44f08dabf7f51b8f4acf