[INFO] fetching crate primality 0.1.0... [INFO] checking primality-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate primality 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate primality 0.1.0 [INFO] finished tweaking crates.io crate primality 0.1.0 [INFO] tweaked toml for crates.io crate primality 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate primality 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b880473434efea78cec968cae00337984067ec6a9e19e63b89b477488c47c9e [INFO] running `Command { std: "docker" "start" "-a" "8b880473434efea78cec968cae00337984067ec6a9e19e63b89b477488c47c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b880473434efea78cec968cae00337984067ec6a9e19e63b89b477488c47c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b880473434efea78cec968cae00337984067ec6a9e19e63b89b477488c47c9e", kill_on_drop: false }` [INFO] [stdout] 8b880473434efea78cec968cae00337984067ec6a9e19e63b89b477488c47c9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a3cda317e03466d81f5981eec357d60d1dd7b565fa0cc18b8e8b73f6baaf674 [INFO] running `Command { std: "docker" "start" "-a" "7a3cda317e03466d81f5981eec357d60d1dd7b565fa0cc18b8e8b73f6baaf674", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking primality v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `is_prime` [INFO] [stdout] --> tests/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use is_prime::IsPrime; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `is_prime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `is_prime`, use `cargo add is_prime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u8` in the current scope [INFO] [stdout] --> tests/tests.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(!0u8.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u8` in the current scope [INFO] [stdout] --> tests/tests.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(2u8.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u8` in the current scope [INFO] [stdout] --> tests/tests.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(!35u8.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u8` in the current scope [INFO] [stdout] --> tests/tests.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(!57u8.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u16` in the current scope [INFO] [stdout] --> tests/tests.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(!0u16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u16` in the current scope [INFO] [stdout] --> tests/tests.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(!1u16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u16` in the current scope [INFO] [stdout] --> tests/tests.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | assert!(2u16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u16` in the current scope [INFO] [stdout] --> tests/tests.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(3u16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u16` in the current scope [INFO] [stdout] --> tests/tests.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | assert!(!7910u16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u16` in the current scope [INFO] [stdout] --> tests/tests.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | assert!(7919u16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u32` in the current scope [INFO] [stdout] --> tests/tests.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | assert!(!0u32.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u32` in the current scope [INFO] [stdout] --> tests/tests.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(13u32.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u32` in the current scope [INFO] [stdout] --> tests/tests.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | assert!(!26097u32.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u32` in the current scope [INFO] [stdout] --> tests/tests.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(26099u32.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u64` in the current scope [INFO] [stdout] --> tests/tests.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(!4u64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u64` in the current scope [INFO] [stdout] --> tests/tests.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(5u64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u64` in the current scope [INFO] [stdout] --> tests/tests.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | assert!(!46u64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u64` in the current scope [INFO] [stdout] --> tests/tests.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | assert!(47u64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u64` in the current scope [INFO] [stdout] --> tests/tests.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | assert!(!2256522565u64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u64` in the current scope [INFO] [stdout] --> tests/tests.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(2256522601u64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u128` in the current scope [INFO] [stdout] --> tests/tests.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | assert!(!0u128.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u128` in the current scope [INFO] [stdout] --> tests/tests.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | assert!(7u128.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u128` in the current scope [INFO] [stdout] --> tests/tests.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | assert!(!1999999999u128.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `u128` in the current scope [INFO] [stdout] --> tests/tests.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | assert!(2000000011u128.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `u128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `usize` in the current scope [INFO] [stdout] --> tests/tests.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(!4usize.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `usize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `usize` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `usize` in the current scope [INFO] [stdout] --> tests/tests.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | assert!(5usize.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `usize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `usize` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `usize` in the current scope [INFO] [stdout] --> tests/tests.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | assert!(!99999usize.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `usize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `usize` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `usize` in the current scope [INFO] [stdout] --> tests/tests.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(99991usize.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `usize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `usize` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i8` in the current scope [INFO] [stdout] --> tests/tests.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | assert!(!neg_i8.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i8` in the current scope [INFO] [stdout] --> tests/tests.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(!0i8.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i8` in the current scope [INFO] [stdout] --> tests/tests.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | assert!(!1i8.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i8` in the current scope [INFO] [stdout] --> tests/tests.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | assert!(2i8.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i8` in the current scope [INFO] [stdout] --> tests/tests.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | assert!(!35i8.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i8` in the current scope [INFO] [stdout] --> tests/tests.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(!57i8.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i16` in the current scope [INFO] [stdout] --> tests/tests.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | assert!(!0i16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i16` in the current scope [INFO] [stdout] --> tests/tests.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | assert!(!1i16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i16` in the current scope [INFO] [stdout] --> tests/tests.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(2i16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i16` in the current scope [INFO] [stdout] --> tests/tests.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(3i16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i16` in the current scope [INFO] [stdout] --> tests/tests.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(!neg_i16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i16` in the current scope [INFO] [stdout] --> tests/tests.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | assert!(!7910i16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i16` in the current scope [INFO] [stdout] --> tests/tests.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | assert!(7919i16.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i16` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i32` in the current scope [INFO] [stdout] --> tests/tests.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | assert!(!0i32.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i32` in the current scope [INFO] [stdout] --> tests/tests.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | assert!(13i32.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i32` in the current scope [INFO] [stdout] --> tests/tests.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | assert!(!neg_i32.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i32` in the current scope [INFO] [stdout] --> tests/tests.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | assert!(!26097i32.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i32` in the current scope [INFO] [stdout] --> tests/tests.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | assert!(26099i32.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i64` in the current scope [INFO] [stdout] --> tests/tests.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | assert!(!4i64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i64` in the current scope [INFO] [stdout] --> tests/tests.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | assert!(5i64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i64` in the current scope [INFO] [stdout] --> tests/tests.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(!46i64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i64` in the current scope [INFO] [stdout] --> tests/tests.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | assert!(47i64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i64` in the current scope [INFO] [stdout] --> tests/tests.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(!neg_i64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i64` in the current scope [INFO] [stdout] --> tests/tests.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | assert!(!2256522565i64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i64` in the current scope [INFO] [stdout] --> tests/tests.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | assert!(2256522601i64.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i128` in the current scope [INFO] [stdout] --> tests/tests.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | assert!(!0i128.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i128` in the current scope [INFO] [stdout] --> tests/tests.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | assert!(7i128.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i128` in the current scope [INFO] [stdout] --> tests/tests.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | assert!(!neg_i128.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i128` in the current scope [INFO] [stdout] --> tests/tests.rs:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | assert!(!1999999999i128.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `i128` in the current scope [INFO] [stdout] --> tests/tests.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | assert!(2000000011i128.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `i128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `i128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `isize` in the current scope [INFO] [stdout] --> tests/tests.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(!4isize.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `isize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `isize` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `isize` in the current scope [INFO] [stdout] --> tests/tests.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | assert!(5isize.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `isize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `isize` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `isize` in the current scope [INFO] [stdout] --> tests/tests.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | assert!(!99999isize.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `isize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `isize` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `isize` in the current scope [INFO] [stdout] --> tests/tests.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | assert!(99991isize.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `isize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `isize` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_prime` found for type `isize` in the current scope [INFO] [stdout] --> tests/tests.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | assert!(!neg_isize.is_prime()); [INFO] [stdout] | ^^^^^^^^ method not found in `isize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_prime(&self) -> bool { [INFO] [stdout] | -------- the method is available for `isize` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IsPrime` which provides `is_prime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use primality::IsPrime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `primality` (test "tests") due to 64 previous errors [INFO] running `Command { std: "docker" "inspect" "7a3cda317e03466d81f5981eec357d60d1dd7b565fa0cc18b8e8b73f6baaf674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a3cda317e03466d81f5981eec357d60d1dd7b565fa0cc18b8e8b73f6baaf674", kill_on_drop: false }` [INFO] [stdout] 7a3cda317e03466d81f5981eec357d60d1dd7b565fa0cc18b8e8b73f6baaf674