[INFO] updating cached repository https://github.com/ackwill/rust-face-rec [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d2b8746319f30c2caeb7b0c1743ce55faad0357d [INFO] checking ackwill/rust-face-rec against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fackwill%2Frust-face-rec" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ackwill/rust-face-rec on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/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 `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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 `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 21d9dbb32c2843fd91f10c4589e4713b03e08b61b2e9b71b6e0cfd53d0e9db53 [INFO] running `"docker" "start" "-a" "21d9dbb32c2843fd91f10c4589e4713b03e08b61b2e9b71b6e0cfd53d0e9db53"` [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking lzw v0.9.0 [INFO] [stderr] Checking inflate v0.1.1 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking gif v0.7.0 [INFO] [stderr] Checking png v0.4.3 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking nn v0.1.6 [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] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/network.rs:180:61 [INFO] [stderr] | [INFO] [stderr] 180 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/network.rs:188:52 [INFO] [stderr] | [INFO] [stderr] 188 | ... Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/network.rs:203:28 [INFO] [stderr] | [INFO] [stderr] 203 | ... Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/network.rs:210:48 [INFO] [stderr] | [INFO] [stderr] 210 | ... Error::description(&why)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stderr] --> src/recognizer/mod.rs:180:40 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn calc_image_hist(img: &mut GrayImage, cell_x: u32, cell_y: u32) -> Histogram { [INFO] [stderr] | - help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stderr] ... [INFO] [stderr] 180 | let cell = img.sub_image::<'a>(x*cell_width, y*cell_height, cell_width, cell_height).to_image(); [INFO] [stderr] | ^^ undeclared lifetime [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0261`. [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] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/network.rs:180:61 [INFO] [stderr] | [INFO] [stderr] 180 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/network.rs:188:52 [INFO] [stderr] | [INFO] [stderr] 188 | ... Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/network.rs:203:28 [INFO] [stderr] | [INFO] [stderr] 203 | ... Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/network.rs:210:48 [INFO] [stderr] | [INFO] [stderr] 210 | ... Error::description(&why)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stderr] --> src/recognizer/mod.rs:180:40 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn calc_image_hist(img: &mut GrayImage, cell_x: u32, cell_y: u32) -> Histogram { [INFO] [stderr] | - help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stderr] ... [INFO] [stderr] 180 | let cell = img.sub_image::<'a>(x*cell_width, y*cell_height, cell_width, cell_height).to_image(); [INFO] [stderr] | ^^ undeclared lifetime [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0261`. [INFO] [stderr] error: could not compile `rust-face-rec`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "21d9dbb32c2843fd91f10c4589e4713b03e08b61b2e9b71b6e0cfd53d0e9db53"` [INFO] running `"docker" "rm" "-f" "21d9dbb32c2843fd91f10c4589e4713b03e08b61b2e9b71b6e0cfd53d0e9db53"` [INFO] [stdout] 21d9dbb32c2843fd91f10c4589e4713b03e08b61b2e9b71b6e0cfd53d0e9db53