[INFO] cloning repository https://github.com/maxastyler/Spirograph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxastyler/Spirograph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxastyler%2FSpirograph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxastyler%2FSpirograph'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d639d179214179e4843bca5cbd646dc9a1959e5d [INFO] testing maxastyler/Spirograph against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxastyler%2FSpirograph" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxastyler/Spirograph on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxastyler/Spirograph [INFO] finished tweaking git repo https://github.com/maxastyler/Spirograph [INFO] tweaked toml for git repo https://github.com/maxastyler/Spirograph written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/maxastyler/Spirograph already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "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] be2d7726e8a5bf0583dab674691e47c60790194b04d5a4d43b01b158adb6b1a7 [INFO] running `Command { std: "docker" "start" "-a" "be2d7726e8a5bf0583dab674691e47c60790194b04d5a4d43b01b158adb6b1a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be2d7726e8a5bf0583dab674691e47c60790194b04d5a4d43b01b158adb6b1a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2d7726e8a5bf0583dab674691e47c60790194b04d5a4d43b01b158adb6b1a7", kill_on_drop: false }` [INFO] [stdout] be2d7726e8a5bf0583dab674691e47c60790194b04d5a4d43b01b158adb6b1a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26a5cdcb8eced2d108caa5e3fa6a8205098e61d90336698218679356f771ceed [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" "26a5cdcb8eced2d108caa5e3fa6a8205098e61d90336698218679356f771ceed", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.8 [INFO] [stderr] Compiling inflate v0.3.3 [INFO] [stderr] Compiling deflate v0.7.17 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.3.20 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num-rational v0.1.40 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling spirograph v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | fn normal(f: &Fn(f64) -> (f64, f64), dx: f64, t: f64) -> (f64, 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] 21 - fn normal(f: &Fn(f64) -> (f64, f64), dx: f64, t: f64) -> (f64, f64) { [INFO] [stdout] 21 + fn normal(f: &dyn Fn(f64) -> (f64, f64), dx: f64, t: f64) -> (f64, f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn gen_envelope(h: f64) -> Box 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] 34 - fn gen_envelope(h: f64) -> Box f64> { [INFO] [stdout] 34 + fn gen_envelope(h: f64) -> Box f64> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | fn double_envelope(h: f64) -> Box 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] 40 - fn double_envelope(h: f64) -> Box f64> { [INFO] [stdout] 40 + fn double_envelope(h: f64) -> Box f64> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:98 [INFO] [stdout] | [INFO] [stdout] 46 | fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [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] 46 - fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] 46 + fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [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] 46 - fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] 46 + fn envelope_path<'a>(path: &'a dyn Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [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] 46 - fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] 46 + fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:91 [INFO] [stdout] | [INFO] [stdout] 64 | fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(... [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] 64 - fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] 64 + fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & dyn Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:135 [INFO] [stdout] | [INFO] [stdout] 64 | ...path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::V... [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] 64 - fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] 64 + fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &dyn Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:150 [INFO] [stdout] | [INFO] [stdout] 64 | ... Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] 64 + fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `path` [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn path(t: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `envelope` [INFO] [stdout] --> src/main.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn envelope(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `double_envelope` [INFO] [stdout] --> src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn double_envelope(h: f64) -> Box f64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.89s [INFO] running `Command { std: "docker" "inspect" "26a5cdcb8eced2d108caa5e3fa6a8205098e61d90336698218679356f771ceed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26a5cdcb8eced2d108caa5e3fa6a8205098e61d90336698218679356f771ceed", kill_on_drop: false }` [INFO] [stdout] 26a5cdcb8eced2d108caa5e3fa6a8205098e61d90336698218679356f771ceed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "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] a9fc4deb73adb3184eb0f746cc60dfd02a01be7528c65a4f2a74342fcfe4caf8 [INFO] running `Command { std: "docker" "start" "-a" "a9fc4deb73adb3184eb0f746cc60dfd02a01be7528c65a4f2a74342fcfe4caf8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling spirograph v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | fn normal(f: &Fn(f64) -> (f64, f64), dx: f64, t: f64) -> (f64, 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] 21 - fn normal(f: &Fn(f64) -> (f64, f64), dx: f64, t: f64) -> (f64, f64) { [INFO] [stdout] 21 + fn normal(f: &dyn Fn(f64) -> (f64, f64), dx: f64, t: f64) -> (f64, f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn gen_envelope(h: f64) -> Box 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] 34 - fn gen_envelope(h: f64) -> Box f64> { [INFO] [stdout] 34 + fn gen_envelope(h: f64) -> Box f64> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | fn double_envelope(h: f64) -> Box 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] 40 - fn double_envelope(h: f64) -> Box f64> { [INFO] [stdout] 40 + fn double_envelope(h: f64) -> Box f64> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:98 [INFO] [stdout] | [INFO] [stdout] 46 | fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [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] 46 - fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] 46 + fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [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] 46 - fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] 46 + fn envelope_path<'a>(path: &'a dyn Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [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] 46 - fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] 46 + fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:91 [INFO] [stdout] | [INFO] [stdout] 64 | fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(... [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] 64 - fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] 64 + fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & dyn Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:135 [INFO] [stdout] | [INFO] [stdout] 64 | ...path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::V... [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] 64 - fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] 64 + fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &dyn Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:150 [INFO] [stdout] | [INFO] [stdout] 64 | ... Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] 64 + fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `path` [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn path(t: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `envelope` [INFO] [stdout] --> src/main.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn envelope(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `double_envelope` [INFO] [stdout] --> src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn double_envelope(h: f64) -> Box f64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.15s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/spirograph-8ae9c617ffdb8c77) [INFO] running `Command { std: "docker" "inspect" "a9fc4deb73adb3184eb0f746cc60dfd02a01be7528c65a4f2a74342fcfe4caf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9fc4deb73adb3184eb0f746cc60dfd02a01be7528c65a4f2a74342fcfe4caf8", kill_on_drop: false }` [INFO] [stdout] a9fc4deb73adb3184eb0f746cc60dfd02a01be7528c65a4f2a74342fcfe4caf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1015ff7b68f94d8cef2a2c8ebf600d80097b4fcd226e36aaac318254bdae0dd6 [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" "1015ff7b68f94d8cef2a2c8ebf600d80097b4fcd226e36aaac318254bdae0dd6", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:21:15 [INFO] [stderr] | [INFO] [stderr] 21 | fn normal(f: &Fn(f64) -> (f64, f64), dx: f64, t: f64) -> (f64, 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] 21 - fn normal(f: &Fn(f64) -> (f64, f64), dx: f64, t: f64) -> (f64, f64) { [INFO] [stderr] 21 + fn normal(f: &dyn Fn(f64) -> (f64, f64), dx: f64, t: f64) -> (f64, f64) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | fn gen_envelope(h: f64) -> Box 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] 34 - fn gen_envelope(h: f64) -> Box f64> { [INFO] [stderr] 34 + fn gen_envelope(h: f64) -> Box f64> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:40:35 [INFO] [stderr] | [INFO] [stderr] 40 | fn double_envelope(h: f64) -> Box 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] 40 - fn double_envelope(h: f64) -> Box f64> { [INFO] [stderr] 40 + fn double_envelope(h: f64) -> Box f64> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:46:98 [INFO] [stderr] | [INFO] [stderr] 46 | fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [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] 46 - fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stderr] 46 + fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:46:32 [INFO] [stderr] | [INFO] [stderr] 46 | fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [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] 46 - fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stderr] 46 + fn envelope_path<'a>(path: &'a dyn Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:46:69 [INFO] [stderr] | [INFO] [stderr] 46 | fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [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] 46 - fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stderr] 46 + fn envelope_path<'a>(path: &'a Fn(f64) -> (f64, f64), envelope: Box f64 + 'a>) -> Box (f64, f64) + 'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:64:91 [INFO] [stderr] | [INFO] [stderr] 64 | fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(... [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] 64 - fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stderr] 64 + fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & dyn Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:64:135 [INFO] [stderr] | [INFO] [stderr] 64 | ...path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::V... [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] 64 - fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stderr] 64 + fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &dyn Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:64:150 [INFO] [stderr] | [INFO] [stderr] 64 | ... Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 64 - fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stderr] 64 + fn spiro_image(img_res: (u32, u32), path_spread: Vec, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function is never used: `path` [INFO] [stderr] --> src/main.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn path(t: f64) -> (f64, f64) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `envelope` [INFO] [stderr] --> src/main.rs:29:4 [INFO] [stderr] | [INFO] [stderr] 29 | fn envelope(t: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `double_envelope` [INFO] [stderr] --> src/main.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | fn double_envelope(h: f64) -> Box f64> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `spirograph` (bin "spirograph" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/spirograph-8ae9c617ffdb8c77) [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" "1015ff7b68f94d8cef2a2c8ebf600d80097b4fcd226e36aaac318254bdae0dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1015ff7b68f94d8cef2a2c8ebf600d80097b4fcd226e36aaac318254bdae0dd6", kill_on_drop: false }` [INFO] [stdout] 1015ff7b68f94d8cef2a2c8ebf600d80097b4fcd226e36aaac318254bdae0dd6