[INFO] cloning repository https://github.com/ZhangLei-cn/lightbird [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhangLei-cn/lightbird" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangLei-cn%2Flightbird", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhangLei-cn%2Flightbird'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7886c8a458cd5eb23ace1258337f50fe56724e7 [INFO] testing ZhangLei-cn/lightbird against try#a40ec913238f4f188d97c41aa605cb486451acf2+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%2FZhangLei-cn%2Flightbird" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZhangLei-cn/lightbird on toolchain a40ec913238f4f188d97c41aa605cb486451acf2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZhangLei-cn/lightbird [INFO] finished tweaking git repo https://github.com/ZhangLei-cn/lightbird [INFO] tweaked toml for git repo https://github.com/ZhangLei-cn/lightbird written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZhangLei-cn/lightbird 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" "+a40ec913238f4f188d97c41aa605cb486451acf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26978fdc8209191ceee5656791ddd7d78ac0340ba306ffbf646e7167328e4329 [INFO] running `Command { std: "docker" "start" "-a" "26978fdc8209191ceee5656791ddd7d78ac0340ba306ffbf646e7167328e4329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26978fdc8209191ceee5656791ddd7d78ac0340ba306ffbf646e7167328e4329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26978fdc8209191ceee5656791ddd7d78ac0340ba306ffbf646e7167328e4329", kill_on_drop: false }` [INFO] [stdout] 26978fdc8209191ceee5656791ddd7d78ac0340ba306ffbf646e7167328e4329 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+a40ec913238f4f188d97c41aa605cb486451acf2" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 70126dfa678f187e6012d128b3032291390f66e7c113f9e52854571f910c6f87 [INFO] running `Command { std: "docker" "start" "-a" "70126dfa678f187e6012d128b3032291390f66e7c113f9e52854571f910c6f87", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling lightbird v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/disk.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Err(err) => return String::from("Unknown"), [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: unused `Result` that must be used [INFO] [stdout] --> src/disk.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/disk.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | if statvfs(CString::new("/").unwrap().as_ptr(), &mut stat) == 0 { [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.87s [INFO] running `Command { std: "docker" "inspect" "70126dfa678f187e6012d128b3032291390f66e7c113f9e52854571f910c6f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70126dfa678f187e6012d128b3032291390f66e7c113f9e52854571f910c6f87", kill_on_drop: false }` [INFO] [stdout] 70126dfa678f187e6012d128b3032291390f66e7c113f9e52854571f910c6f87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+a40ec913238f4f188d97c41aa605cb486451acf2" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 577d6ecb89cbd9068fd895fcf9a030a37abd2a95842b1531eff6fc46ed20ddb3 [INFO] running `Command { std: "docker" "start" "-a" "577d6ecb89cbd9068fd895fcf9a030a37abd2a95842b1531eff6fc46ed20ddb3", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/disk.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Err(err) => return String::from("Unknown"), [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: unused `Result` that must be used [INFO] [stdout] --> src/disk.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lightbird v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/disk.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | if statvfs(CString::new("/").unwrap().as_ptr(), &mut stat) == 0 { [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/disk.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Err(err) => return String::from("Unknown"), [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: unused `Result` that must be used [INFO] [stdout] --> src/disk.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/disk.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | if statvfs(CString::new("/").unwrap().as_ptr(), &mut stat) == 0 { [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/disk.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | get_disk(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "577d6ecb89cbd9068fd895fcf9a030a37abd2a95842b1531eff6fc46ed20ddb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "577d6ecb89cbd9068fd895fcf9a030a37abd2a95842b1531eff6fc46ed20ddb3", kill_on_drop: false }` [INFO] [stdout] 577d6ecb89cbd9068fd895fcf9a030a37abd2a95842b1531eff6fc46ed20ddb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+a40ec913238f4f188d97c41aa605cb486451acf2" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5bcea5484797a2f8359b626968f64437d370ac9b7b4e4f849b5bfc2aefb57300 [INFO] running `Command { std: "docker" "start" "-a" "5bcea5484797a2f8359b626968f64437d370ac9b7b4e4f849b5bfc2aefb57300", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/disk.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | Err(err) => return String::from("Unknown"), [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: unused `Result` that must be used [INFO] [stderr] --> src/disk.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | file.read_to_string(&mut content); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/disk.rs:115:55 [INFO] [stderr] | [INFO] [stderr] 115 | if statvfs(CString::new("/").unwrap().as_ptr(), &mut stat) == 0 { [INFO] [stderr] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/disk.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | get_disk(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `lightbird` (lib) generated 3 warnings [INFO] [stderr] warning: `lightbird` (lib test) generated 4 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/lightbird-0da0786fbb34bb46) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test disk::get_disk_test ... ok [INFO] [stdout] test memory::get_memory_stat_test ... ok [INFO] [stdout] test processor::processor_test ... ok [INFO] [stdout] test process::process_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5bcea5484797a2f8359b626968f64437d370ac9b7b4e4f849b5bfc2aefb57300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bcea5484797a2f8359b626968f64437d370ac9b7b4e4f849b5bfc2aefb57300", kill_on_drop: false }` [INFO] [stdout] 5bcea5484797a2f8359b626968f64437d370ac9b7b4e4f849b5bfc2aefb57300