[INFO] cloning repository https://github.com/fukgo/rust_book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fukgo/rust_book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffukgo%2Frust_book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffukgo%2Frust_book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fd463b185be098404d3e778d5485535b4a40487 [INFO] testing fukgo/rust_book/6fd463b185be098404d3e778d5485535b4a40487 against beta-2024-10-19 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffukgo%2Frust_book" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fukgo/rust_book on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fukgo/rust_book [INFO] finished tweaking git repo https://github.com/fukgo/rust_book [INFO] tweaked toml for git repo https://github.com/fukgo/rust_book written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fukgo/rust_book already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f88557516deb3b349bd1a61107a4c470dce6f213d8301e5ee8d46140a57cdd26 [INFO] running `Command { std: "docker" "start" "-a" "f88557516deb3b349bd1a61107a4c470dce6f213d8301e5ee8d46140a57cdd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f88557516deb3b349bd1a61107a4c470dce6f213d8301e5ee8d46140a57cdd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f88557516deb3b349bd1a61107a4c470dce6f213d8301e5ee8d46140a57cdd26", kill_on_drop: false }` [INFO] [stdout] f88557516deb3b349bd1a61107a4c470dce6f213d8301e5ee8d46140a57cdd26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbf336e03e8e16c3dcd03c11497c2e880070db1265683b633b71786b3f45a3e3 [INFO] running `Command { std: "docker" "start" "-a" "cbf336e03e8e16c3dcd03c11497c2e880070db1265683b633b71786b3f45a3e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bitstream-io v2.5.0 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rgb v0.8.45 [INFO] [stderr] Compiling object v0.36.2 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling tar v0.4.41 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling ravif v0.11.9 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling rust_book v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GzDecoder` [INFO] [stdout] --> src/bin/tar.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use flate2::read::{GzDecoder, GzEncoder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/bin/rand.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NormalError` [INFO] [stdout] --> src/bin/rand.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use rand_distr::{Distribution, Normal, NormalError,Standard}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/bin/tar.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::index::sample` [INFO] [stdout] --> src/bin/rand.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::index::sample; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpack` is never used [INFO] [stdout] --> src/bin/tar.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn unpack()->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 `single_thread` is never used [INFO] [stdout] --> src/bin/rand.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn single_thread(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiple_thread` is never used [INFO] [stdout] --> src/bin/rand.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn multiple_thread(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `range_rand` is never used [INFO] [stdout] --> src/bin/rand.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn range_rand(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uniform` is never used [INFO] [stdout] --> src/bin/rand.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn uniform(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_random` is never used [INFO] [stdout] --> src/bin/rand.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn normal_random(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/bin/rand.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | struct Point{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 73 | x:i32, [INFO] [stdout] | ^ [INFO] [stdout] 74 | y:i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `defined_rond` is never used [INFO] [stdout] --> src/bin/rand.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn defined_rond(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_pass` is never used [INFO] [stdout] --> src/bin/rand.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn generate_pass(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::error` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log4rs::append::file::FileAppender` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log4rs::append::file::FileAppender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log4rs::encode::pattern::PatternEncoder` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use log4rs::encode::pattern::PatternEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Appender`, `Config`, and `Root` [INFO] [stdout] --> src/main.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use log4rs::config::{Appender, Config, Root}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_time` is never used [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn add_time(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.68s [INFO] running `Command { std: "docker" "inspect" "cbf336e03e8e16c3dcd03c11497c2e880070db1265683b633b71786b3f45a3e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbf336e03e8e16c3dcd03c11497c2e880070db1265683b633b71786b3f45a3e3", kill_on_drop: false }` [INFO] [stdout] cbf336e03e8e16c3dcd03c11497c2e880070db1265683b633b71786b3f45a3e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edb6b2a2a999a6aeb7bac9a49c65bc12e9cff668f5fb3ed321cbba7c95337c82 [INFO] running `Command { std: "docker" "start" "-a" "edb6b2a2a999a6aeb7bac9a49c65bc12e9cff668f5fb3ed321cbba7c95337c82", kill_on_drop: false }` [INFO] [stderr] Compiling rust_book v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GzDecoder` [INFO] [stdout] --> src/bin/tar.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use flate2::read::{GzDecoder, GzEncoder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/bin/tar.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/bin/rand.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NormalError` [INFO] [stdout] --> src/bin/rand.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use rand_distr::{Distribution, Normal, NormalError,Standard}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::index::sample` [INFO] [stdout] --> src/bin/rand.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::index::sample; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpack` is never used [INFO] [stdout] --> src/bin/tar.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn unpack()->Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::error` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log4rs::append::file::FileAppender` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log4rs::append::file::FileAppender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log4rs::encode::pattern::PatternEncoder` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use log4rs::encode::pattern::PatternEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Appender`, `Config`, and `Root` [INFO] [stdout] --> src/main.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use log4rs::config::{Appender, Config, Root}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_thread` is never used [INFO] [stdout] --> src/bin/rand.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn single_thread(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiple_thread` is never used [INFO] [stdout] --> src/bin/rand.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn multiple_thread(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_time` is never used [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn add_time(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `range_rand` is never used [INFO] [stdout] --> src/bin/rand.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn range_rand(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uniform` is never used [INFO] [stdout] --> src/bin/rand.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn uniform(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_random` is never used [INFO] [stdout] --> src/bin/rand.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn normal_random(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/bin/rand.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | struct Point{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 73 | x:i32, [INFO] [stdout] | ^ [INFO] [stdout] 74 | y:i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `defined_rond` is never used [INFO] [stdout] --> src/bin/rand.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn defined_rond(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_pass` is never used [INFO] [stdout] --> src/bin/rand.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn generate_pass(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "edb6b2a2a999a6aeb7bac9a49c65bc12e9cff668f5fb3ed321cbba7c95337c82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb6b2a2a999a6aeb7bac9a49c65bc12e9cff668f5fb3ed321cbba7c95337c82", kill_on_drop: false }` [INFO] [stdout] edb6b2a2a999a6aeb7bac9a49c65bc12e9cff668f5fb3ed321cbba7c95337c82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eda733963855d6101de87da7effc994d018b5eb12eb5059ae911c2d9b86c3c45 [INFO] running `Command { std: "docker" "start" "-a" "eda733963855d6101de87da7effc994d018b5eb12eb5059ae911c2d9b86c3c45", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `GzDecoder` [INFO] [stderr] --> src/bin/tar.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | use flate2::read::{GzDecoder, GzEncoder}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/bin/tar.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `unpack` is never used [INFO] [stderr] --> src/bin/tar.rs:34:4 [INFO] [stderr] | [INFO] [stderr] 34 | fn unpack()->Result<(), std::io::Error> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::process::id` [INFO] [stderr] --> src/bin/rand.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::process::id; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `NormalError` [INFO] [stderr] --> src/bin/rand.rs:4:40 [INFO] [stderr] | [INFO] [stderr] 4 | use rand_distr::{Distribution, Normal, NormalError,Standard}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::seq::index::sample` [INFO] [stderr] --> src/bin/rand.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rand::seq::index::sample; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `single_thread` is never used [INFO] [stderr] --> src/bin/rand.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | fn single_thread(){ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `multiple_thread` is never used [INFO] [stderr] --> src/bin/rand.rs:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | fn multiple_thread(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `range_rand` is never used [INFO] [stderr] --> src/bin/rand.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | fn range_rand(){ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `uniform` is never used [INFO] [stderr] --> src/bin/rand.rs:45:4 [INFO] [stderr] | [INFO] [stderr] 45 | fn uniform(){ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `normal_random` is never used [INFO] [stderr] --> src/bin/rand.rs:61:4 [INFO] [stderr] | [INFO] [stderr] 61 | fn normal_random(){ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `x` and `y` are never read [INFO] [stderr] --> src/bin/rand.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 72 | struct Point{ [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 73 | x:i32, [INFO] [stderr] | ^ [INFO] [stderr] 74 | y:i32, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `defined_rond` is never used [INFO] [stderr] --> src/bin/rand.rs:88:4 [INFO] [stderr] | [INFO] [stderr] 88 | fn defined_rond(){ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_pass` is never used [INFO] [stderr] --> src/bin/rand.rs:97:4 [INFO] [stderr] | [INFO] [stderr] 97 | fn generate_pass(){ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::error` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::error; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `log4rs::append::file::FileAppender` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use log4rs::append::file::FileAppender; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log4rs::encode::pattern::PatternEncoder` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use log4rs::encode::pattern::PatternEncoder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Appender`, `Config`, and `Root` [INFO] [stderr] --> src/main.rs:11:22 [INFO] [stderr] | [INFO] [stderr] 11 | use log4rs::config::{Appender, Config, Root}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `add_time` is never used [INFO] [stderr] --> src/main.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn add_time(){ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_book` (bin "tar" test) generated 3 warnings (run `cargo fix --bin "tar" --tests` to apply 2 suggestions) [INFO] [stderr] warning: `rust_book` (bin "rand" test) generated 11 warnings (run `cargo fix --bin "rand" --tests` to apply 3 suggestions) [INFO] [stderr] warning: `rust_book` (bin "rust_book" test) generated 5 warnings (run `cargo fix --bin "rust_book" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/bin/anis_terminal.rs (/opt/rustwide/target/debug/deps/anis_terminal-fb93be732dca32cf) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/rand.rs (/opt/rustwide/target/debug/deps/rand-60a627253c572783) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_book-b90c0635f42ead88) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/tar.rs (/opt/rustwide/target/debug/deps/tar-2867a3d83052b41e) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/vec_sort.rs (/opt/rustwide/target/debug/deps/vec_sort-bfc97634f5d00c22) [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eda733963855d6101de87da7effc994d018b5eb12eb5059ae911c2d9b86c3c45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eda733963855d6101de87da7effc994d018b5eb12eb5059ae911c2d9b86c3c45", kill_on_drop: false }` [INFO] [stdout] eda733963855d6101de87da7effc994d018b5eb12eb5059ae911c2d9b86c3c45