[INFO] fetching crate mycrl-stun 1.1.0... [INFO] testing mycrl-stun-1.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mycrl-stun 1.1.0 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mycrl-stun 1.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 105 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4681c3d51c425f8b186c23702631c13bbb3d2e1e8247a81a3b18da89899c70f8 [INFO] running `Command { std: "docker" "start" "-a" "4681c3d51c425f8b186c23702631c13bbb3d2e1e8247a81a3b18da89899c70f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4681c3d51c425f8b186c23702631c13bbb3d2e1e8247a81a3b18da89899c70f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4681c3d51c425f8b186c23702631c13bbb3d2e1e8247a81a3b18da89899c70f8", kill_on_drop: false }` [INFO] [stdout] 4681c3d51c425f8b186c23702631c13bbb3d2e1e8247a81a3b18da89899c70f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37699f4944b80b828935353159c2a04a2cc21738925c96e086ad9db4458cafac [INFO] running `Command { std: "docker" "start" "-a" "37699f4944b80b828935353159c2a04a2cc21738925c96e086ad9db4458cafac", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling indexmap v2.11.0 [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_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling mycrl-stun v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.19s [INFO] running `Command { std: "docker" "inspect" "37699f4944b80b828935353159c2a04a2cc21738925c96e086ad9db4458cafac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37699f4944b80b828935353159c2a04a2cc21738925c96e086ad9db4458cafac", kill_on_drop: false }` [INFO] [stdout] 37699f4944b80b828935353159c2a04a2cc21738925c96e086ad9db4458cafac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ac00d1867caecacbaf3c98d7dba2fba203e0a2647db0281f2ab77fe421b1cd5 [INFO] running `Command { std: "docker" "start" "-a" "3ac00d1867caecacbaf3c98d7dba2fba203e0a2647db0281f2ab77fe421b1cd5", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling mycrl-stun v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.29s [INFO] running `Command { std: "docker" "inspect" "3ac00d1867caecacbaf3c98d7dba2fba203e0a2647db0281f2ab77fe421b1cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ac00d1867caecacbaf3c98d7dba2fba203e0a2647db0281f2ab77fe421b1cd5", kill_on_drop: false }` [INFO] [stdout] 3ac00d1867caecacbaf3c98d7dba2fba203e0a2647db0281f2ab77fe421b1cd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f09e1f13741e31c6b927f3a856678f945d8115c9e147b25be6981d8a969668a0 [INFO] running `Command { std: "docker" "start" "-a" "f09e1f13741e31c6b927f3a856678f945d8115c9e147b25be6981d8a969668a0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mycrl_stun-9c6d031525c2f296) [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::from_bytes_v4 (line 215) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::Error<'_>::encode (line 937) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::Error<'_>::from (line 919) - compile ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::&'staticstr::from (line 995) ... FAILED [INFO] [stdout] test src/channel.rs - channel::ChannelData<'a>::try_from (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - Decoder::decode (line 348) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::Error<'a>::try_from (line 963) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::xor_v6 (line 311) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::from_bytes_v6 (line 237) ... 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::xor_v4 (line 289) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::Addr::encode (line 126) ... FAILED [INFO] [stdout] test src/attribute.rs - attribute::Addr::decode (line 173) ... FAILED [INFO] [stdout] test src/channel.rs - channel::ChannelData<'_>::encode (line 87) ... FAILED [INFO] [stdout] test src/lib.rs - Decoder::message_size (line 388) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageReader<'a>::get_all (line 286) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageReader<'a>::integrity (line 316) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageReader<'a>::get (line 260) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageWriter<'a>::flush (line 123) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageReader<'a>::message_size (line 484) ... FAILED [INFO] [stdout] test src/util.rs - util::hmac_sha1 (line 53) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageReader<'a>::decode (line 376) ... FAILED [INFO] [stdout] test src/util.rs - util::fingerprint (line 96) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageWriter<'a>::extend (line 35) ... FAILED [INFO] [stdout] test src/util.rs - util::pad_size (line 14) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageWriter<'a>::append (line 68) ... FAILED [INFO] [stdout] test src/util.rs - util::long_term_credential_digest (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - u16::from (line 245) ... FAILED [INFO] [stdout] test src/message.rs - message::MessageWriter<'a>::integrity (line 174) ... FAILED [INFO] [stdout] test src/lib.rs - Method::try_from (line 151) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 4 | 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] 10 | 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] 2 + 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/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] 4 | 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] 12 | 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] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 12 | 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] 2 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 2 + 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<'_>::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] 3 | 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] 5 | 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] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 5 | 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] 2 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 4 | 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] 6 | 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] 2 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 2 + 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/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] 5 | 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/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] 3 | 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] 4 | 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::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] 4 | 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] 11 | 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] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 12 | 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] 2 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 2 + 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::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] 4 | 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] 15 | 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] 2 + 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::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] 4 | 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] 13 | 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] 2 + 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/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] 4 | 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] 14 | 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] 2 + 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] 5 | 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::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] 4 | 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] 10 | 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] 2 + 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/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] 4 | 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] 18 | 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] 2 + 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] 22 | 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] 2 + 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::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] 3 | 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] 16 | 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] 2 + 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] 19 | 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] 2 + 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/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] 5 | 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/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] 3 | 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] 4 | 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>::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] 4 | 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] 5 | 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>::integrity (line 316) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stun` [INFO] [stdout] --> src/message.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 4 | 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] 5 | 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] 5 | 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] 3 | 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::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] 23 | 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] 2 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - let hmac_output = stun::util::hmac_sha1(&key, &[&buffer]) [INFO] [stdout] 23 + 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] ---- 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] 4 | 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] 5 | 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/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] 3 | 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] 2 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - assert_eq!(stun::util::fingerprint(b"1"), 3498621689); [INFO] [stdout] 3 + 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/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] 5 | 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] 3 | 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] 2 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - assert_eq!(stun::util::pad_size(4), 0); [INFO] [stdout] 3 + 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] 4 | 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] 2 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - assert_eq!(stun::util::pad_size(0), 0); [INFO] [stdout] 4 + 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] 5 | 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] 2 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(stun::util::pad_size(5), 3); [INFO] [stdout] 5 + 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::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] 5 | 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] 6 | 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/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] 9 | 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] 2 + use mycrl_stun::util; [INFO] [stdout] | [INFO] [stdout] help: if you import `util`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - stun::util::long_term_credential_digest("panda", "panda", "raspberry"); [INFO] [stdout] 9 + 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/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] 4 | 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] 5 | 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/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] 4 | 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] [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 0.30s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f09e1f13741e31c6b927f3a856678f945d8115c9e147b25be6981d8a969668a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f09e1f13741e31c6b927f3a856678f945d8115c9e147b25be6981d8a969668a0", kill_on_drop: false }` [INFO] [stdout] f09e1f13741e31c6b927f3a856678f945d8115c9e147b25be6981d8a969668a0