[INFO] cloning repository https://github.com/hemangandhi/ascii-cam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hemangandhi/ascii-cam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhemangandhi%2Fascii-cam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhemangandhi%2Fascii-cam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25b998ed9f1c0573b08f3e43da6fb06eb4a6699f [INFO] building hemangandhi/ascii-cam against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhemangandhi%2Fascii-cam" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hemangandhi/ascii-cam on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hemangandhi/ascii-cam [INFO] finished tweaking git repo https://github.com/hemangandhi/ascii-cam [INFO] tweaked toml for git repo https://github.com/hemangandhi/ascii-cam written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/hemangandhi/ascii-cam already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jpeg-decoder v0.1.14 [INFO] [stderr] Downloaded inflate v0.4.2 [INFO] [stderr] Downloaded num-derive v0.2.0 [INFO] [stderr] Downloaded rscam v0.5.4 [INFO] [stderr] Downloaded rayon v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7275671a8929766a9f7d237818fa2c0724aa17f45d452503e34d4ca2fcfa6187 [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" "7275671a8929766a9f7d237818fa2c0724aa17f45d452503e34d4ca2fcfa6187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7275671a8929766a9f7d237818fa2c0724aa17f45d452503e34d4ca2fcfa6187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7275671a8929766a9f7d237818fa2c0724aa17f45d452503e34d4ca2fcfa6187", kill_on_drop: false }` [INFO] [stdout] 7275671a8929766a9f7d237818fa2c0724aa17f45d452503e34d4ca2fcfa6187 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2720db10a9254b06996ae2210895d5f549faed63f5022e69fd4571391815d051 [INFO] running `Command { std: "docker" "start" "-a" "2720db10a9254b06996ae2210895d5f549faed63f5022e69fd4571391815d051", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling inflate v0.4.2 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling num-derive v0.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling ascii-cam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/filters.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] 21 + pub type ImageFilter = dyn Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `carl2` [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let carl2 = & *(filters::gaussian_blur(7.0)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_carl2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/filters.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: use fully disambiguated paths (i.e., `::Assoc`) to refer to associated types in type aliases [INFO] [stdout] --> src/filters.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use fully disambiguated paths (i.e., `::Assoc`) to refer to associated types in type aliases [INFO] [stdout] --> src/filters.rs:21:114 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 21 - pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] 21 + pub type ImageFilter

= Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.89s [INFO] running `Command { std: "docker" "inspect" "2720db10a9254b06996ae2210895d5f549faed63f5022e69fd4571391815d051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2720db10a9254b06996ae2210895d5f549faed63f5022e69fd4571391815d051", kill_on_drop: false }` [INFO] [stdout] 2720db10a9254b06996ae2210895d5f549faed63f5022e69fd4571391815d051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5ca3314646314875b391fd0b2c760fe6b6cb0a643438cd094f856ab687bd883 [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" "c5ca3314646314875b391fd0b2c760fe6b6cb0a643438cd094f856ab687bd883", kill_on_drop: false }` [INFO] [stderr] Compiling ascii-cam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/filters.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] 21 + pub type ImageFilter = dyn Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `carl2` [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let carl2 = & *(filters::gaussian_blur(7.0)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_carl2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/filters.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: use fully disambiguated paths (i.e., `::Assoc`) to refer to associated types in type aliases [INFO] [stdout] --> src/filters.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use fully disambiguated paths (i.e., `::Assoc`) to refer to associated types in type aliases [INFO] [stdout] --> src/filters.rs:21:114 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 21 - pub type ImageFilter = Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] 21 + pub type ImageFilter

= Fn(image::ImageBuffer>) -> image::ImageBuffer>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.90s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/ascii_cam-77cbc0cad99cc7ca) [INFO] running `Command { std: "docker" "inspect" "c5ca3314646314875b391fd0b2c760fe6b6cb0a643438cd094f856ab687bd883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ca3314646314875b391fd0b2c760fe6b6cb0a643438cd094f856ab687bd883", kill_on_drop: false }` [INFO] [stdout] c5ca3314646314875b391fd0b2c760fe6b6cb0a643438cd094f856ab687bd883