[INFO] fetching crate hex-noalloc 0.3.2-post1... [INFO] testing hex-noalloc-0.3.2-post1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate hex-noalloc 0.3.2-post1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate hex-noalloc 0.3.2-post1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hex-noalloc 0.3.2-post1 [INFO] finished tweaking crates.io crate hex-noalloc 0.3.2-post1 [INFO] tweaked toml for crates.io crate hex-noalloc 0.3.2-post1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac99cdb329ef055767fdee5f64ad927357c436ada19d8e5e87adb83daa37a51e [INFO] running `Command { std: "docker" "start" "-a" "ac99cdb329ef055767fdee5f64ad927357c436ada19d8e5e87adb83daa37a51e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac99cdb329ef055767fdee5f64ad927357c436ada19d8e5e87adb83daa37a51e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac99cdb329ef055767fdee5f64ad927357c436ada19d8e5e87adb83daa37a51e", kill_on_drop: false }` [INFO] [stdout] ac99cdb329ef055767fdee5f64ad927357c436ada19d8e5e87adb83daa37a51e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0377e79ec9b0359d853ffa47a8e838ebbca8b1d3f02ec36dd7ef5c24c2ba4ae [INFO] running `Command { std: "docker" "start" "-a" "b0377e79ec9b0359d853ffa47a8e838ebbca8b1d3f02ec36dd7ef5c24c2ba4ae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling hex-noalloc v0.3.2-post1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | b'A'...b'F' => Ok(c - b'A' + 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | b'a'...b'f' => Ok(c - b'a' + 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | b'0'...b'9' => Ok(c - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "b0377e79ec9b0359d853ffa47a8e838ebbca8b1d3f02ec36dd7ef5c24c2ba4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0377e79ec9b0359d853ffa47a8e838ebbca8b1d3f02ec36dd7ef5c24c2ba4ae", kill_on_drop: false }` [INFO] [stdout] b0377e79ec9b0359d853ffa47a8e838ebbca8b1d3f02ec36dd7ef5c24c2ba4ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eca1b3115dde440750f7fa9fc58ed791a7f1046431eefadd7d2068c52ddb829 [INFO] running `Command { std: "docker" "start" "-a" "1eca1b3115dde440750f7fa9fc58ed791a7f1046431eefadd7d2068c52ddb829", kill_on_drop: false }` [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | b'A'...b'F' => Ok(c - b'A' + 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hex-noalloc v0.3.2-post1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | b'a'...b'f' => Ok(c - b'a' + 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | b'0'...b'9' => Ok(c - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | b'A'...b'F' => Ok(c - b'A' + 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | b'a'...b'f' => Ok(c - b'a' + 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | b'0'...b'9' => Ok(c - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "1eca1b3115dde440750f7fa9fc58ed791a7f1046431eefadd7d2068c52ddb829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eca1b3115dde440750f7fa9fc58ed791a7f1046431eefadd7d2068c52ddb829", kill_on_drop: false }` [INFO] [stdout] 1eca1b3115dde440750f7fa9fc58ed791a7f1046431eefadd7d2068c52ddb829 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3c11724eb2e7e1e4da690e030d79b39fdbd1a09f8df0b68bebed386fdd192c0 [INFO] running `Command { std: "docker" "start" "-a" "b3c11724eb2e7e1e4da690e030d79b39fdbd1a09f8df0b68bebed386fdd192c0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:211:13 [INFO] [stderr] | [INFO] [stderr] 211 | b'A'...b'F' => Ok(c - b'A' + 10), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:212:13 [INFO] [stderr] | [INFO] [stderr] 212 | b'a'...b'f' => Ok(c - b'a' + 10), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:213:13 [INFO] [stderr] | [INFO] [stderr] 213 | b'0'...b'9' => Ok(c - b'0'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `hex-noalloc` (lib) generated 3 warnings [INFO] [stderr] warning: `hex-noalloc` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hex_noalloc-c4266460e5326652) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test::test_decode ... ok [INFO] [stdout] test test::test_empty ... ok [INFO] [stdout] test test::test_encode ... ok [INFO] [stdout] test test::test_from_hex_okay_bytes ... ok [INFO] [stdout] test test::test_from_hex_okay_str ... ok [INFO] [stdout] test test::test_from_hex_whitespace ... ok [INFO] [stdout] test test::test_invalid_char ... ok [INFO] [stdout] test test::test_invalid_length ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests hex-noalloc [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:211:13 [INFO] [stderr] | [INFO] [stderr] 211 | b'A'...b'F' => Ok(c - b'A' + 10), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:212:13 [INFO] [stderr] | [INFO] [stderr] 212 | b'a'...b'f' => Ok(c - b'a' + 10), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:213:13 [INFO] [stderr] | [INFO] [stderr] 213 | b'0'...b'9' => Ok(c - b'0'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] test src/lib.rs - decode_to_slice (line 338) ... FAILED [INFO] [stdout] test src/lib.rs - encode_upper (line 303) ... FAILED [INFO] [stdout] test src/lib.rs - encode (line 288) ... FAILED [INFO] [stdout] test src/lib.rs - decode (line 318) ... FAILED [INFO] [stdout] test src/lib.rs - FromHex (line 184) ... FAILED [INFO] [stdout] test src/lib.rs - ToHex (line 49) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `hex` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - decode_to_slice (line 338) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(hex::decode_to_slice("6b697769", &mut bytes as &mut [u8]), Ok(())); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 - encode_upper (line 303) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(hex::encode_upper("Hello world!"), "48656C6C6F20776F726C6421"); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(hex::encode_upper(vec![1, 2, 3, 15, 16]), "0102030F10"); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [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/lib.rs - encode (line 288) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(hex::encode("Hello world!"), "48656c6c6f20776f726c6421"); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(hex::encode(vec![1, 2, 3, 15, 16]), "0102030f10"); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [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/lib.rs - decode (line 318) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 4 | hex::decode("48656c6c6f20776f726c6421"), [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(hex::decode("123"), Err(hex::FromHexError::OddLength)); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:324:36 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(hex::decode("123"), Err(hex::FromHexError::OddLength)); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(hex::decode("foo").is_err()); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/lib.rs - FromHex (line 184) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `hex` [INFO] [stdout] --> src/lib.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex::FromHex; [INFO] [stdout] | ^^^ maybe a missing crate `hex`? [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_hex` found for array `[u8; 12]` in the current scope [INFO] [stdout] --> src/lib.rs:187:20 [INFO] [stdout] | [INFO] [stdout] 5 | match &<[u8; 12]>::from_hex("48656c6c6f20776f726c6421") { [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `[u8; 12]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ToHex (line 49) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `hex` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex::ToHex; [INFO] [stdout] | ^^^ maybe a missing crate `hex`? [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_hex` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/lib.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 5 | println!("{}", "Hello world!".encode_hex::()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/lib.rs - FromHex (line 184) [INFO] [stdout] src/lib.rs - ToHex (line 49) [INFO] [stdout] src/lib.rs - decode (line 318) [INFO] [stdout] src/lib.rs - decode_to_slice (line 338) [INFO] [stdout] src/lib.rs - encode (line 288) [INFO] [stdout] src/lib.rs - encode_upper (line 303) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b3c11724eb2e7e1e4da690e030d79b39fdbd1a09f8df0b68bebed386fdd192c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3c11724eb2e7e1e4da690e030d79b39fdbd1a09f8df0b68bebed386fdd192c0", kill_on_drop: false }` [INFO] [stdout] b3c11724eb2e7e1e4da690e030d79b39fdbd1a09f8df0b68bebed386fdd192c0