[INFO] cloning repository https://github.com/jgosmann/mh-z19c [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgosmann/mh-z19c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgosmann%2Fmh-z19c", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgosmann%2Fmh-z19c'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5da0e60b7791cba10b95f2a9345255915c167e90 [INFO] testing jgosmann/mh-z19c against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgosmann%2Fmh-z19c" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jgosmann/mh-z19c [INFO] finished tweaking git repo https://github.com/jgosmann/mh-z19c [INFO] tweaked toml for git repo https://github.com/jgosmann/mh-z19c written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jgosmann/mh-z19c on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jgosmann/mh-z19c 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe [INFO] running `Command { std: "docker" "start" "14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling mh-z19c v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/lib.rs:469:7 [INFO] [stdout] | [INFO] [stdout] 469 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/frame.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling test_support v0.1.0 (/opt/rustwide/workdir/test_support) [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/lib.rs:469:7 [INFO] [stdout] | [INFO] [stdout] 469 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/frame.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mh-z19c v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/lib.rs:469:7 [INFO] [stdout] | [INFO] [stdout] 469 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/frame.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `std` [INFO] [stderr] --> src/lib.rs:469:7 [INFO] [stderr] | [INFO] [stderr] 469 | #[cfg(std)] [INFO] [stderr] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `std` [INFO] [stderr] --> src/frame.rs:127:7 [INFO] [stderr] | [INFO] [stderr] 127 | #[cfg(std)] [INFO] [stderr] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `mh-z19c` (lib) generated 2 warnings [INFO] [stderr] warning: `mh-z19c` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/mh_z19c-1df576a36b6c0e5e) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test frame::tests::test_frame_from_command ... ok [INFO] [stdout] test frame::tests::test_frame_invalid_checksum ... ok [INFO] [stdout] test frame::tests::test_frame_invalid_start_byte ... ok [INFO] [stdout] test frame::tests::test_frame_read_co2_command ... ok [INFO] [stdout] test nb_comm::tests::test_read_multiple ... ok [INFO] [stdout] test frame::tests::test_checksum ... ok [INFO] [stdout] test frame::tests::test_frame_read_co2_response ... ok [INFO] [stdout] test nb_comm::tests::test_write_all ... ok [INFO] [stdout] test nb_comm::tests::test_write_all_error_propagation ... ok [INFO] [stdout] test nb_comm::tests::test_write_and_read_response ... ok [INFO] [stdout] test tests::test_ignore_read_co2_result_by_polling_set_self_calibrate ... ok [INFO] [stdout] test tests::test_into_inner_during_read ... ok [INFO] [stdout] test tests::test_read_co2 ... ok [INFO] [stdout] test nb_comm::tests::test_write_and_read_response_error_propagation ... ok [INFO] [stdout] test tests::test_read_co2_and_temperature ... ok [INFO] [stdout] test tests::test_get_firmware_version ... ok [INFO] [stdout] test tests::test_read_co2_uart_error ... ok [INFO] [stdout] test tests::test_read_co2_invalid_start_byte ... ok [INFO] [stdout] test tests::test_set_self_calibrate ... ok [INFO] [stdout] test tests::test_get_firmware_version_error ... ok [INFO] [stdout] test tests::test_read_co2_invalid_checksum ... ok [INFO] [stdout] test tests::test_read_co2_without_waiting_for_set_self_calibrate ... ok [INFO] [stdout] test tests::test_set_self_calibrate_uart_error ... ok [INFO] [stdout] test tests::test_upgrade_to_v5 ... ok [INFO] [stdout] test tests::test_upgrade_to_v5_error ... ok [INFO] [stdout] test nb_comm::tests::test_read_multiple_error_propagation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests mh_z19c [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 11) ... ok [INFO] [stdout] test src/lib.rs - (line 27) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe", kill_on_drop: false }` [INFO] [stdout] 14597536b3d164ceac8a17e05ddd5c55cf5c920e9788cf9f4bc8ccf76e315ebe