[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxastyler%2FSpirograph" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxastyler/Spirograph on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-12/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ff7033ef5c5860f4c5f16b87f2fbf65f42e75ec1b0a050c3b899c317d6e4c32 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ff7033ef5c5860f4c5f16b87f2fbf65f42e75ec1b0a050c3b899c317d6e4c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ff7033ef5c5860f4c5f16b87f2fbf65f42e75ec1b0a050c3b899c317d6e4c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff7033ef5c5860f4c5f16b87f2fbf65f42e75ec1b0a050c3b899c317d6e4c32", kill_on_drop: false }` [INFO] [stdout] 9ff7033ef5c5860f4c5f16b87f2fbf65f42e75ec1b0a050c3b899c317d6e4c32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e3b44c41176ab5d55d05b5dc00d35a070cae690f2f8e7b3f834cded4c38a77d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5e3b44c41176ab5d55d05b5dc00d35a070cae690f2f8e7b3f834cded4c38a77d", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling libc v0.2.36 [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 adler32 v1.0.2 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.8 [INFO] [stderr] Compiling inflate v0.3.3 [INFO] [stderr] Compiling deflate v0.7.17 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling rand v0.3.20 [INFO] [stderr] Compiling num_cpus v1.8.0 [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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> (f64, f64)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> (f64, f64)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64 + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> (f64, f64) + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 | ...>, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer (f64, f64)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 | ...4), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> Box f64>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 | ...64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 32.42s [INFO] running `Command { std: "docker" "inspect" "5e3b44c41176ab5d55d05b5dc00d35a070cae690f2f8e7b3f834cded4c38a77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3b44c41176ab5d55d05b5dc00d35a070cae690f2f8e7b3f834cded4c38a77d", kill_on_drop: false }` [INFO] [stdout] 5e3b44c41176ab5d55d05b5dc00d35a070cae690f2f8e7b3f834cded4c38a77d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] f705974012f9543589d80beba96871f6d94409ed30817d4456ee506a40b06353 [INFO] running `Command { std: "docker" "start" "-a" "f705974012f9543589d80beba96871f6d94409ed30817d4456ee506a40b06353", 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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> (f64, f64)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> (f64, f64)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64 + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> (f64, f64) + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 | ...>, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer (f64, f64)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 | ...4), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> Box f64>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 | ...64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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.90s [INFO] running `Command { std: "docker" "inspect" "f705974012f9543589d80beba96871f6d94409ed30817d4456ee506a40b06353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f705974012f9543589d80beba96871f6d94409ed30817d4456ee506a40b06353", kill_on_drop: false }` [INFO] [stdout] f705974012f9543589d80beba96871f6d94409ed30817d4456ee506a40b06353 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] 9ea923ad35c621c8131fccb38f9d993276b16af9103267fde7646507824206b0 [INFO] running `Command { std: "docker" "start" "-a" "9ea923ad35c621c8131fccb38f9d993276b16af9103267fde7646507824206b0", 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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> (f64, f64)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> (f64, f64)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64 + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> (f64, f64) + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 | ...>, path_points: Vec, path: & Fn(f64) -> (f64, f64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer (f64, f64)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 | ...4), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> Box f64>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 | ...64), envelope_generator: &Fn(f64) -> Box f64>) -> image::ImageBuffer, std::vec::Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> f64` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/spirograph-a69e919000bc21bc) [INFO] running `Command { std: "docker" "inspect" "9ea923ad35c621c8131fccb38f9d993276b16af9103267fde7646507824206b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea923ad35c621c8131fccb38f9d993276b16af9103267fde7646507824206b0", kill_on_drop: false }` [INFO] [stdout] 9ea923ad35c621c8131fccb38f9d993276b16af9103267fde7646507824206b0