[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 1.60.0 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 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 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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inflate v0.3.3 [INFO] [stderr] Downloaded deflate v0.7.17 [INFO] [stderr] Downloaded scoped_threadpool v0.1.8 [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" "+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] b5fd7a437dcc9c31a501037f85303b19c348ed82fb87aadb738f19f0b9b40ec9 [INFO] running `Command { std: "docker" "start" "-a" "b5fd7a437dcc9c31a501037f85303b19c348ed82fb87aadb738f19f0b9b40ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5fd7a437dcc9c31a501037f85303b19c348ed82fb87aadb738f19f0b9b40ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5fd7a437dcc9c31a501037f85303b19c348ed82fb87aadb738f19f0b9b40ec9", kill_on_drop: false }` [INFO] [stdout] b5fd7a437dcc9c31a501037f85303b19c348ed82fb87aadb738f19f0b9b40ec9 [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" "+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] bfef653e202c2671ba8fce62de24f110a0ee514ce5e0e99f7f91903485c3b8eb [INFO] running `Command { std: "docker" "start" "-a" "bfef653e202c2671ba8fce62de24f110a0ee514ce5e0e99f7f91903485c3b8eb", 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 deflate v0.7.17 [INFO] [stderr] Compiling inflate v0.3.3 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling gif v0.9.2 [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 34.08s [INFO] running `Command { std: "docker" "inspect" "bfef653e202c2671ba8fce62de24f110a0ee514ce5e0e99f7f91903485c3b8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfef653e202c2671ba8fce62de24f110a0ee514ce5e0e99f7f91903485c3b8eb", kill_on_drop: false }` [INFO] [stdout] bfef653e202c2671ba8fce62de24f110a0ee514ce5e0e99f7f91903485c3b8eb [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" "+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] d5124444f2e6ae913a2e591019c49965f96ecd1856b35d7e6febd6753f9a7ca9 [INFO] running `Command { std: "docker" "start" "-a" "d5124444f2e6ae913a2e591019c49965f96ecd1856b35d7e6febd6753f9a7ca9", kill_on_drop: false }` [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 0.92s [INFO] running `Command { std: "docker" "inspect" "d5124444f2e6ae913a2e591019c49965f96ecd1856b35d7e6febd6753f9a7ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5124444f2e6ae913a2e591019c49965f96ecd1856b35d7e6febd6753f9a7ca9", kill_on_drop: false }` [INFO] [stdout] d5124444f2e6ae913a2e591019c49965f96ecd1856b35d7e6febd6753f9a7ca9 [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" "+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] 458f4f2f473c9bbb2a2f133cd92172de3eac14625e2385b86f4ba70003638503 [INFO] running `Command { std: "docker" "start" "-a" "458f4f2f473c9bbb2a2f133cd92172de3eac14625e2385b86f4ba70003638503", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/main.rs:21:15 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 21 | fn normal(f: &Fn(f64) -> (f64, f64), dx: f64, t: f64) -> (f64, f64) { [INFO] [stdout] [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.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/spirograph-0c027ee816612e98) [INFO] running `Command { std: "docker" "inspect" "458f4f2f473c9bbb2a2f133cd92172de3eac14625e2385b86f4ba70003638503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "458f4f2f473c9bbb2a2f133cd92172de3eac14625e2385b86f4ba70003638503", kill_on_drop: false }` [INFO] [stdout] 458f4f2f473c9bbb2a2f133cd92172de3eac14625e2385b86f4ba70003638503