[INFO] fetching crate edhoc 0.1.0... [INFO] testing edhoc-0.1.0 against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] extracting crate edhoc 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate edhoc 0.1.0 [INFO] finished tweaking crates.io crate edhoc 0.1.0 [INFO] tweaked toml for crates.io crate edhoc 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate edhoc 0.1.0 on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate edhoc 0.1.0 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71ea795bbfc914ff9810f830b0604dc0c85afa9d4a0b1cc266770212edc9f27f [INFO] running `Command { std: "docker" "start" "-a" "71ea795bbfc914ff9810f830b0604dc0c85afa9d4a0b1cc266770212edc9f27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71ea795bbfc914ff9810f830b0604dc0c85afa9d4a0b1cc266770212edc9f27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71ea795bbfc914ff9810f830b0604dc0c85afa9d4a0b1cc266770212edc9f27f", kill_on_drop: false }` [INFO] [stdout] 71ea795bbfc914ff9810f830b0604dc0c85afa9d4a0b1cc266770212edc9f27f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0ba4b256c1c7ed5003897f1d7ef74aff987e139a5122b9d6085b2575347b86f5 [INFO] running `Command { std: "docker" "start" "-a" "0ba4b256c1c7ed5003897f1d7ef74aff987e139a5122b9d6085b2575347b86f5", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling subtle-ng v2.5.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ccm v0.4.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling curve25519-dalek-ng v4.1.1 [INFO] [stderr] Compiling x25519-dalek-ng v1.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.6 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling edhoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/cbor/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` 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: unused import: `alloc::collections::BTreeMap` [INFO] [stdout] --> src/cbor/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/edhoc/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [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(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cose` [INFO] [stdout] --> src/edhoc/util.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use super::{cose, error::Error, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ead` [INFO] [stdout] --> src/edhoc/api.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | let ead = util::deserialize_ead(&plaintext)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ead` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoseKey` is never constructed [INFO] [stdout] --> src/edhoc/cose.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CoseKey { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoseKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.10s [INFO] running `Command { std: "docker" "inspect" "0ba4b256c1c7ed5003897f1d7ef74aff987e139a5122b9d6085b2575347b86f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba4b256c1c7ed5003897f1d7ef74aff987e139a5122b9d6085b2575347b86f5", kill_on_drop: false }` [INFO] [stdout] 0ba4b256c1c7ed5003897f1d7ef74aff987e139a5122b9d6085b2575347b86f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 028f1d44d0f3d2480e9385060a6f0f39f2cb9a73952b50dc0fcaf1795a9561b9 [INFO] running `Command { std: "docker" "start" "-a" "028f1d44d0f3d2480e9385060a6f0f39f2cb9a73952b50dc0fcaf1795a9561b9", kill_on_drop: false }` [INFO] [stderr] Compiling edhoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/cbor/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` 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: unused import: `alloc::collections::BTreeMap` [INFO] [stdout] --> src/cbor/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/edhoc/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [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(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cose` [INFO] [stdout] --> src/edhoc/util.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use super::{cose, error::Error, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ead` [INFO] [stdout] --> src/edhoc/api.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | let ead = util::deserialize_ead(&plaintext)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ead` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoseKey` is never constructed [INFO] [stdout] --> src/edhoc/cose.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CoseKey { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoseKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `devui` [INFO] [stdout] --> examples/edhoc.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | let (msg2_sender,devui,appeui) = match msg1_receiver.handle_message_1_ead(msg1_bytes) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_devui` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_kid` [INFO] [stdout] --> examples/edhoc.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | let (r_kid ,ad_r ,msg2_verifier) = match msg2_receiver.unpack_message_2_return_kid(msg2_bytes){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_r_kid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ad_r` [INFO] [stdout] --> examples/edhoc.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let (r_kid ,ad_r ,msg2_verifier) = match msg2_receiver.unpack_message_2_return_kid(msg2_bytes){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ad_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kid` [INFO] [stdout] --> examples/edhoc.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let (msg3verifier, kid) = match msg3_receiver.unpack_message_3_return_kid(msg3_bytes) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_kid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `master_salt_r` [INFO] [stdout] --> examples/edhoc.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | let (msg4_sender, master_secret_r, master_salt_r) = match msg3verifier.verify_message_3(i_static_pub.as_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_master_salt_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/cbor/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` 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: unused import: `alloc::collections::BTreeMap` [INFO] [stdout] --> src/cbor/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/edhoc/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [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(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/edhoc/util.rs:566:1 [INFO] [stdout] | [INFO] [stdout] 566 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ead` [INFO] [stdout] --> src/edhoc/api.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | let ead = util::deserialize_ead(&plaintext)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ead` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg2receiver` [INFO] [stdout] --> src/edhoc/api.rs:857:22 [INFO] [stdout] | [INFO] [stdout] 857 | let (msg1_bytes, msg2receiver) = msg1_sender.generate_message_1(METHOD_TYPE_I, SUITE_I).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg2receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoseKey` is never constructed [INFO] [stdout] --> src/edhoc/cose.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CoseKey { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoseKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I_EPHEMERAL_PK` is never used [INFO] [stdout] --> src/edhoc/test_vectors.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const I_EPHEMERAL_PK:[u8; 32] = [0x3A, 0xA9, 0xEB, 0x32, 0x01, 0xB3, 0x36, 0x7B, 0x8C, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `R_STATIC_PK` is never used [INFO] [stdout] --> src/edhoc/test_vectors.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const R_STATIC_PK : [u8;32]= [0xE6,0x6F,0x35,0x59,0x90,0x22,0x3C,0x3F,0x6C,0xAF,0xF8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TH_2` is never used [INFO] [stdout] --> src/edhoc/test_vectors.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const TH_2 : [u8;32] = [0x71,0xA6,0xC7,0xC5,0xBA,0x9A,0xD4,0x7F, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message4` is never used [INFO] [stdout] --> src/edhoc/api.rs:862:4 [INFO] [stdout] | [INFO] [stdout] 862 | fn message4() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcddcU5s/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libedhoc-90caf8327f9b8c5b.rlib,libserde_cbor-e5a0c109b882d8fe.rlib,libhalf-34d4a81151972767.rlib,libsha2-97c01816ebc32c03.rlib,libopaque_debug-a7962e22a4dc4c30.rlib,libfake_simd-a91f2f775e698a8f.rlib,libblock_buffer-40a86b9a88cde6d1.rlib,libblock_padding-5934d35e69a00a24.rlib,libbyte_tools-bed8c652a5ea9f13.rlib,libhkdf-f7e27aea45092a6d.rlib,libhmac-23adc070f885eebc.rlib,libcrypto_mac-ebb43f2f590b0cec.rlib,libsubtle-fe6a1df58196288a.rlib,libdigest-837a24a2494ee259.rlib,libgeneric_array-e1a18c6f85ff751e.rlib,libccm-af0c58ed8e8a7896.rlib,libsubtle-af5f0d59ba7ae801.rlib,libctr-4ee82e62563b1954.rlib,libaead-51f174e3ec824f7c.rlib,libx25519_dalek_ng-8e69bb480ff6d59c.rlib,libcurve25519_dalek_ng-200b463851600816.rlib,libsubtle_ng-914f02fd65ca88a3.rlib,libzeroize-95e80385af8be466.rlib,librand_core-27f2a86d37e7ae78.rlib,libgetrandom-eb5aad9aed0ff7b4.rlib,liblibc-7099ee7e20e1711d.rlib,libdigest-7f48af94085c6d6a.rlib,libbyteorder-53ef132cb4cc667c.rlib,libaes-299cf88bae619b23.rlib,libcpufeatures-bd3a5bace216530a.rlib,libopaque_debug-bfd86111b0908dde.rlib,libcfg_if-66d55f6b302e88c8.rlib,libcipher-316a6ee0980018ef.rlib,libgeneric_array-e4abed14fe55019c.rlib,libtypenum-dfaa696d06b304f0.rlib,libserde_bytes-c0113ac04004d9cb.rlib,libserde-9f175e55496524b8.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcddcU5s/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/edhoc-5639ee9c3417f744" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-eb5aad9aed0ff7b4.rlib(getrandom-eb5aad9aed0ff7b4.getrandom.29acd5007a5fde13-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.6/src/util_libc.rs:117:(.text._ZN9getrandom9util_libc13open_readonly17h74cefcc37a589d08E+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `edhoc` (example "edhoc") due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "028f1d44d0f3d2480e9385060a6f0f39f2cb9a73952b50dc0fcaf1795a9561b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "028f1d44d0f3d2480e9385060a6f0f39f2cb9a73952b50dc0fcaf1795a9561b9", kill_on_drop: false }` [INFO] [stdout] 028f1d44d0f3d2480e9385060a6f0f39f2cb9a73952b50dc0fcaf1795a9561b9