[INFO] cloning repository https://github.com/zjjfly/DiveIntoRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zjjfly/DiveIntoRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzjjfly%2FDiveIntoRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzjjfly%2FDiveIntoRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 877c1bb705bbbb02f97fe5b709a24db219a45d2c [INFO] testing zjjfly/DiveIntoRust against try#d5830e3d3b571fe52cdf4b7b34be99be74dc65ea+target=i686-unknown-linux-musl for musl_1_2_upgrade_i686_unknown_linux_musl [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzjjfly%2FDiveIntoRust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zjjfly/DiveIntoRust on toolchain d5830e3d3b571fe52cdf4b7b34be99be74dc65ea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zjjfly/DiveIntoRust [INFO] finished tweaking git repo https://github.com/zjjfly/DiveIntoRust [INFO] tweaked toml for git repo https://github.com/zjjfly/DiveIntoRust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zjjfly/DiveIntoRust 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" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 793c381f43c833b6e8f3917313572a12544e9a95aa5bcf515938f5f64b640523 [INFO] running `Command { std: "docker" "start" "-a" "793c381f43c833b6e8f3917313572a12544e9a95aa5bcf515938f5f64b640523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "793c381f43c833b6e8f3917313572a12544e9a95aa5bcf515938f5f64b640523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "793c381f43c833b6e8f3917313572a12544e9a95aa5bcf515938f5f64b640523", kill_on_drop: false }` [INFO] [stdout] 793c381f43c833b6e8f3917313572a12544e9a95aa5bcf515938f5f64b640523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1e41bf93309d099a1fc0381f27fc1fea0cfda70b160474da8c548f5e7ef852d3 [INFO] running `Command { std: "docker" "start" "-a" "1e41bf93309d099a1fc0381f27fc1fea0cfda70b160474da8c548f5e7ef852d3", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling dive_into_format v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` [INFO] [stdout] --> src/ch4/function.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[feature(const_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add1` is never used [INFO] [stdout] --> src/ch4/function.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn add1(t: (i32, i32)) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add2` is never used [INFO] [stdout] --> src/ch4/function.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn add2((x, y): (i32, i32)) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cube` is never used [INFO] [stdout] --> src/ch4/function.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | const fn cube(num: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Err(err) => println!("environment variable {} not found!", "SHELL") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "1e41bf93309d099a1fc0381f27fc1fea0cfda70b160474da8c548f5e7ef852d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e41bf93309d099a1fc0381f27fc1fea0cfda70b160474da8c548f5e7ef852d3", kill_on_drop: false }` [INFO] [stdout] 1e41bf93309d099a1fc0381f27fc1fea0cfda70b160474da8c548f5e7ef852d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4e26806ef9ea1edd8bfb2b0f6045d95c856560652263d5a5b8e47ede97358abf [INFO] running `Command { std: "docker" "start" "-a" "4e26806ef9ea1edd8bfb2b0f6045d95c856560652263d5a5b8e47ede97358abf", kill_on_drop: false }` [INFO] [stderr] Compiling dive_into_format v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` [INFO] [stdout] --> src/ch4/function.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[feature(const_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add1` is never used [INFO] [stdout] --> src/ch4/function.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn add1(t: (i32, i32)) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add2` is never used [INFO] [stdout] --> src/ch4/function.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn add2((x, y): (i32, i32)) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cube` is never used [INFO] [stdout] --> src/ch4/function.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | const fn cube(num: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Err(err) => println!("environment variable {} not found!", "SHELL") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` [INFO] [stdout] --> src/ch4/function.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[feature(const_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ch4/function.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | let x: i32 = diverges(); [INFO] [stdout] | ---------- any code following this expression is unreachable [INFO] [stdout] 55 | let y: String = diverges(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/ch4/function.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut func = add1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `func` is assigned to, but never used [INFO] [stdout] --> src/ch4/function.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut func = add1 as fn((i32, i32)) -> i32; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_func` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `func` is never read [INFO] [stdout] --> src/ch4/function.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | func = add2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `func` is assigned to, but never used [INFO] [stdout] --> src/ch4/function.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut func: fn((i32, i32)) -> i32 = add1; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_func` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `func` is never read [INFO] [stdout] --> src/ch4/function.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | func = add2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ch4/function.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let x: i32 = diverges(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/ch4/function.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let y: String = diverges(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ch4/function.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut func = add1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "4e26806ef9ea1edd8bfb2b0f6045d95c856560652263d5a5b8e47ede97358abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e26806ef9ea1edd8bfb2b0f6045d95c856560652263d5a5b8e47ede97358abf", kill_on_drop: false }` [INFO] [stdout] 4e26806ef9ea1edd8bfb2b0f6045d95c856560652263d5a5b8e47ede97358abf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ce3d0b05b7e8e298b874b5b6eb49ce42f1349224d51e8becb6da2f9074f32196 [INFO] running `Command { std: "docker" "start" "-a" "ce3d0b05b7e8e298b874b5b6eb49ce42f1349224d51e8becb6da2f9074f32196", kill_on_drop: false }` [INFO] [stderr] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` [INFO] [stdout] [INFO] [stderr] --> src/ch4/function.rs:60:1 [INFO] [stdout] running 27 tests [INFO] [stderr] | [INFO] [stdout] test ch2::complex_type::test_struct ... ok [INFO] [stderr] 60 | #[feature(const_fn)] [INFO] [stdout] test ch2::complex_type::test_tuple ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test ch2::data_type::test_float ... ok [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `add1` is never used [INFO] [stderr] --> src/ch4/function.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn add1(t: (i32, i32)) -> i32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `add2` is never used [INFO] [stderr] --> src/ch4/function.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn add2((x, y): (i32, i32)) -> i32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `cube` is never used [INFO] [stderr] --> src/ch4/function.rs:61:10 [INFO] [stderr] | [INFO] [stderr] 61 | const fn cube(num: usize) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dive_into_format` (lib) generated 4 warnings [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | Err(err) => println!("environment variable {} not found!", "SHELL") [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dive_into_format` (bin "dive_into_format" test) generated 1 warning [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/ch4/function.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 54 | let x: i32 = diverges(); [INFO] [stderr] | ---------- any code following this expression is unreachable [INFO] [stderr] 55 | let y: String = diverges(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `func` [INFO] [stderr] --> src/ch4/function.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | let mut func = add1; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `func` is assigned to, but never used [INFO] [stderr] --> src/ch4/function.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | let mut func = add1 as fn((i32, i32)) -> i32; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_func` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `func` is never read [INFO] [stderr] --> src/ch4/function.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | func = add2; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `func` is assigned to, but never used [INFO] [stderr] --> src/ch4/function.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | let mut func: fn((i32, i32)) -> i32 = add1; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_func` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `func` is never read [INFO] [stderr] --> src/ch4/function.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | func = add2; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/ch4/function.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let x: i32 = diverges(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/ch4/function.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | let y: String = diverges(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ch4/function.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let mut func = add1; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dive_into_format` (lib test) generated 10 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/dive_into_format-b410d7ca446df6d6) [INFO] [stdout] test ch2::data_type::test_integer ... ok [INFO] [stdout] test ch2::complex_type::test_type_recur ... ok [INFO] [stdout] test ch2::complex_type::test_enum ... ok [INFO] [stdout] test ch2::complex_type::test_tuple_struct ... ok [INFO] [stdout] test ch2::data_type::test_char ... ok [INFO] [stdout] test ch2::data_type::test_overflow ... ok [INFO] [stdout] test ch2::variable::test_const_var ... ok [INFO] [stdout] test ch2::variable::test_variable_declare ... ok [INFO] [stdout] test ch2::data_type::test_type_convert ... ok [INFO] [stdout] test ch3::expression::test_assignment ... ok [INFO] [stdout] test ch2::variable::test_type_alias ... ok [INFO] [stdout] test ch3::expression::test_for ... ok [INFO] [stdout] test ch3::expression::test_if_else ... ok [INFO] [stdout] test ch4::function::test_inner ... ok [INFO] [stdout] test ch3::expression::test_arithmetic_exp ... ok [INFO] [stdout] test ch3::expression::test_while ... ok [INFO] [stdout] test ch4::function::test_invoke ... ok [INFO] [stdout] test ch4::function::test_const_fn ... ok [INFO] [stdout] test ch4::function::test_recursive ... ok [INFO] [stdout] test ch4::function::test_type ... ok [INFO] [stdout] test ch2::variable::test_static_var ... ok [INFO] [stdout] test ch1::format::test_format_string ... FAILED [INFO] [stdout] test ch4::function::test_diverge ... FAILED [INFO] [stdout] test ch3::expression::test_loop has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "ce3d0b05b7e8e298b874b5b6eb49ce42f1349224d51e8becb6da2f9074f32196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce3d0b05b7e8e298b874b5b6eb49ce42f1349224d51e8becb6da2f9074f32196", kill_on_drop: false }` [INFO] [stdout] ce3d0b05b7e8e298b874b5b6eb49ce42f1349224d51e8becb6da2f9074f32196