[INFO] cloning repository https://github.com/puzzzzzzle/rust_study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/puzzzzzzle/rust_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuzzzzzzle%2Frust_study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuzzzzzzle%2Frust_study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bc2292e3db0689c6f1bf26771c2250dcdee66bf [INFO] testing puzzzzzzle/rust_study against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuzzzzzzle%2Frust_study" "/workspace/builds/worker-115/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-115/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/puzzzzzzle/rust_study on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/puzzzzzzle/rust_study [INFO] finished tweaking git repo https://github.com/puzzzzzzle/rust_study [INFO] tweaked toml for git repo https://github.com/puzzzzzzle/rust_study written to /workspace/builds/worker-115/source/Cargo.toml [INFO] crate git repo https://github.com/puzzzzzzle/rust_study already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log4rs v1.0.0 [INFO] [stderr] Downloaded function_name-proc-macro v0.2.0 [INFO] [stderr] Downloaded function_name v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eadeba7b1107419b8026393d202f8ff1c7d641a27f53d402fa29d18a52037d2e [INFO] running `Command { std: "docker" "start" "-a" "eadeba7b1107419b8026393d202f8ff1c7d641a27f53d402fa29d18a52037d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eadeba7b1107419b8026393d202f8ff1c7d641a27f53d402fa29d18a52037d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eadeba7b1107419b8026393d202f8ff1c7d641a27f53d402fa29d18a52037d2e", kill_on_drop: false }` [INFO] [stdout] eadeba7b1107419b8026393d202f8ff1c7d641a27f53d402fa29d18a52037d2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30fd4869dcf48f5d7bc2b585b219b26064fbfe6c17bbcf53535037288b7c984e [INFO] running `Command { std: "docker" "start" "-a" "30fd4869dcf48f5d7bc2b585b219b26064fbfe6c17bbcf53535037288b7c984e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling proc_macros_trait v0.1.0 (/opt/rustwide/workdir/proc_macros_trait) [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling rust_call_c_manul v0.1.0 (/opt/rustwide/workdir/rust_with_c/rust_with_c_manul) [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling stopwatch v0.0.7 [INFO] [stderr] Compiling guess_game v0.1.0 (/opt/rustwide/workdir/module_test/guess_game) [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling proc_macros v0.1.0 (/opt/rustwide/workdir/proc_macros) [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling function_name-proc-macro v0.2.0 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling function_name v0.2.0 [INFO] [stderr] Compiling hello_mod v0.1.0 (/opt/rustwide/workdir/module_test/hello_mod) [INFO] [stderr] Compiling common_concepts v0.1.0 (/opt/rustwide/workdir/rust_language) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "30fd4869dcf48f5d7bc2b585b219b26064fbfe6c17bbcf53535037288b7c984e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30fd4869dcf48f5d7bc2b585b219b26064fbfe6c17bbcf53535037288b7c984e", kill_on_drop: false }` [INFO] [stdout] 30fd4869dcf48f5d7bc2b585b219b26064fbfe6c17bbcf53535037288b7c984e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 209a5d57751f6845b3f691127c921f6bb48d23c20cfeb49e4b58ca546ee8b281 [INFO] running `Command { std: "docker" "start" "-a" "209a5d57751f6845b3f691127c921f6bb48d23c20cfeb49e4b58ca546ee8b281", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc_macros_trait v0.1.0 (/opt/rustwide/workdir/proc_macros_trait) [INFO] [stderr] Compiling proc_macros v0.1.0 (/opt/rustwide/workdir/proc_macros) [INFO] [stderr] Compiling guess_game v0.1.0 (/opt/rustwide/workdir/module_test/guess_game) [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling common_concepts v0.1.0 (/opt/rustwide/workdir/rust_language) [INFO] [stderr] Compiling rust_call_c_manul v0.1.0 (/opt/rustwide/workdir/rust_with_c/rust_with_c_manul) [INFO] [stderr] Compiling hello_mod v0.1.0 (/opt/rustwide/workdir/module_test/hello_mod) [INFO] [stdout] warning: variant is never constructed: `V4` [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | V4, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IpAddrKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V6` [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | V6, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddrKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | kind: IpAddrKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V4` [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | V4(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V6` [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | V6(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UNKNOWN` [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | UNKNOWN(UnknownIpAddr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> rust_language/examples/c04_enum_test.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_user` [INFO] [stdout] --> rust_language/examples/c05_struct_test.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn build_user(username: String) -> User { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> rust_language/examples/c05_struct_test.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `area` [INFO] [stdout] --> rust_language/examples/c05_struct_test.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn area(rectangle: &Rectangle) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `combine_vecs` [INFO] [stdout] --> rust_language/examples/c05_struct_test.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn combine_vecs(v: Vec, u: Vec) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `take_ownership` [INFO] [stdout] --> rust_language/examples/c03_test_ownership.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn take_ownership(s: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> rust_language/examples/co_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `takes_and_gives_back` [INFO] [stdout] --> rust_language/examples/c03_test_ownership.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn takes_and_gives_back(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `borrow` [INFO] [stdout] --> rust_language/examples/c03_test_ownership.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn borrow(s: &mut String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str_arr` [INFO] [stdout] --> rust_language/examples/c03_test_ownership.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn str_arr(arr: &[i32]) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::remove_file` [INFO] [stdout] --> rust_language/examples/c07_error_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::remove_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::ErrorKind` [INFO] [stdout] --> rust_language/examples/c07_error_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rust_language/examples/c06_std_collections_test.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> rust_language/examples/c06_std_collections_test.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod test_collections { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `FILE_NAME` [INFO] [stdout] --> rust_language/examples/c07_error_test.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | static FILE_NAME: &str = "hello.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello` [INFO] [stdout] --> rust_language/examples/co_test.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | async fn hello() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello_1` [INFO] [stdout] --> rust_language/examples/co_test.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | async fn hello_1() -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello_1_2` [INFO] [stdout] --> rust_language/examples/co_test.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | async fn hello_1_2() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello_latter` [INFO] [stdout] --> rust_language/examples/co_test.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn hello_latter() -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file` [INFO] [stdout] --> rust_language/examples/c07_error_test.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn read_username_from_file(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file_simple` [INFO] [stdout] --> rust_language/examples/c07_error_test.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn read_username_from_file_simple(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> rust_language/examples/pin_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factorial` [INFO] [stdout] --> rust_language/examples/macro_test.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn factorial(mut n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common` [INFO] [stdout] --> rust_language/examples/c01_func_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use common; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> rust_language/examples/c01_func_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `anyhow` [INFO] [stdout] --> rust_language/examples/c07-1_error_handle.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common` [INFO] [stdout] --> rust_language/examples/c07-1_error_handle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use common; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> rust_language/examples/c07-1_error_handle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello_func` [INFO] [stdout] --> rust_language/examples/c01_func_test.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn hello_func() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello_int` [INFO] [stdout] --> rust_language/examples/c01_func_test.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn hello_int(name: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello_ret_int` [INFO] [stdout] --> rust_language/examples/c01_func_test.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn hello_ret_int(name: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_if` [INFO] [stdout] --> rust_language/examples/c01_func_test.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn test_if(cond: bool) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `loop_test` [INFO] [stdout] --> rust_language/examples/c01_func_test.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn loop_test() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `outter_fn` [INFO] [stdout] --> rust_language/examples/c01_func_test.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn outter_fn() -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> rust_language/examples/multi_file_exaplpe/ex2.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.log_example.f4bc0fd8-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.log_example.f4bc0fd8-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.log_example.f4bc0fd8-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.log_example.f4bc0fd8-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.log_example.f4bc0fd8-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.log_example.f4bc0fd8-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.log_example.f4bc0fd8-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.log_example.f4bc0fd8-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.log_example.f4bc0fd8-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.log_example.f4bc0fd8-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.log_example.f4bc0fd8-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174.3oubqm6rwsqmczfo.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libcommon-3961c408c1251044.rlib" "/opt/rustwide/target/debug/deps/liblog4rs-ad68e0f53ff8064a.rlib" "/opt/rustwide/target/debug/deps/liblog_mdc-b474a66ec987c97b.rlib" "/opt/rustwide/target/debug/deps/libserde_json-cb7af3ac9fba033a.rlib" "/opt/rustwide/target/debug/deps/libitoa-eb0b0da4f5c7fd02.rlib" "/opt/rustwide/target/debug/deps/libthread_id-002c34a6ebd1d255.rlib" "/opt/rustwide/target/debug/deps/libhumantime-0f10f859de6db1c9.rlib" "/opt/rustwide/target/debug/deps/libserde_yaml-fe032734aa6d4bbd.rlib" "/opt/rustwide/target/debug/deps/libryu-53580c25f32ff188.rlib" "/opt/rustwide/target/debug/deps/libindexmap-3970f0949a7169bb.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-8ce5fddf7b71f952.rlib" "/opt/rustwide/target/debug/deps/libyaml_rust-ca5c74453965af20.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-756d4373557a55af.rlib" "/opt/rustwide/target/debug/deps/libregex-a6f9a384a5e0ee04.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-183b69152644db8a.rlib" "/opt/rustwide/target/debug/deps/libmemchr-1331aa8962ea7f83.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-71dab053db1b6952.rlib" "/opt/rustwide/target/debug/deps/libchrono-9a3e0654f33b6460.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-f93c724cf0f9fade.rlib" "/opt/rustwide/target/debug/deps/libtime-9543ca8ce03309f9.rlib" "/opt/rustwide/target/debug/deps/libtypemap-6c10435c755f8dae.rlib" "/opt/rustwide/target/debug/deps/libunsafe_any-dedd6ab422ad7073.rlib" "/opt/rustwide/target/debug/deps/libtraitobject-7eea3d45fb14beb1.rlib" "/opt/rustwide/target/debug/deps/libthiserror-0270d99252bff4d2.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-7f87c681cb424852.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-419ba76346dbe7a3.rlib" "/opt/rustwide/target/debug/deps/liblibc-593c6b9c958c9896.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-068ac8185082e6f5.rlib" "/opt/rustwide/target/debug/deps/liblock_api-a41ab347b0626279.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-93870536328d7ed1.rlib" "/opt/rustwide/target/debug/deps/libinstant-681e9cff8a24e398.rlib" "/opt/rustwide/target/debug/deps/libserde_value-c55b8a5d51b2d97e.rlib" "/opt/rustwide/target/debug/deps/libordered_float-f8ee8187f7002afa.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-ae8623994a8ecaa9.rlib" "/opt/rustwide/target/debug/deps/liblog-761badf3697ac69e.rlib" "/opt/rustwide/target/debug/deps/libserde-eb4ef77b6ab82aa6.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-56df745b5175507b.rlib" "/opt/rustwide/target/debug/deps/libfnv-6d1578eb67bc4123.rlib" "/opt/rustwide/target/debug/deps/libarc_swap-83e34b27ec0a2351.rlib" "/opt/rustwide/target/debug/deps/libanyhow-77d4397b3e0c809a.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/log_example-a47989d057ab2174" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `common` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "209a5d57751f6845b3f691127c921f6bb48d23c20cfeb49e4b58ca546ee8b281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "209a5d57751f6845b3f691127c921f6bb48d23c20cfeb49e4b58ca546ee8b281", kill_on_drop: false }` [INFO] [stdout] 209a5d57751f6845b3f691127c921f6bb48d23c20cfeb49e4b58ca546ee8b281