[INFO] fetching crate cluatoi 0.2.1... [INFO] testing cluatoi-0.2.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate cluatoi 0.2.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate cluatoi 0.2.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", 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] a0ad9265ca5de657f38b47a44e269e71a5cc8486a8a0c5b2108ca72848627e43 [INFO] running `Command { std: "docker" "start" "-a" "a0ad9265ca5de657f38b47a44e269e71a5cc8486a8a0c5b2108ca72848627e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0ad9265ca5de657f38b47a44e269e71a5cc8486a8a0c5b2108ca72848627e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ad9265ca5de657f38b47a44e269e71a5cc8486a8a0c5b2108ca72848627e43", kill_on_drop: false }` [INFO] [stdout] a0ad9265ca5de657f38b47a44e269e71a5cc8486a8a0c5b2108ca72848627e43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c77147db9fe17a5077027c04c72234f4d79a4c339487cf367293cdda6f386a6 [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" "7c77147db9fe17a5077027c04c72234f4d79a4c339487cf367293cdda6f386a6", 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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "7c77147db9fe17a5077027c04c72234f4d79a4c339487cf367293cdda6f386a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c77147db9fe17a5077027c04c72234f4d79a4c339487cf367293cdda6f386a6", kill_on_drop: false }` [INFO] [stdout] 7c77147db9fe17a5077027c04c72234f4d79a4c339487cf367293cdda6f386a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f0fbb389128a6522af92aebd6b7448e2ce7006111b4e3234e31db75dd55884c [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" "7f0fbb389128a6522af92aebd6b7448e2ce7006111b4e3234e31db75dd55884c", kill_on_drop: false }` [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "7f0fbb389128a6522af92aebd6b7448e2ce7006111b4e3234e31db75dd55884c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f0fbb389128a6522af92aebd6b7448e2ce7006111b4e3234e31db75dd55884c", kill_on_drop: false }` [INFO] [stdout] 7f0fbb389128a6522af92aebd6b7448e2ce7006111b4e3234e31db75dd55884c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 127d2fe30cf66835b7fe8de3647a929d1e5f9d59815d0b22db1c2ed6be821f0f [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" "127d2fe30cf66835b7fe8de3647a929d1e5f9d59815d0b22db1c2ed6be821f0f", 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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cluatoi-b60428162ddb224f) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::atoi_iter_stop ... ok [INFO] [stdout] test tests::empty_num ... ok [INFO] [stdout] test tests::overflow ... ok [INFO] [stdout] test tests::signed_value ... ok [INFO] [stdout] test tests::unk_value ... ok [INFO] [stdout] test tests::unsigned_value ... 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; finished in 0.00s [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 (line 179) ... 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 - AtoiErr::ByteUnk (line 340) ... FAILED [INFO] [stdout] test src/lib.rs - AtoiErr::Overflow (line 330) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_wait_stop (line 152) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_stop (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_stop (line 107) ... FAILED [INFO] [stdout] test src/lib.rs - (line 31) ... ok [INFO] [stdout] test src/lib.rs - Atoi::atoi (line 90) ... ok [INFO] [stderr] error: test failed, to rerun pass '--doc' [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 (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_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 - AtoiErr::ByteUnk (line 340) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `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] ---- src/lib.rs - AtoiErr::Overflow (line 330) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `AtoiErr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `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_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 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_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] [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; finished in 1.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "127d2fe30cf66835b7fe8de3647a929d1e5f9d59815d0b22db1c2ed6be821f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "127d2fe30cf66835b7fe8de3647a929d1e5f9d59815d0b22db1c2ed6be821f0f", kill_on_drop: false }` [INFO] [stdout] 127d2fe30cf66835b7fe8de3647a929d1e5f9d59815d0b22db1c2ed6be821f0f