[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] building fukgo/rust_book against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffukgo%2Frust_book" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fukgo/rust_book on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typemap-ors v1.0.0 [INFO] [stderr] Downloaded destructure_traitobject v0.2.0 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded unsafe-any-ors v1.0.0 [INFO] [stderr] Downloaded filetime v0.2.23 [INFO] [stderr] Downloaded ravif v0.11.9 [INFO] [stderr] Downloaded xattr v1.3.1 [INFO] [stderr] Downloaded mio v1.0.1 [INFO] [stderr] Downloaded rgb v0.8.45 [INFO] [stderr] Downloaded log4rs v1.3.0 [INFO] [stderr] Downloaded anyhow v1.0.86 [INFO] [stderr] Downloaded bitstream-io v2.5.0 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded tar v0.4.41 [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded fern v0.6.2 [INFO] [stderr] Downloaded object v0.36.2 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e7d2bf12fb26987547cf360575a21ca7a7741e1a5ea9d43c067f1aada0cb7cf [INFO] running `Command { std: "docker" "start" "-a" "0e7d2bf12fb26987547cf360575a21ca7a7741e1a5ea9d43c067f1aada0cb7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e7d2bf12fb26987547cf360575a21ca7a7741e1a5ea9d43c067f1aada0cb7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7d2bf12fb26987547cf360575a21ca7a7741e1a5ea9d43c067f1aada0cb7cf", kill_on_drop: false }` [INFO] [stdout] 0e7d2bf12fb26987547cf360575a21ca7a7741e1a5ea9d43c067f1aada0cb7cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5055909d9001cb477897fb290810d87e98d6ace6d0e1e683f73c7f6704608467 [INFO] running `Command { std: "docker" "start" "-a" "5055909d9001cb477897fb290810d87e98d6ace6d0e1e683f73c7f6704608467", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitstream-io v2.5.0 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rgb v0.8.45 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling object v0.36.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling tar v0.4.41 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [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 num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling thiserror v1.0.63 [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 rav1e v0.7.1 [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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 `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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "5055909d9001cb477897fb290810d87e98d6ace6d0e1e683f73c7f6704608467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5055909d9001cb477897fb290810d87e98d6ace6d0e1e683f73c7f6704608467", kill_on_drop: false }` [INFO] [stdout] 5055909d9001cb477897fb290810d87e98d6ace6d0e1e683f73c7f6704608467 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76cf7a9e0501ea62a13d87a00bfb2da9a064d80117fcadfe36a4f3167a61bacd [INFO] running `Command { std: "docker" "start" "-a" "76cf7a9e0501ea62a13d87a00bfb2da9a064d80117fcadfe36a4f3167a61bacd", kill_on_drop: false }` [INFO] [stderr] Compiling rust_book v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 `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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "76cf7a9e0501ea62a13d87a00bfb2da9a064d80117fcadfe36a4f3167a61bacd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76cf7a9e0501ea62a13d87a00bfb2da9a064d80117fcadfe36a4f3167a61bacd", kill_on_drop: false }` [INFO] [stdout] 76cf7a9e0501ea62a13d87a00bfb2da9a064d80117fcadfe36a4f3167a61bacd