[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 master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxastyler%2FSpirograph" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maxastyler/Spirograph on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/maxastyler/Spirograph already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded adler32 v1.0.2 [INFO] [stderr] Downloaded scoped_threadpool v0.1.8 [INFO] [stderr] Downloaded num-iter v0.1.34 [INFO] [stderr] Downloaded num-traits v0.1.42 [INFO] [stderr] Downloaded jpeg-decoder v0.1.13 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded num-integer v0.1.35 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded rand v0.3.20 [INFO] [stderr] Downloaded png v0.11.0 [INFO] [stderr] Downloaded deflate v0.7.17 [INFO] [stderr] Downloaded rayon v0.8.2 [INFO] [stderr] Downloaded image v0.18.0 [INFO] [stderr] Downloaded num_cpus v1.8.0 [INFO] [stderr] Downloaded num-rational v0.1.40 [INFO] [stderr] Downloaded libc v0.2.36 [INFO] [stderr] Downloaded inflate v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6a6a1a0abafc7f90eea5686f926adc13b6bd923e4f289cb18504a2b692c00b0 [INFO] running `Command { std: "docker" "start" "-a" "c6a6a1a0abafc7f90eea5686f926adc13b6bd923e4f289cb18504a2b692c00b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6a6a1a0abafc7f90eea5686f926adc13b6bd923e4f289cb18504a2b692c00b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a6a1a0abafc7f90eea5686f926adc13b6bd923e4f289cb18504a2b692c00b0", kill_on_drop: false }` [INFO] [stdout] c6a6a1a0abafc7f90eea5686f926adc13b6bd923e4f289cb18504a2b692c00b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d835efa755529160817abfdd1db820ca60d8707f6240484d60a9503bb7bad00 [INFO] running `Command { std: "docker" "start" "-a" "3d835efa755529160817abfdd1db820ca60d8707f6240484d60a9503bb7bad00", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.8 [INFO] [stderr] Compiling inflate v0.3.3 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling deflate v0.7.17 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.3.20 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rayon v0.8.2 [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 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] = 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] 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, 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] | +++ [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: if this is a dyn-compatible trait, 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] | +++ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, 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: &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: if this is a dyn-compatible trait, 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] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path` is never used [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 `envelope` is never used [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 `double_envelope` is never used [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.09s [INFO] running `Command { std: "docker" "inspect" "3d835efa755529160817abfdd1db820ca60d8707f6240484d60a9503bb7bad00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d835efa755529160817abfdd1db820ca60d8707f6240484d60a9503bb7bad00", kill_on_drop: false }` [INFO] [stdout] 3d835efa755529160817abfdd1db820ca60d8707f6240484d60a9503bb7bad00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7ba03225193ca8bd7e674fc9ffe29f19f91d9256293df9340c4bce5f956d8f4 [INFO] running `Command { std: "docker" "start" "-a" "c7ba03225193ca8bd7e674fc9ffe29f19f91d9256293df9340c4bce5f956d8f4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] = 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] 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, 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] | +++ [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: if this is a dyn-compatible trait, 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] | +++ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, 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: &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: if this is a dyn-compatible trait, 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] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path` is never used [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 `envelope` is never used [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 `double_envelope` is never used [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "c7ba03225193ca8bd7e674fc9ffe29f19f91d9256293df9340c4bce5f956d8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7ba03225193ca8bd7e674fc9ffe29f19f91d9256293df9340c4bce5f956d8f4", kill_on_drop: false }` [INFO] [stdout] c7ba03225193ca8bd7e674fc9ffe29f19f91d9256293df9340c4bce5f956d8f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 58227b0ee91f57b809f19ba9d52b54adbc2a3a6f0a52975e31887c02dc61d63a [INFO] running `Command { std: "docker" "start" "-a" "58227b0ee91f57b809f19ba9d52b54adbc2a3a6f0a52975e31887c02dc61d63a", 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/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] = 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] 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, 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] | +++ [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: if this is a dyn-compatible trait, 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] | +++ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, 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: &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: if this is a dyn-compatible trait, 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] | +++ [INFO] [stderr] [INFO] [stderr] warning: function `path` is never used [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 `envelope` is never used [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 `double_envelope` is never used [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 (run `cargo fix --bin "spirograph" --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/spirograph-a5bf119bb12a575a) [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" "58227b0ee91f57b809f19ba9d52b54adbc2a3a6f0a52975e31887c02dc61d63a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58227b0ee91f57b809f19ba9d52b54adbc2a3a6f0a52975e31887c02dc61d63a", kill_on_drop: false }` [INFO] [stdout] 58227b0ee91f57b809f19ba9d52b54adbc2a3a6f0a52975e31887c02dc61d63a