[INFO] crate cluatoi 0.2.1 is already in cache [INFO] testing cluatoi-0.2.1 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate cluatoi 0.2.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate cluatoi 0.2.1 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cluatoi 0.2.1 [INFO] finished tweaking crates.io crate cluatoi 0.2.1 [INFO] tweaked toml for crates.io crate cluatoi 0.2.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11a1656dc36011500b861936c8dce59e9162161b4b861488e6732c80a0effd64 [INFO] running `"docker" "start" "-a" "11a1656dc36011500b861936c8dce59e9162161b4b861488e6732c80a0effd64"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cluatoi v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | pub type cluAtoi = Atoi; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Atoi` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `"docker" "inspect" "11a1656dc36011500b861936c8dce59e9162161b4b861488e6732c80a0effd64"` [INFO] running `"docker" "rm" "-f" "11a1656dc36011500b861936c8dce59e9162161b4b861488e6732c80a0effd64"` [INFO] [stdout] 11a1656dc36011500b861936c8dce59e9162161b4b861488e6732c80a0effd64 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f34a0262c6bd26429f7a243c84d330437af45d30986c8e18379dedff98c3e671 [INFO] running `"docker" "start" "-a" "f34a0262c6bd26429f7a243c84d330437af45d30986c8e18379dedff98c3e671"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cluatoi v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | pub type cluAtoi = Atoi; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Atoi` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | pub type cluAtoi = Atoi; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Atoi` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.48s [INFO] running `"docker" "inspect" "f34a0262c6bd26429f7a243c84d330437af45d30986c8e18379dedff98c3e671"` [INFO] running `"docker" "rm" "-f" "f34a0262c6bd26429f7a243c84d330437af45d30986c8e18379dedff98c3e671"` [INFO] [stdout] f34a0262c6bd26429f7a243c84d330437af45d30986c8e18379dedff98c3e671 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 50df4d62e6f0b03e4b133dfd2efa36b96443ade2a1a346a103945d27783dcbe5 [INFO] running `"docker" "start" "-a" "50df4d62e6f0b03e4b133dfd2efa36b96443ade2a1a346a103945d27783dcbe5"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | pub type cluAtoi = Atoi; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Atoi` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | pub type cluAtoi = Atoi; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Atoi` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cluatoi-628bf74ec4667c01 [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::atoi_iter_stop ... ok [INFO] [stdout] test tests::atoi_stop ... ok [INFO] [stdout] test tests::empty_num ... ok [INFO] [stdout] test tests::overflow ... ok [INFO] [stdout] test tests::unk_value ... ok [INFO] [stdout] test tests::signed_value ... ok [INFO] [stdout] test tests::unsigned_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests cluatoi [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - Atoi::atoi_iter_stop (line 198) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_iter_stop (line 215) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_iter_wait_stop (line 240) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_wait_stop (line 152) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_stop (line 107) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_iter (line 179) ... FAILED [INFO] [stdout] test src/lib.rs - AtoiErr::Overflow (line 330) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_stop (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - AtoiErr::ByteUnk (line 340) ... FAILED [INFO] [stdout] test src/lib.rs - (line 31) ... ok [INFO] [stdout] test src/lib.rs - Atoi::atoi (line 90) ... ok [INFO] [stdout] test src/lib.rs - (line 49) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Atoi::atoi_iter_stop (line 198) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `atoi_iter_stop` found for type `isize` in the current scope [INFO] [stdout] --> src/lib.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 8 | if let Ok(num) = isize::atoi_iter_stop(&mut array_iter, b'~') { [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `isize` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Atoi::atoi_iter_stop (line 215) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `atoi_iter_stop` found for type `usize` in the current scope [INFO] [stdout] --> src/lib.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 9 | if let Ok(num) = usize::atoi_iter_stop(&mut array_iter, b'~') { [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `usize` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Atoi::atoi_iter_wait_stop (line 240) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `atoi_iter_wait_stop` found for type `usize` in the current scope [INFO] [stdout] --> src/lib.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 9 | if let Ok(num) = usize::atoi_iter_wait_stop(&mut array_iter, b'~') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `usize` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Atoi::atoi_wait_stop (line 152) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `atoi_wait_stop` found for type `usize` in the current scope [INFO] [stdout] --> src/lib.rs:160:26 [INFO] [stdout] | [INFO] [stdout] 9 | if let Ok(num) = usize::atoi_wait_stop(&mut array_iter, b'~') { [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `usize` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Atoi::atoi_stop (line 107) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 11 | if let Ok(num) = isize::atoi_stop(&mut array_iter, b'~') { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected slice `[u8]`, found struct `std::slice::Iter` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut std::slice::Iter<'_, u8>` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Atoi::atoi_iter (line 179) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `atoi_iter` found for type `isize` in the current scope [INFO] [stdout] --> src/lib.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 8 | if let Ok(num) = isize::atoi_iter(&mut array_iter) { [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `isize` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - AtoiErr::Overflow (line 330) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:331:42 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(u8::atoi(b"256"), Result::Err(AtoiErr::Overflow)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:332:45 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(u16::atoi(b"65536"), Result::Err(AtoiErr::Overflow)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:333:50 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(u32::atoi(b"4294967296"), Result::Err(AtoiErr::Overflow)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:334:60 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(u64::atoi(b"18446744073709551616"), Result::Err(AtoiErr::Overflow)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u8` in the current scope [INFO] [stdout] --> src/lib.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(u8::atoi(b"256"), Result::Err(AtoiErr::Overflow)); [INFO] [stdout] | ^^^^ function or associated item not found in `u8` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u16` in the current scope [INFO] [stdout] --> src/lib.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(u16::atoi(b"65536"), Result::Err(AtoiErr::Overflow)); [INFO] [stdout] | ^^^^ function or associated item not found in `u16` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u32` in the current scope [INFO] [stdout] --> src/lib.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(u32::atoi(b"4294967296"), Result::Err(AtoiErr::Overflow)); [INFO] [stdout] | ^^^^ function or associated item not found in `u32` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u64` in the current scope [INFO] [stdout] --> src/lib.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(u64::atoi(b"18446744073709551616"), Result::Err(AtoiErr::Overflow)); [INFO] [stdout] | ^^^^ function or associated item not found in `u64` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Atoi::atoi_stop (line 127) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `atoi_stop` found for type `usize` in the current scope [INFO] [stdout] --> src/lib.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 9 | if let Ok(num) = usize::atoi_stop(&mut array_iter, b'~') { [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `usize` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - AtoiErr::ByteUnk (line 340) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:341:43 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(u8::atoi(b"-128"), Result::Err(AtoiErr::ByteUnk(b'-'))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:342:44 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(u16::atoi(b"-128"), Result::Err(AtoiErr::ByteUnk(b'-'))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:343:44 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(u32::atoi(b"-128"), Result::Err(AtoiErr::ByteUnk(b'-'))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:344:44 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(u64::atoi(b"-128"), Result::Err(AtoiErr::ByteUnk(b'-'))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:346:43 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(u8::atoi(b"128U"), Result::Err(AtoiErr::ByteUnk(b'U'))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(u16::atoi(b"128L"), Result::Err(AtoiErr::ByteUnk(b'L'))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:348:44 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(u32::atoi(b"128I"), Result::Err(AtoiErr::ByteUnk(b'I'))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AtoiErr` [INFO] [stdout] --> src/lib.rs:349:44 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(u64::atoi(b"128N"), Result::Err(AtoiErr::ByteUnk(b'N'))); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u8` in the current scope [INFO] [stdout] --> src/lib.rs:341:16 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(u8::atoi(b"-128"), Result::Err(AtoiErr::ByteUnk(b'-'))); [INFO] [stdout] | ^^^^ function or associated item not found in `u8` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u16` in the current scope [INFO] [stdout] --> src/lib.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(u16::atoi(b"-128"), Result::Err(AtoiErr::ByteUnk(b'-'))); [INFO] [stdout] | ^^^^ function or associated item not found in `u16` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u32` in the current scope [INFO] [stdout] --> src/lib.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(u32::atoi(b"-128"), Result::Err(AtoiErr::ByteUnk(b'-'))); [INFO] [stdout] | ^^^^ function or associated item not found in `u32` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u64` in the current scope [INFO] [stdout] --> src/lib.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(u64::atoi(b"-128"), Result::Err(AtoiErr::ByteUnk(b'-'))); [INFO] [stdout] | ^^^^ function or associated item not found in `u64` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u8` in the current scope [INFO] [stdout] --> src/lib.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(u8::atoi(b"128U"), Result::Err(AtoiErr::ByteUnk(b'U'))); [INFO] [stdout] | ^^^^ function or associated item not found in `u8` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u16` in the current scope [INFO] [stdout] --> src/lib.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(u16::atoi(b"128L"), Result::Err(AtoiErr::ByteUnk(b'L'))); [INFO] [stdout] | ^^^^ function or associated item not found in `u16` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u32` in the current scope [INFO] [stdout] --> src/lib.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(u32::atoi(b"128I"), Result::Err(AtoiErr::ByteUnk(b'I'))); [INFO] [stdout] | ^^^^ function or associated item not found in `u32` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `atoi` found for type `u64` in the current scope [INFO] [stdout] --> src/lib.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(u64::atoi(b"128N"), Result::Err(AtoiErr::ByteUnk(b'N'))); [INFO] [stdout] | ^^^^ function or associated item not found in `u64` [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Atoi::atoi_iter (line 179) [INFO] [stdout] src/lib.rs - Atoi::atoi_iter_stop (line 198) [INFO] [stdout] src/lib.rs - Atoi::atoi_iter_stop (line 215) [INFO] [stdout] src/lib.rs - Atoi::atoi_iter_wait_stop (line 240) [INFO] [stdout] src/lib.rs - Atoi::atoi_stop (line 107) [INFO] [stdout] src/lib.rs - Atoi::atoi_stop (line 127) [INFO] [stdout] src/lib.rs - Atoi::atoi_wait_stop (line 152) [INFO] [stdout] src/lib.rs - AtoiErr::ByteUnk (line 340) [INFO] [stdout] src/lib.rs - AtoiErr::Overflow (line 330) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "50df4d62e6f0b03e4b133dfd2efa36b96443ade2a1a346a103945d27783dcbe5"` [INFO] running `"docker" "rm" "-f" "50df4d62e6f0b03e4b133dfd2efa36b96443ade2a1a346a103945d27783dcbe5"` [INFO] [stdout] 50df4d62e6f0b03e4b133dfd2efa36b96443ade2a1a346a103945d27783dcbe5