[INFO] cloning repository https://github.com/ackwill/rust-face-rec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ackwill/rust-face-rec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fackwill%2Frust-face-rec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fackwill%2Frust-face-rec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2b8746319f30c2caeb7b0c1743ce55faad0357d [INFO] checking ackwill/rust-face-rec against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fackwill%2Frust-face-rec" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ackwill/rust-face-rec on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ackwill/rust-face-rec [INFO] finished tweaking git repo https://github.com/ackwill/rust-face-rec [INFO] tweaked toml for git repo https://github.com/ackwill/rust-face-rec written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ackwill/rust-face-rec already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae8d046008b610143711997a4ad799a439851070d043c9b16bc896b1de3c2a0f [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" "ae8d046008b610143711997a4ad799a439851070d043c9b16bc896b1de3c2a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae8d046008b610143711997a4ad799a439851070d043c9b16bc896b1de3c2a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae8d046008b610143711997a4ad799a439851070d043c9b16bc896b1de3c2a0f", kill_on_drop: false }` [INFO] [stdout] ae8d046008b610143711997a4ad799a439851070d043c9b16bc896b1de3c2a0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6497736ef2846deca53f563ec6197f1df4cdcc33188936dd95f709a6ae48c3bd [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" "6497736ef2846deca53f563ec6197f1df4cdcc33188936dd95f709a6ae48c3bd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking lzw v0.9.0 [INFO] [stderr] Checking inflate v0.1.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking gif v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking nn v0.1.6 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking png v0.4.3 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking image v0.6.1 [INFO] [stderr] Checking rust-face-rec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/network.rs:180:61 [INFO] [stdout] | [INFO] [stdout] 180 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/network.rs:188:52 [INFO] [stdout] | [INFO] [stdout] 188 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/network.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/network.rs:210:48 [INFO] [stdout] | [INFO] [stdout] 210 | ... Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/recognizer/mod.rs:180:40 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn calc_image_hist(img: &mut GrayImage, cell_x: u32, cell_y: u32) -> Histogram { [INFO] [stdout] | - help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stdout] ... [INFO] [stdout] 180 | let cell = img.sub_image::<'a>(x*cell_width, y*cell_height, cell_width, cell_height).to_image(); [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-face-rec` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/network.rs:180:61 [INFO] [stdout] | [INFO] [stdout] 180 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/network.rs:188:52 [INFO] [stdout] | [INFO] [stdout] 188 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/network.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/network.rs:210:48 [INFO] [stdout] | [INFO] [stdout] 210 | ... Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/recognizer/mod.rs:180:40 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn calc_image_hist(img: &mut GrayImage, cell_x: u32, cell_y: u32) -> Histogram { [INFO] [stdout] | - help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stdout] ... [INFO] [stdout] 180 | let cell = img.sub_image::<'a>(x*cell_width, y*cell_height, cell_width, cell_height).to_image(); [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6497736ef2846deca53f563ec6197f1df4cdcc33188936dd95f709a6ae48c3bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6497736ef2846deca53f563ec6197f1df4cdcc33188936dd95f709a6ae48c3bd", kill_on_drop: false }` [INFO] [stdout] 6497736ef2846deca53f563ec6197f1df4cdcc33188936dd95f709a6ae48c3bd