[INFO] cloning repository https://github.com/hkford/programming-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hkford/programming-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkford%2Fprogramming-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkford%2Fprogramming-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ffa490832a72e57735bebf2a780a373ef54b0cd [INFO] checking hkford/programming-rust against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkford%2Fprogramming-rust" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hkford/programming-rust on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hkford/programming-rust [INFO] finished tweaking git repo https://github.com/hkford/programming-rust [INFO] tweaked toml for git repo https://github.com/hkford/programming-rust written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/hkford/programming-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b3842c992f3c1bb48678c6e38d8a64121ec4e00398a5de2574c2b28cff0322a [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" "4b3842c992f3c1bb48678c6e38d8a64121ec4e00398a5de2574c2b28cff0322a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b3842c992f3c1bb48678c6e38d8a64121ec4e00398a5de2574c2b28cff0322a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3842c992f3c1bb48678c6e38d8a64121ec4e00398a5de2574c2b28cff0322a", kill_on_drop: false }` [INFO] [stdout] 4b3842c992f3c1bb48678c6e38d8a64121ec4e00398a5de2574c2b28cff0322a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7517fb72be86e17b5c3a6289c13cecb4d99dead36a75ecb8ab1c669d0e6e3d86 [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" "7517fb72be86e17b5c3a6289c13cecb4d99dead36a75ecb8ab1c669d0e6e3d86", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking png v0.7.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking image v0.13.0 [INFO] [stderr] Checking programming-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::todo` [INFO] [stdout] --> src/calculation/cmd.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::todo; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::todo` [INFO] [stdout] --> src/calculation/cmd.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::todo; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `todo` is assigned to, but never used [INFO] [stdout] --> src/calculation/todo.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut todo = Todo { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_todo` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `todo` is never read [INFO] [stdout] --> src/calculation/todo.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | todo = Todo { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `todo` is assigned to, but never used [INFO] [stdout] --> src/calculation/todo.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut todo = Todo { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_todo` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `todo` is never read [INFO] [stdout] --> src/calculation/todo.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | todo = Todo { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gcd` [INFO] [stdout] --> src/calculation/algebra.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn gcd(mut m: u64, mut n: u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `division` [INFO] [stdout] --> src/calculation/algebra.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn division(x: u64, y: u64) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `escape_time` [INFO] [stdout] --> src/calculation/algebra.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn escape_time(c: Complex, limit: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cmd_gcd` [INFO] [stdout] --> src/calculation/cmd.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn cmd_gcd() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `err_processing` [INFO] [stdout] --> src/calculation/cmd.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn err_processing() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_pair` [INFO] [stdout] --> src/calculation/cmd.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn parse_pair(s: &str, separator: char) -> Option<(T, T)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_complex` [INFO] [stdout] --> src/calculation/cmd.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn parse_complex(s: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_mandelbrot_cmd` [INFO] [stdout] --> src/calculation/cmd.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn draw_mandelbrot_cmd() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pixel_to_point` [INFO] [stdout] --> src/calculation/drawing.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pixel_to_point( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render` [INFO] [stdout] --> src/calculation/drawing.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_image` [INFO] [stdout] --> src/calculation/drawing.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write_image( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `drop_sample` [INFO] [stdout] --> src/calculation/todo.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn drop_sample() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `division` [INFO] [stdout] --> src/calculation/algebra.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn division(x: u64, y: u64) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `escape_time` [INFO] [stdout] --> src/calculation/algebra.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn escape_time(c: Complex, limit: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cmd_gcd` [INFO] [stdout] --> src/calculation/cmd.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn cmd_gcd() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `err_processing` [INFO] [stdout] --> src/calculation/cmd.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn err_processing() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_mandelbrot_cmd` [INFO] [stdout] --> src/calculation/cmd.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn draw_mandelbrot_cmd() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render` [INFO] [stdout] --> src/calculation/drawing.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_image` [INFO] [stdout] --> src/calculation/drawing.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn write_image( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `drop_sample` [INFO] [stdout] --> src/calculation/todo.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn drop_sample() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.40s [INFO] running `Command { std: "docker" "inspect" "7517fb72be86e17b5c3a6289c13cecb4d99dead36a75ecb8ab1c669d0e6e3d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7517fb72be86e17b5c3a6289c13cecb4d99dead36a75ecb8ab1c669d0e6e3d86", kill_on_drop: false }` [INFO] [stdout] 7517fb72be86e17b5c3a6289c13cecb4d99dead36a75ecb8ab1c669d0e6e3d86