[INFO] cloning repository https://github.com/jbergbrede/co2mon-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jbergbrede/co2mon-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbergbrede%2Fco2mon-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbergbrede%2Fco2mon-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5766bb41ec033f8dcad71f085beed7e31decc811 [INFO] testing jbergbrede/co2mon-rs against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbergbrede%2Fco2mon-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jbergbrede/co2mon-rs [INFO] finished tweaking git repo https://github.com/jbergbrede/co2mon-rs [INFO] tweaked toml for git repo https://github.com/jbergbrede/co2mon-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jbergbrede/co2mon-rs on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jbergbrede/co2mon-rs 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rumqttc v0.20.0 [INFO] [stderr] Downloaded pollster v0.2.5 [INFO] [stderr] Downloaded color-spantrace v0.2.0 [INFO] [stderr] Downloaded hidapi v2.1.2 [INFO] [stderr] Downloaded color-eyre v0.6.2 [INFO] [stderr] Downloaded gimli v0.27.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 344a3b6aa4d6eff9deb2b206bdeb38d90c3edef2384e43cb90c1dc73a77c0be0 [INFO] running `Command { std: "docker" "start" "-a" "344a3b6aa4d6eff9deb2b206bdeb38d90c3edef2384e43cb90c1dc73a77c0be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "344a3b6aa4d6eff9deb2b206bdeb38d90c3edef2384e43cb90c1dc73a77c0be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "344a3b6aa4d6eff9deb2b206bdeb38d90c3edef2384e43cb90c1dc73a77c0be0", kill_on_drop: false }` [INFO] [stdout] 344a3b6aa4d6eff9deb2b206bdeb38d90c3edef2384e43cb90c1dc73a77c0be0 [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1d773ebc00bb1c2d12dd6087ee1e41cc6fc78e95d143d4a692b2a50feb309b4 [INFO] running `Command { std: "docker" "start" "-a" "f1d773ebc00bb1c2d12dd6087ee1e41cc6fc78e95d143d4a692b2a50feb309b4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling gimli v0.27.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.16 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling hidapi v2.1.2 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling clap_lex v0.3.1 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling clap v4.1.4 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling rumqttc v0.20.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling confy v0.5.1 [INFO] [stderr] Compiling co2mon-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing_subscriber::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 51 | / loop { [INFO] [stdout] 52 | | device.read(&mut buf)?; [INFO] [stdout] 53 | | if is_encrypted(&buf) { [INFO] [stdout] 54 | | decrypt(&key, &mut buf); [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 79 | [INFO] [stdout] 80 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "f1d773ebc00bb1c2d12dd6087ee1e41cc6fc78e95d143d4a692b2a50feb309b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1d773ebc00bb1c2d12dd6087ee1e41cc6fc78e95d143d4a692b2a50feb309b4", kill_on_drop: false }` [INFO] [stdout] f1d773ebc00bb1c2d12dd6087ee1e41cc6fc78e95d143d4a692b2a50feb309b4 [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 422c6c59ce8759e7f2cba78e6ea71a54b415cb1c9b23552dd72aa42ce122c441 [INFO] running `Command { std: "docker" "start" "-a" "422c6c59ce8759e7f2cba78e6ea71a54b415cb1c9b23552dd72aa42ce122c441", kill_on_drop: false }` [INFO] [stderr] Compiling co2mon-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing_subscriber::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 51 | / loop { [INFO] [stdout] 52 | | device.read(&mut buf)?; [INFO] [stdout] 53 | | if is_encrypted(&buf) { [INFO] [stdout] 54 | | decrypt(&key, &mut buf); [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 79 | [INFO] [stdout] 80 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "422c6c59ce8759e7f2cba78e6ea71a54b415cb1c9b23552dd72aa42ce122c441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "422c6c59ce8759e7f2cba78e6ea71a54b415cb1c9b23552dd72aa42ce122c441", kill_on_drop: false }` [INFO] [stdout] 422c6c59ce8759e7f2cba78e6ea71a54b415cb1c9b23552dd72aa42ce122c441 [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 36410c63bb4d7c917598ca552e5ec20b803403290c60b499f239858cd10d70d9 [INFO] running `Command { std: "docker" "start" "-a" "36410c63bb4d7c917598ca552e5ec20b803403290c60b499f239858cd10d70d9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tracing_subscriber::fmt::format` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use tracing_subscriber::fmt::format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 51 | / loop { [INFO] [stderr] 52 | | device.read(&mut buf)?; [INFO] [stderr] 53 | | if is_encrypted(&buf) { [INFO] [stderr] 54 | | decrypt(&key, &mut buf); [INFO] [stderr] ... | [INFO] [stderr] 78 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 79 | [INFO] [stderr] 80 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `co2mon-rs` (bin "co2mon-rs" test) generated 2 warnings (run `cargo fix --bin "co2mon-rs" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/co2mon_rs-63f48c4bc2ceab56) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_is_encrypted ... ok [INFO] [stdout] test tests::test_topic_mapping ... ok [INFO] [stdout] test tests::test_validation ... ok [INFO] [stdout] test tests::test_decrypt ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/co2mon_rs-c4ab62e20313c780) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests co2mon_rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "36410c63bb4d7c917598ca552e5ec20b803403290c60b499f239858cd10d70d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36410c63bb4d7c917598ca552e5ec20b803403290c60b499f239858cd10d70d9", kill_on_drop: false }` [INFO] [stdout] 36410c63bb4d7c917598ca552e5ec20b803403290c60b499f239858cd10d70d9