[INFO] crate cluatoi 0.2.1 is already in cache [INFO] testing cluatoi-0.2.1 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate cluatoi 0.2.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate cluatoi 0.2.1 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d35ea5f2055c6460ca72503cead3f7d48c8276a3f64d5ffa583ef1bc54d3352 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5d35ea5f2055c6460ca72503cead3f7d48c8276a3f64d5ffa583ef1bc54d3352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d35ea5f2055c6460ca72503cead3f7d48c8276a3f64d5ffa583ef1bc54d3352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d35ea5f2055c6460ca72503cead3f7d48c8276a3f64d5ffa583ef1bc54d3352", kill_on_drop: false }` [INFO] [stdout] 5d35ea5f2055c6460ca72503cead3f7d48c8276a3f64d5ffa583ef1bc54d3352 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f34416223ab6be36c1fd598dacfd8e23637258b9e87ce7c3dc5fc07bc5b5f4d8 [INFO] running `Command { std: "docker" "start" "-a" "f34416223ab6be36c1fd598dacfd8e23637258b9e87ce7c3dc5fc07bc5b5f4d8", kill_on_drop: false }` [INFO] [stderr] Compiling cluatoi v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = Atoi; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Atoi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "f34416223ab6be36c1fd598dacfd8e23637258b9e87ce7c3dc5fc07bc5b5f4d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f34416223ab6be36c1fd598dacfd8e23637258b9e87ce7c3dc5fc07bc5b5f4d8", kill_on_drop: false }` [INFO] [stdout] f34416223ab6be36c1fd598dacfd8e23637258b9e87ce7c3dc5fc07bc5b5f4d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bbc0c49dc1a9cfd38bd24fa08663765840511e48612c3822af665ff113c233e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0bbc0c49dc1a9cfd38bd24fa08663765840511e48612c3822af665ff113c233e", kill_on_drop: false }` [INFO] [stderr] Compiling cluatoi v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = Atoi; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Atoi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = Atoi; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Atoi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "0bbc0c49dc1a9cfd38bd24fa08663765840511e48612c3822af665ff113c233e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bbc0c49dc1a9cfd38bd24fa08663765840511e48612c3822af665ff113c233e", kill_on_drop: false }` [INFO] [stdout] 0bbc0c49dc1a9cfd38bd24fa08663765840511e48612c3822af665ff113c233e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b49f80b7deb83a785ca0f4c5aca7e78444049b44c84bfb983ff7da3b730f754 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7b49f80b7deb83a785ca0f4c5aca7e78444049b44c84bfb983ff7da3b730f754", kill_on_drop: false }` [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.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cluatoi-c86fae5afa485051 [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::atoi_iter_stop ... ok [INFO] [stdout] test tests::overflow ... ok [INFO] [stderr] Doc-tests cluatoi [INFO] [stdout] test tests::signed_value ... ok [INFO] [stdout] test tests::unsigned_value ... ok [INFO] [stdout] test tests::unk_value ... ok [INFO] [stdout] test tests::empty_num ... ok [INFO] [stdout] test tests::atoi_stop ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - Atoi::atoi_iter_stop (line 215) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_iter_stop (line 198) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_iter (line 179) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_stop (line 127) ... 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_wait_stop (line 240) ... FAILED [INFO] [stdout] test src/lib.rs - AtoiErr::Overflow (line 330) ... FAILED [INFO] [stdout] test src/lib.rs - AtoiErr::ByteUnk (line 340) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi (line 90) ... ok [INFO] [stdout] test src/lib.rs - (line 31) ... 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 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_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 (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 - 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 - 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_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 - 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 - 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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use cluatoi::Atoi; [INFO] [stdout] | [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use cluatoi::Atoi; [INFO] [stdout] | [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use cluatoi::Atoi; [INFO] [stdout] | [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use cluatoi::Atoi; [INFO] [stdout] | [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use cluatoi::Atoi; [INFO] [stdout] | [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use cluatoi::Atoi; [INFO] [stdout] | [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use cluatoi::Atoi; [INFO] [stdout] | [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use cluatoi::Atoi; [INFO] [stdout] | [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 `Command { std: "docker" "inspect" "7b49f80b7deb83a785ca0f4c5aca7e78444049b44c84bfb983ff7da3b730f754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b49f80b7deb83a785ca0f4c5aca7e78444049b44c84bfb983ff7da3b730f754", kill_on_drop: false }` [INFO] [stdout] 7b49f80b7deb83a785ca0f4c5aca7e78444049b44c84bfb983ff7da3b730f754