[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#733b47ea4b1b86216f14ef56e49440c33933f230+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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maxastyler/Spirograph on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff865bd29ecf27dc89f542077024942fe1766e47cf07ba9bf9270fd9f9901ac5 [INFO] running `Command { std: "docker" "start" "-a" "ff865bd29ecf27dc89f542077024942fe1766e47cf07ba9bf9270fd9f9901ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff865bd29ecf27dc89f542077024942fe1766e47cf07ba9bf9270fd9f9901ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff865bd29ecf27dc89f542077024942fe1766e47cf07ba9bf9270fd9f9901ac5", kill_on_drop: false }` [INFO] [stdout] ff865bd29ecf27dc89f542077024942fe1766e47cf07ba9bf9270fd9f9901ac5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90ffea0cbde3ed212fc7fcdda13676a6cd525a5db67c7b58ff3e55d2870a0f81 [INFO] running `Command { std: "docker" "start" "-a" "90ffea0cbde3ed212fc7fcdda13676a6cd525a5db67c7b58ff3e55d2870a0f81", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling adler32 v1.0.2 [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 gif v0.9.2 [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 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] = 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" "90ffea0cbde3ed212fc7fcdda13676a6cd525a5db67c7b58ff3e55d2870a0f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90ffea0cbde3ed212fc7fcdda13676a6cd525a5db67c7b58ff3e55d2870a0f81", kill_on_drop: false }` [INFO] [stdout] 90ffea0cbde3ed212fc7fcdda13676a6cd525a5db67c7b58ff3e55d2870a0f81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62ceac2be220446205ac2fbe176de3732eec7de94ca39b5c488ecb2e664709ea [INFO] running `Command { std: "docker" "start" "-a" "62ceac2be220446205ac2fbe176de3732eec7de94ca39b5c488ecb2e664709ea", 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.31s [INFO] running `Command { std: "docker" "inspect" "62ceac2be220446205ac2fbe176de3732eec7de94ca39b5c488ecb2e664709ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ceac2be220446205ac2fbe176de3732eec7de94ca39b5c488ecb2e664709ea", kill_on_drop: false }` [INFO] [stdout] 62ceac2be220446205ac2fbe176de3732eec7de94ca39b5c488ecb2e664709ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 168564b396e39bec7ebfd94df8280e36c1c101eabfd0619f5da32abab3e4bc41 [INFO] running `Command { std: "docker" "start" "-a" "168564b396e39bec7ebfd94df8280e36c1c101eabfd0619f5da32abab3e4bc41", 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.08s [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" "168564b396e39bec7ebfd94df8280e36c1c101eabfd0619f5da32abab3e4bc41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "168564b396e39bec7ebfd94df8280e36c1c101eabfd0619f5da32abab3e4bc41", kill_on_drop: false }` [INFO] [stdout] 168564b396e39bec7ebfd94df8280e36c1c101eabfd0619f5da32abab3e4bc41