[INFO] fetching crate num_convert 0.7.2... [INFO] building num_convert-0.7.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate num_convert 0.7.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate num_convert 0.7.2 [INFO] finished tweaking crates.io crate num_convert 0.7.2 [INFO] tweaked toml for crates.io crate num_convert 0.7.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate num_convert 0.7.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate num_convert 0.7.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded from_tup_macro v0.1.0 [INFO] [stderr] Downloaded paste v1.0.11 [INFO] [stderr] Downloaded try_tup_to_arr_macro v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7565ab6e4be1af70ecb07c8018d2eacfaca9ab97eaa12c2c831de3dc1107a76c [INFO] running `Command { std: "docker" "start" "-a" "7565ab6e4be1af70ecb07c8018d2eacfaca9ab97eaa12c2c831de3dc1107a76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7565ab6e4be1af70ecb07c8018d2eacfaca9ab97eaa12c2c831de3dc1107a76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7565ab6e4be1af70ecb07c8018d2eacfaca9ab97eaa12c2c831de3dc1107a76c", kill_on_drop: false }` [INFO] [stdout] 7565ab6e4be1af70ecb07c8018d2eacfaca9ab97eaa12c2c831de3dc1107a76c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4519569701cafec57696743acaa82f2df4cb06768c5fa70291333b31faf3ba95 [INFO] running `Command { std: "docker" "start" "-a" "4519569701cafec57696743acaa82f2df4cb06768c5fa70291333b31faf3ba95", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling from_tup_macro v0.1.0 [INFO] [stderr] Compiling try_tup_to_arr_macro v0.1.0 [INFO] [stderr] Compiling num_convert v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `TypeInfo` is never used [INFO] [stdout] --> src/extra_traits.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait TypeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ValTypeInfo` is never used [INFO] [stdout] --> src/extra_traits.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait ValTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CheckRem` is never used [INFO] [stdout] --> src/extra_traits.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | pub trait CheckRem: Rem + PartialEq [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "4519569701cafec57696743acaa82f2df4cb06768c5fa70291333b31faf3ba95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4519569701cafec57696743acaa82f2df4cb06768c5fa70291333b31faf3ba95", kill_on_drop: false }` [INFO] [stdout] 4519569701cafec57696743acaa82f2df4cb06768c5fa70291333b31faf3ba95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44c5574e47d060d3cd0d813975e4dc064f7c87a48d1dc3fbd03e30aa0fac42ce [INFO] running `Command { std: "docker" "start" "-a" "44c5574e47d060d3cd0d813975e4dc064f7c87a48d1dc3fbd03e30aa0fac42ce", kill_on_drop: false }` [INFO] [stderr] Compiling num_convert v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `TypeInfo` is never used [INFO] [stdout] --> src/extra_traits.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait TypeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ValTypeInfo` is never used [INFO] [stdout] --> src/extra_traits.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait ValTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CheckRem` is never used [INFO] [stdout] --> src/extra_traits.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | pub trait CheckRem: Rem + PartialEq [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_convert::FromTuple` [INFO] [stdout] --> tests/convert_from_tup.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_convert::FromTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `FromTuple` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(any(feature = "tup8", feature = "tup16"))] [INFO] [stdout] | ------------------------------------- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 102 | pub use crate::convert_from_tup::FromTuple; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num_convert` (test "convert_from_tup") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `num_convert::CheckRem` [INFO] [stdout] --> tests/extra_traits.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use num_convert::{CheckRem, IntegerLen}; [INFO] [stdout] | ^^^^^^^^ no `CheckRem` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(feature = "get_rem")] [INFO] [stdout] | ------------------- the item is gated behind the `get_rem` feature [INFO] [stdout] 130 | #[cfg_attr(docsrs, doc(cfg(feature = "get_rem")))] [INFO] [stdout] 131 | pub use crate::extra_traits::CheckRem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `no_rem` found for type `f32` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(10.0_f32.no_rem(2.0_f32), true); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn no_rem(&self, n: Self) -> bool { [INFO] [stdout] | ------ the method is available for `f32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CheckRem` which provides `no_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 79 - assert_eq!(10.0_f32.no_rem(2.0_f32), true); [INFO] [stdout] 79 + assert_eq!(10.0_f32.rem(2.0_f32), true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `no_rem` found for type `f32` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(10.0_f32.no_rem(3.0_f32), false); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn no_rem(&self, n: Self) -> bool { [INFO] [stdout] | ------ the method is available for `f32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CheckRem` which provides `no_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 80 - assert_eq!(10.0_f32.no_rem(3.0_f32), false); [INFO] [stdout] 80 + assert_eq!(10.0_f32.rem(3.0_f32), false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_rem` found for type `f64` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(10.0_f64.is_rem(2.0_f64), false); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_rem(&self, n: Self) -> bool { [INFO] [stdout] | ------ the method is available for `f64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CheckRem` which provides `is_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 86 - assert_eq!(10.0_f64.is_rem(2.0_f64), false); [INFO] [stdout] 86 + assert_eq!(10.0_f64.rem(2.0_f64), false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_rem` found for type `f64` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(10.0_f64.is_rem(3.0_f64), true); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_rem(&self, n: Self) -> bool { [INFO] [stdout] | ------ the method is available for `f64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CheckRem` which provides `is_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 87 - assert_eq!(10.0_f64.is_rem(3.0_f64), true); [INFO] [stdout] 87 + assert_eq!(10.0_f64.rem(3.0_f64), true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `no_rem` found for type `i8` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(10_i8.no_rem(2_i8), true); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn no_rem(&self, n: 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 `CheckRem` which provides `no_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 93 - assert_eq!(10_i8.no_rem(2_i8), true); [INFO] [stdout] 93 + assert_eq!(10_i8.rem(2_i8), true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `no_rem` found for type `u8` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(10_u8.no_rem(2_u8), true); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn no_rem(&self, n: 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 `CheckRem` which provides `no_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 94 - assert_eq!(10_u8.no_rem(2_u8), true); [INFO] [stdout] 94 + assert_eq!(10_u8.rem(2_u8), true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `no_rem` found for type `i16` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(10_i16.no_rem(3_i16), false); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn no_rem(&self, n: 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 `CheckRem` which provides `no_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 95 - assert_eq!(10_i16.no_rem(3_i16), false); [INFO] [stdout] 95 + assert_eq!(10_i16.rem(3_i16), false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `no_rem` found for type `u16` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(0_u16.no_rem(1_u16), true); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn no_rem(&self, n: 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 `CheckRem` which provides `no_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 96 - assert_eq!(0_u16.no_rem(1_u16), true); [INFO] [stdout] 96 + assert_eq!(0_u16.rem(1_u16), true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `no_rem` found for type `usize` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(0_usize.no_rem(1_usize), true); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn no_rem(&self, n: 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 `CheckRem` which provides `no_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 97 - assert_eq!(0_usize.no_rem(1_usize), true); [INFO] [stdout] 97 + assert_eq!(0_usize.rem(1_usize), true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_rem` found for type `i32` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | assert_eq!(10_i32.is_rem(2_i32), false); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_rem(&self, n: 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 `CheckRem` which provides `is_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 102 - assert_eq!(10_i32.is_rem(2_i32), false); [INFO] [stdout] 102 + assert_eq!(10_i32.rem(2_i32), false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_rem` found for type `u32` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(10_u32.is_rem(3_u32), true); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_rem(&self, n: 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 `CheckRem` which provides `is_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 103 - assert_eq!(10_u32.is_rem(3_u32), true); [INFO] [stdout] 103 + assert_eq!(10_u32.rem(3_u32), true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_rem` found for type `i64` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(0_i64.is_rem(1_i64), false); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_rem(&self, n: 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 `CheckRem` which provides `is_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 104 - assert_eq!(0_i64.is_rem(1_i64), false); [INFO] [stdout] 104 + assert_eq!(0_i64.rem(1_i64), false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_rem` found for type `u64` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(0_u64.is_rem(1_u64), false); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_rem(&self, n: 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 `CheckRem` which provides `is_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 105 - assert_eq!(0_u64.is_rem(1_u64), false); [INFO] [stdout] 105 + assert_eq!(0_u64.rem(1_u64), false); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_rem` found for type `isize` in the current scope [INFO] [stdout] --> tests/extra_traits.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | assert_eq!(0_isize.is_rem(1_isize), false); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/extra_traits.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_rem(&self, n: 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 `CheckRem` which provides `is_rem` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use num_convert::extra_traits::CheckRem; [INFO] [stdout] | [INFO] [stdout] help: there is a method `rem` with a similar name [INFO] [stdout] | [INFO] [stdout] 106 - assert_eq!(0_isize.is_rem(1_isize), false); [INFO] [stdout] 106 + assert_eq!(0_isize.rem(1_isize), false); [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 `num_convert` (test "extra_traits") due to 15 previous errors [INFO] [stdout] warning: trait `TypeInfo` is never used [INFO] [stdout] --> src/extra_traits.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait TypeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ValTypeInfo` is never used [INFO] [stdout] --> src/extra_traits.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait ValTypeInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CheckRem` is never used [INFO] [stdout] --> src/extra_traits.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | pub trait CheckRem: Rem + PartialEq [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "44c5574e47d060d3cd0d813975e4dc064f7c87a48d1dc3fbd03e30aa0fac42ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c5574e47d060d3cd0d813975e4dc064f7c87a48d1dc3fbd03e30aa0fac42ce", kill_on_drop: false }` [INFO] [stdout] 44c5574e47d060d3cd0d813975e4dc064f7c87a48d1dc3fbd03e30aa0fac42ce