[INFO] fetching crate cluatoi 0.2.1... [INFO] testing cluatoi-0.2.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate cluatoi 0.2.1 into /workspace/builds/worker-5-tc2/source [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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cluatoi 0.2.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eb4d12c52618a5389c603d6c81f2f4457c73786148ccd971da26f7754846c43 [INFO] running `Command { std: "docker" "start" "-a" "5eb4d12c52618a5389c603d6c81f2f4457c73786148ccd971da26f7754846c43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eb4d12c52618a5389c603d6c81f2f4457c73786148ccd971da26f7754846c43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb4d12c52618a5389c603d6c81f2f4457c73786148ccd971da26f7754846c43", kill_on_drop: false }` [INFO] [stdout] 5eb4d12c52618a5389c603d6c81f2f4457c73786148ccd971da26f7754846c43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78fa753c98f3af038ff9a14f10a02c41e3295a8753e8303181056515b2c65f9f [INFO] running `Command { std: "docker" "start" "-a" "78fa753c98f3af038ff9a14f10a02c41e3295a8753e8303181056515b2c65f9f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] | ^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = dyn Atoi; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "78fa753c98f3af038ff9a14f10a02c41e3295a8753e8303181056515b2c65f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78fa753c98f3af038ff9a14f10a02c41e3295a8753e8303181056515b2c65f9f", kill_on_drop: false }` [INFO] [stdout] 78fa753c98f3af038ff9a14f10a02c41e3295a8753e8303181056515b2c65f9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cb6bec5f1e213e047301c22704978fc94a93aeb74d84edadca12efe094b6f73 [INFO] running `Command { std: "docker" "start" "-a" "4cb6bec5f1e213e047301c22704978fc94a93aeb74d84edadca12efe094b6f73", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] | ^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = dyn Atoi; [INFO] [stdout] | +++ [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] | ^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | pub type cluAtoi = dyn Atoi; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "4cb6bec5f1e213e047301c22704978fc94a93aeb74d84edadca12efe094b6f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb6bec5f1e213e047301c22704978fc94a93aeb74d84edadca12efe094b6f73", kill_on_drop: false }` [INFO] [stdout] 4cb6bec5f1e213e047301c22704978fc94a93aeb74d84edadca12efe094b6f73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e67975fbf1bb19d99a0f66e83ad818b18ab2a5daf9431a971a92e8a366ac7900 [INFO] running `Command { std: "docker" "start" "-a" "e67975fbf1bb19d99a0f66e83ad818b18ab2a5daf9431a971a92e8a366ac7900", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] | ^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 84 | pub type cluAtoi = dyn Atoi; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `cluatoi` (lib) generated 1 warning (run `cargo fix --lib -p cluatoi` to apply 1 suggestion) [INFO] [stderr] warning: `cluatoi` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cluatoi-17461439cb820b31) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::atoi_stop ... ok [INFO] [stdout] test tests::unsigned_value ... ok [INFO] [stdout] test tests::signed_value ... ok [INFO] [stdout] test tests::empty_num ... ok [INFO] [stdout] test tests::unk_value ... ok [INFO] [stdout] test tests::overflow ... ok [INFO] [stderr] Doc-tests cluatoi [INFO] [stdout] test tests::atoi_iter_stop ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [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_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_iter (line 179) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_iter_stop (line 198) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi (line 90) ... ok [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_iter_wait_stop (line 240) ... FAILED [INFO] [stdout] test src/lib.rs - Atoi::atoi_stop (line 107) ... FAILED [INFO] [stdout] test src/lib.rs - AtoiErr::Overflow (line 330) ... FAILED [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 1 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 1 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 1 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] help: there is a method `to_be` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/num/mod.rs:420:5 [INFO] [stdout] = note: this error originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 1 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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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: 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 - 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 1 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:117:36 [INFO] [stdout] | [INFO] [stdout] 12 | if let Ok(num) = isize::atoi_stop(&mut array_iter, b'~') { [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^ expected `&[u8]`, found `&mut Iter<'_, u8>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut std::slice::Iter<'_, u8>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | fn atoi_stop<'a>(array: &'a [u8], stop: u8) -> AtoiResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - AtoiErr::Overflow (line 330) 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[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[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[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[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[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[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[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: 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] [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 0.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e67975fbf1bb19d99a0f66e83ad818b18ab2a5daf9431a971a92e8a366ac7900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e67975fbf1bb19d99a0f66e83ad818b18ab2a5daf9431a971a92e8a366ac7900", kill_on_drop: false }` [INFO] [stdout] e67975fbf1bb19d99a0f66e83ad818b18ab2a5daf9431a971a92e8a366ac7900