[INFO] cloning repository https://github.com/iamazy/rust-cookbook-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamazy/rust-cookbook-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamazy%2Frust-cookbook-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamazy%2Frust-cookbook-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f440cc675b9c6907baa7bfbde067d26d0b5ebf4 [INFO] testing iamazy/rust-cookbook-code against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamazy%2Frust-cookbook-code" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iamazy/rust-cookbook-code on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iamazy/rust-cookbook-code [INFO] finished tweaking git repo https://github.com/iamazy/rust-cookbook-code [INFO] tweaked toml for git repo https://github.com/iamazy/rust-cookbook-code written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/iamazy/rust-cookbook-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", 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] 15410ae175dc17ab55491e222d77d8c6a9fdd189b08886402b61f5a6f8c392e4 [INFO] running `Command { std: "docker" "start" "-a" "15410ae175dc17ab55491e222d77d8c6a9fdd189b08886402b61f5a6f8c392e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15410ae175dc17ab55491e222d77d8c6a9fdd189b08886402b61f5a6f8c392e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15410ae175dc17ab55491e222d77d8c6a9fdd189b08886402b61f5a6f8c392e4", kill_on_drop: false }` [INFO] [stdout] 15410ae175dc17ab55491e222d77d8c6a9fdd189b08886402b61f5a6f8c392e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1852bf4b23720e59cc6dbae51e5e9e2d5472799213e34a032a4039bef0beee2a [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" "1852bf4b23720e59cc6dbae51e5e9e2d5472799213e34a032a4039bef0beee2a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling protobuf v2.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling data-encoding v2.2.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling slog-scope v4.3.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling slog-stdlog v3.0.5 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling slog-async v2.5.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling slog-stdlog v4.0.0 [INFO] [stderr] Compiling slog-term v2.5.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling getset v0.0.7 [INFO] [stderr] Compiling protobuf-codegen v2.0.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling protobuf-build v0.8.0 [INFO] [stderr] Compiling image v0.23.0 [INFO] [stderr] Compiling raft-proto v0.6.0-alpha [INFO] [stderr] Compiling raft v0.6.0-alpha [INFO] [stderr] Compiling rust-cookbook-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::create_dir_all` [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::create_dir_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `bail` [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{bail, Error, Result}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MatchOptions`, `glob_with` [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use glob::{glob_with, MatchOptions}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | (x + y) [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error_chain::ChainedError` [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use error_chain::ChainedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decompress_tarball` [INFO] [stdout] --> src/compress/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn decompress_tarball() -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decompress_tarball2` [INFO] [stdout] --> src/compress/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decompress_tarball2() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_fractal` [INFO] [stdout] --> src/concurrency/explicit_threads.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn draw_fractal() -> Result<(), RecvError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `julia` [INFO] [stdout] --> src/concurrency/explicit_threads.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn julia(c: Complex, x: u32, y: u32, width: u32, height: u32, max_iter: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `normalize` [INFO] [stdout] --> src/concurrency/explicit_threads.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn normalize(color: f32, factor: f32) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `wavelength_to_rgb` [INFO] [stdout] --> src/concurrency/explicit_threads.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn wavelength_to_rgb(wavelength: u32) -> Rgb { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_thumbnail` [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn make_thumbnail(original: PA, thumb_dir: PB, long_edge: u32) -> Result<()> [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 2m 01s [INFO] running `Command { std: "docker" "inspect" "1852bf4b23720e59cc6dbae51e5e9e2d5472799213e34a032a4039bef0beee2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1852bf4b23720e59cc6dbae51e5e9e2d5472799213e34a032a4039bef0beee2a", kill_on_drop: false }` [INFO] [stdout] 1852bf4b23720e59cc6dbae51e5e9e2d5472799213e34a032a4039bef0beee2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] d37c01491bf78d9f22a44cd50614060b0a8126ea858413bbde1c7d2c61ed1d7e [INFO] running `Command { std: "docker" "start" "-a" "d37c01491bf78d9f22a44cd50614060b0a8126ea858413bbde1c7d2c61ed1d7e", kill_on_drop: false }` [INFO] [stderr] Compiling rust-cookbook-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::create_dir_all` [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::create_dir_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `bail` [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{bail, Error, Result}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MatchOptions`, `glob_with` [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use glob::{glob_with, MatchOptions}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | (x + y) [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error_chain::ChainedError` [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use error_chain::ChainedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decompress_tarball` [INFO] [stdout] --> src/compress/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn decompress_tarball() -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decompress_tarball2` [INFO] [stdout] --> src/compress/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decompress_tarball2() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_fractal` [INFO] [stdout] --> src/concurrency/explicit_threads.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn draw_fractal() -> Result<(), RecvError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `julia` [INFO] [stdout] --> src/concurrency/explicit_threads.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn julia(c: Complex, x: u32, y: u32, width: u32, height: u32, max_iter: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `normalize` [INFO] [stdout] --> src/concurrency/explicit_threads.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn normalize(color: f32, factor: f32) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `wavelength_to_rgb` [INFO] [stdout] --> src/concurrency/explicit_threads.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn wavelength_to_rgb(wavelength: u32) -> Rgb { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_thumbnail` [INFO] [stdout] --> src/concurrency/parallel_tasks.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn make_thumbnail(original: PA, thumb_dir: PB, long_edge: u32) -> Result<()> [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 1.64s [INFO] running `Command { std: "docker" "inspect" "d37c01491bf78d9f22a44cd50614060b0a8126ea858413bbde1c7d2c61ed1d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d37c01491bf78d9f22a44cd50614060b0a8126ea858413bbde1c7d2c61ed1d7e", kill_on_drop: false }` [INFO] [stdout] d37c01491bf78d9f22a44cd50614060b0a8126ea858413bbde1c7d2c61ed1d7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 36c8814ec4cb97aea20030c98d7d0de8ae755d008a3d63846609e0934391eece [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" "36c8814ec4cb97aea20030c98d7d0de8ae755d008a3d63846609e0934391eece", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fs::create_dir_all` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fs::create_dir_all; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `bail` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use anyhow::{bail, Error, Result}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MatchOptions`, `glob_with` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | use glob::{glob_with, MatchOptions}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | (x + y) [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `error_chain::ChainedError` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use error_chain::ChainedError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `decompress_tarball` [INFO] [stderr] --> src/compress/mod.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn decompress_tarball() -> Result<(), std::io::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `decompress_tarball2` [INFO] [stderr] --> src/compress/mod.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn decompress_tarball2() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `draw_fractal` [INFO] [stderr] --> src/concurrency/explicit_threads.rs:130:8 [INFO] [stderr] | [INFO] [stderr] 130 | pub fn draw_fractal() -> Result<(), RecvError> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `julia` [INFO] [stderr] --> src/concurrency/explicit_threads.rs:159:4 [INFO] [stderr] | [INFO] [stderr] 159 | fn julia(c: Complex, x: u32, y: u32, width: u32, height: u32, max_iter: u32) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `normalize` [INFO] [stderr] --> src/concurrency/explicit_threads.rs:179:4 [INFO] [stderr] | [INFO] [stderr] 179 | fn normalize(color: f32, factor: f32) -> u8 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `wavelength_to_rgb` [INFO] [stderr] --> src/concurrency/explicit_threads.rs:183:4 [INFO] [stderr] | [INFO] [stderr] 183 | fn wavelength_to_rgb(wavelength: u32) -> Rgb { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `make_thumbnail` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:123:4 [INFO] [stderr] | [INFO] [stderr] 123 | fn make_thumbnail(original: PA, thumb_dir: PB, long_edge: u32) -> Result<()> [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_cookbook_code-ecef5501262cd26f [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "36c8814ec4cb97aea20030c98d7d0de8ae755d008a3d63846609e0934391eece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c8814ec4cb97aea20030c98d7d0de8ae755d008a3d63846609e0934391eece", kill_on_drop: false }` [INFO] [stdout] 36c8814ec4cb97aea20030c98d7d0de8ae755d008a3d63846609e0934391eece