[INFO] fetching crate mycrl-stun 1.1.0... [INFO] testing mycrl-stun-1.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate mycrl-stun 1.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate mycrl-stun 1.1.0 [INFO] finished tweaking crates.io crate mycrl-stun 1.1.0 [INFO] tweaked toml for crates.io crate mycrl-stun 1.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mycrl-stun 1.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91f3a87cde492169f231c115c8aba9fe2955304d7a40818423762867c8db32b4 [INFO] running `Command { std: "docker" "start" "-a" "91f3a87cde492169f231c115c8aba9fe2955304d7a40818423762867c8db32b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91f3a87cde492169f231c115c8aba9fe2955304d7a40818423762867c8db32b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f3a87cde492169f231c115c8aba9fe2955304d7a40818423762867c8db32b4", kill_on_drop: false }` [INFO] [stdout] 91f3a87cde492169f231c115c8aba9fe2955304d7a40818423762867c8db32b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cd989aeec99ddfed9a9ff5712e23871b9bf58b8a853108a0aee22af3849d599 [INFO] running `Command { std: "docker" "start" "-a" "5cd989aeec99ddfed9a9ff5712e23871b9bf58b8a853108a0aee22af3849d599", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling mycrl-stun v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.63s [INFO] running `Command { std: "docker" "inspect" "5cd989aeec99ddfed9a9ff5712e23871b9bf58b8a853108a0aee22af3849d599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd989aeec99ddfed9a9ff5712e23871b9bf58b8a853108a0aee22af3849d599", kill_on_drop: false }` [INFO] [stdout] 5cd989aeec99ddfed9a9ff5712e23871b9bf58b8a853108a0aee22af3849d599 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9a6aee51c2e7e4d50391a0d760bbbfb119eaa42e4afa3e42d6e83e20d42b877 [INFO] running `Command { std: "docker" "start" "-a" "a9a6aee51c2e7e4d50391a0d760bbbfb119eaa42e4afa3e42d6e83e20d42b877", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling mycrl-stun v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.63s [INFO] running `Command { std: "docker" "inspect" "a9a6aee51c2e7e4d50391a0d760bbbfb119eaa42e4afa3e42d6e83e20d42b877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a6aee51c2e7e4d50391a0d760bbbfb119eaa42e4afa3e42d6e83e20d42b877", kill_on_drop: false }` [INFO] [stdout] a9a6aee51c2e7e4d50391a0d760bbbfb119eaa42e4afa3e42d6e83e20d42b877 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f287524a3c4d83fb6bf06359c3b2b5345470dbdb0180d96f1d7f8d818280c12 [INFO] running `Command { std: "docker" "start" "-a" "6f287524a3c4d83fb6bf06359c3b2b5345470dbdb0180d96f1d7f8d818280c12", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mycrl_stun-fbc9b0cfffc051a6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests mycrl_stun [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] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test src/attribute.rs - attribute::Addr::decode (line 173) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::xor (line 262) ... FAILED [INFO] [stdout] test src/channel.rs - channel::ChannelData<'_>::message_size (line 51) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::Error<'_>::encode (line 937) ... FAILED [INFO] [stdout] test src/channel.rs - channel::ChannelData<'_>::encode (line 87) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::from_bytes_v4 (line 215) ... FAILED [INFO] [stdout] test src/lib.rs - Decoder::message_size (line 388) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::xor_v4 (line 289) ... FAILED [INFO] [stdout] test src/channel.rs - channel::ChannelData<'a>::try_from (line 118) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageReader<'a>::get (line 260) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::from_bytes_v6 (line 237) ... FAILED [INFO] [stdout] test src/lib.rs - Decoder::decode (line 348) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::xor_v6 (line 311) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::Addr::encode (line 126) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageReader<'a>::get_all (line 286) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageReader<'a>::decode (line 376) ... FAILED [INFO] [stdout] test src/lib.rs - u16::from (line 245) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::Error<'_>::from (line 919) - compile ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::Error<'a>::try_from (line 963) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::&'staticstr::from (line 995) ... FAILED [INFO] [stdout] test src/util.rs - util::fingerprint (line 96) ... FAILED [INFO] [stdout] test src/lib.rs - Method::try_from (line 151) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageWriter<'a>::integrity (line 174) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageWriter<'a>::append (line 68) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageWriter<'a>::flush (line 123) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageWriter<'a>::extend (line 35) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageReader<'a>::message_size (line 484) ... FAILED [INFO] [stdout] test src/util.rs - util::pad_size (line 14) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageReader<'a>::integrity (line 316) ... FAILED [INFO] [stdout] test src/util.rs - util::long_term_credential_digest (line 33) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/util.rs - util::hmac_sha1 (line 53) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/attribute.rs - attribute::Addr::decode (line 173) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/attribute.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Addr` [INFO] [stdout] --> src/attribute.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | let addr = Addr::decode(&xor_addr_bytes, &token, true).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Addr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 + use mycrl_stun::attribute::Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Addr` [INFO] [stdout] --> src/attribute.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | let addr = Addr::decode(&addr_bytes, &token, false).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Addr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 + use mycrl_stun::attribute::Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attribute.rs - attribute::xor (line 262) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/attribute.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `xor` in this scope [INFO] [stdout] --> src/attribute.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | let addr = xor(&source, &token); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 262 + use mycrl_stun::attribute::xor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/channel.rs - channel::ChannelData<'_>::message_size (line 51) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/channel.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attribute.rs - attribute::Error<'_>::encode (line 937) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/attribute.rs:939:5 [INFO] [stdout] | [INFO] [stdout] 939 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/attribute.rs:947:13 [INFO] [stdout] | [INFO] [stdout] 947 | let error = Error::from(ErrorKind::TryAlternate); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 937 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 937 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 937 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 937 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> src/attribute.rs:947:25 [INFO] [stdout] | [INFO] [stdout] 947 | let error = Error::from(ErrorKind::TryAlternate); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 937 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 937 + use mycrl_stun::attribute::ErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/channel.rs - channel::ChannelData<'_>::encode (line 87) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/channel.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attribute.rs - attribute::from_bytes_v4 (line 215) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/attribute.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes_v4` in this scope [INFO] [stdout] --> src/attribute.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | let addr = from_bytes_v4(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 215 + use mycrl_stun::attribute::from_bytes_v4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Decoder::message_size (line 388) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/lib.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/lib.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attribute.rs - attribute::xor_v4 (line 289) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/attribute.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `xor_v4` in this scope [INFO] [stdout] --> src/attribute.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | let addr = xor_v4(source); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 289 + use mycrl_stun::attribute::xor_v4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/channel.rs - channel::ChannelData<'a>::try_from (line 118) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/channel.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message.rs - message::MessageReader<'a>::get (line 260) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/message.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/message.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attribute.rs - attribute::from_bytes_v6 (line 237) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/attribute.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes_v6` in this scope [INFO] [stdout] --> src/attribute.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | let addr = from_bytes_v6(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 237 + use mycrl_stun::attribute::from_bytes_v6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Decoder::decode (line 348) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/lib.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/lib.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attribute.rs - attribute::xor_v6 (line 311) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/attribute.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `xor_v6` in this scope [INFO] [stdout] --> src/attribute.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | let addr = xor_v6(source, &token); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 311 + use mycrl_stun::attribute::xor_v6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attribute.rs - attribute::Addr::encode (line 126) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/attribute.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Addr` [INFO] [stdout] --> src/attribute.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | Addr::encode(&source, &token, &mut buffer, true); [INFO] [stdout] | ^^^^ use of undeclared type `Addr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 126 + use mycrl_stun::attribute::Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Addr` [INFO] [stdout] --> src/attribute.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | Addr::encode(&source, &token, &mut buffer, false); [INFO] [stdout] | ^^^^ use of undeclared type `Addr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 126 + use mycrl_stun::attribute::Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message.rs - message::MessageReader<'a>::get_all (line 286) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/message.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/message.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message.rs - message::MessageReader<'a>::decode (line 376) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/message.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/message.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - u16::from (line 245) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/lib.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attribute.rs - attribute::Error<'_>::from (line 919) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/attribute.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 920 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/attribute.rs:922:1 [INFO] [stdout] | [INFO] [stdout] 922 | Error::from(ErrorKind::TryAlternate); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 919 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 919 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 919 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 919 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> src/attribute.rs:922:13 [INFO] [stdout] | [INFO] [stdout] 922 | Error::from(ErrorKind::TryAlternate); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 919 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 919 + use mycrl_stun::attribute::ErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attribute.rs - attribute::Error<'a>::try_from (line 963) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/attribute.rs:965:5 [INFO] [stdout] | [INFO] [stdout] 965 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/attribute.rs:972:13 [INFO] [stdout] | [INFO] [stdout] 972 | let error = Error::try_from(&buffer[..]).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 963 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 963 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 963 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 963 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> src/attribute.rs:973:24 [INFO] [stdout] | [INFO] [stdout] 973 | assert_eq!(error.code, ErrorKind::TryAlternate as u16); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 963 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 963 + use mycrl_stun::attribute::ErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attribute.rs - attribute::&'staticstr::from (line 995) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/attribute.rs:997:5 [INFO] [stdout] | [INFO] [stdout] 997 | use stun::attribute::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> src/attribute.rs:999:25 [INFO] [stdout] | [INFO] [stdout] 999 | let err: &'static str = ErrorKind::TryAlternate.into(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 995 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 995 + use mycrl_stun::attribute::ErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::fingerprint (line 96) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/util.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(stun::util::fingerprint(b"1"), 3498621689); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 96 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 97 - assert_eq!(stun::util::fingerprint(b"1"), 3498621689); [INFO] [stdout] 97 + assert_eq!(util::fingerprint(b"1"), 3498621689); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Method::try_from (line 151) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/lib.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message.rs - message::MessageWriter<'a>::integrity (line 174) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/message.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message.rs - message::MessageWriter<'a>::append (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/message.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use stun::attribute::UserName; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/message.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message.rs - message::MessageWriter<'a>::flush (line 123) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/message.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message.rs - message::MessageWriter<'a>::extend (line 35) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/message.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message.rs - message::MessageReader<'a>::message_size (line 484) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/message.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::pad_size (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/util.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(stun::util::pad_size(4), 0); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 14 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - assert_eq!(stun::util::pad_size(4), 0); [INFO] [stdout] 15 + assert_eq!(util::pad_size(4), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/util.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(stun::util::pad_size(0), 0); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 14 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - assert_eq!(stun::util::pad_size(0), 0); [INFO] [stdout] 16 + assert_eq!(util::pad_size(0), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/util.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(stun::util::pad_size(5), 3); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 14 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 17 - assert_eq!(stun::util::pad_size(5), 3); [INFO] [stdout] 17 + assert_eq!(util::pad_size(5), 3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message.rs - message::MessageReader<'a>::integrity (line 316) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/message.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | use stun::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::long_term_credential_digest (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/util.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | stun::util::long_term_credential_digest("panda", "panda", "raspberry"); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 33 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - stun::util::long_term_credential_digest("panda", "panda", "raspberry"); [INFO] [stdout] 40 + util::long_term_credential_digest("panda", "panda", "raspberry"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::hmac_sha1 (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stun` [INFO] [stdout] --> src/util.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let hmac_output = stun::util::hmac_sha1(&key, &[&buffer]) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `stun` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stun`, use `cargo add stun` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 53 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 74 - let hmac_output = stun::util::hmac_sha1(&key, &[&buffer]) [INFO] [stdout] 74 + let hmac_output = util::hmac_sha1(&key, &[&buffer]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/attribute.rs - attribute::&'staticstr::from (line 995) [INFO] [stdout] src/attribute.rs - attribute::Addr::decode (line 173) [INFO] [stdout] src/attribute.rs - attribute::Addr::encode (line 126) [INFO] [stdout] src/attribute.rs - attribute::Error<'_>::encode (line 937) [INFO] [stdout] src/attribute.rs - attribute::Error<'_>::from (line 919) [INFO] [stdout] src/attribute.rs - attribute::Error<'a>::try_from (line 963) [INFO] [stdout] src/attribute.rs - attribute::from_bytes_v4 (line 215) [INFO] [stdout] src/attribute.rs - attribute::from_bytes_v6 (line 237) [INFO] [stdout] src/attribute.rs - attribute::xor (line 262) [INFO] [stdout] src/attribute.rs - attribute::xor_v4 (line 289) [INFO] [stdout] src/attribute.rs - attribute::xor_v6 (line 311) [INFO] [stdout] src/channel.rs - channel::ChannelData<'_>::encode (line 87) [INFO] [stdout] src/channel.rs - channel::ChannelData<'_>::message_size (line 51) [INFO] [stdout] src/channel.rs - channel::ChannelData<'a>::try_from (line 118) [INFO] [stdout] src/lib.rs - Decoder::decode (line 348) [INFO] [stdout] src/lib.rs - Decoder::message_size (line 388) [INFO] [stdout] src/lib.rs - Method::try_from (line 151) [INFO] [stdout] src/lib.rs - u16::from (line 245) [INFO] [stdout] src/message.rs - message::MessageReader<'a>::decode (line 376) [INFO] [stdout] src/message.rs - message::MessageReader<'a>::get (line 260) [INFO] [stdout] src/message.rs - message::MessageReader<'a>::get_all (line 286) [INFO] [stdout] src/message.rs - message::MessageReader<'a>::integrity (line 316) [INFO] [stdout] src/message.rs - message::MessageReader<'a>::message_size (line 484) [INFO] [stdout] src/message.rs - message::MessageWriter<'a>::append (line 68) [INFO] [stdout] src/message.rs - message::MessageWriter<'a>::extend (line 35) [INFO] [stdout] src/message.rs - message::MessageWriter<'a>::flush (line 123) [INFO] [stdout] src/message.rs - message::MessageWriter<'a>::integrity (line 174) [INFO] [stdout] src/util.rs - util::fingerprint (line 96) [INFO] [stdout] src/util.rs - util::hmac_sha1 (line 53) [INFO] [stdout] src/util.rs - util::long_term_credential_digest (line 33) [INFO] [stdout] src/util.rs - util::pad_size (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 31 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6f287524a3c4d83fb6bf06359c3b2b5345470dbdb0180d96f1d7f8d818280c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f287524a3c4d83fb6bf06359c3b2b5345470dbdb0180d96f1d7f8d818280c12", kill_on_drop: false }` [INFO] [stdout] 6f287524a3c4d83fb6bf06359c3b2b5345470dbdb0180d96f1d7f8d818280c12