[INFO] fetching crate num_convert 0.7.2... [INFO] testing num_convert-0.7.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate num_convert 0.7.2 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate num_convert 0.7.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6be3c8d196e01c5223cac3d50e853354e13749e558005edfd1ec3cec449d5a2e [INFO] running `Command { std: "docker" "start" "-a" "6be3c8d196e01c5223cac3d50e853354e13749e558005edfd1ec3cec449d5a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6be3c8d196e01c5223cac3d50e853354e13749e558005edfd1ec3cec449d5a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6be3c8d196e01c5223cac3d50e853354e13749e558005edfd1ec3cec449d5a2e", kill_on_drop: false }` [INFO] [stdout] 6be3c8d196e01c5223cac3d50e853354e13749e558005edfd1ec3cec449d5a2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2806bad1551149d2acf6f21e93273771c901704dd68d50cbf66782ffa4fdb97a [INFO] running `Command { std: "docker" "start" "-a" "2806bad1551149d2acf6f21e93273771c901704dd68d50cbf66782ffa4fdb97a", 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)]` 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.19s [INFO] running `Command { std: "docker" "inspect" "2806bad1551149d2acf6f21e93273771c901704dd68d50cbf66782ffa4fdb97a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2806bad1551149d2acf6f21e93273771c901704dd68d50cbf66782ffa4fdb97a", kill_on_drop: false }` [INFO] [stdout] 2806bad1551149d2acf6f21e93273771c901704dd68d50cbf66782ffa4fdb97a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2c5c19d9e465de8c1926ea2accb6dd0999513a37af0403b72f4a5906a15e439 [INFO] running `Command { std: "docker" "start" "-a" "d2c5c19d9e465de8c1926ea2accb6dd0999513a37af0403b72f4a5906a15e439", 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)]` 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::CastFromAs` [INFO] [stdout] --> tests/cast_from_as.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_convert::CastFromAs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `CastFromAs` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 133 | #[cfg(feature = "cast_from_as")] [INFO] [stdout] | ------------------------ the item is gated behind the `cast_from_as` feature [INFO] [stdout] 134 | #[cfg_attr(docsrs, doc(cfg(feature = "cast_from_as")))] [INFO] [stdout] 135 | pub use crate::cast_from_as::CastFromAs; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `num_convert::TryFromIntStr`, `num_convert::TryTupToArr` [INFO] [stdout] --> examples/multi_errors.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use num_convert::{TryFromDigits, TryFromByAdd, TryFromIntStr, TryTupToArr}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ no `TryTupToArr` in the root [INFO] [stdout] | | [INFO] [stdout] | no `TryFromIntStr` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:97:56 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(feature = "try_from_int_str")] [INFO] [stdout] | ---------------------------- the item is gated behind the `try_from_int_str` feature [INFO] [stdout] 96 | #[cfg_attr(docsrs, doc(cfg(feature = "try_from_int_str")))] [INFO] [stdout] 97 | pub use crate::convert_try_from_int_str::{IntStrError, TryFromIntStr, TryFromIntStrErr}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(any(feature = "try_tup_to_arr8", feature = "try_tup_to_arr16"))] [INFO] [stdout] | ----------------------------------------------------------- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 107 | pub use crate::convert_try_tup_to_arr::{TryTupToArr, TryTupToArrErr}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `num_convert::MultiErrors`, `num_convert::ConvertErrors`, `num_convert::TryTupToArrErr` [INFO] [stdout] --> examples/multi_errors.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use num_convert::{MultiErrors, ConvertErrors, TryTupToArrErr}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `TryTupToArrErr` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `ConvertErrors` in the root [INFO] [stdout] | no `MultiErrors` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 89 | | feature = "try_tup_to_arr8", [INFO] [stdout] 90 | | feature = "try_tup_to_arr16", [INFO] [stdout] 91 | | feature = "try_from_int_str" [INFO] [stdout] 92 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 93 | pub use crate::convert_errors::{ConvertErrors, MultiErrors}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 89 | | feature = "try_tup_to_arr8", [INFO] [stdout] 90 | | feature = "try_tup_to_arr16", [INFO] [stdout] 91 | | feature = "try_from_int_str" [INFO] [stdout] 92 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 93 | pub use crate::convert_errors::{ConvertErrors, MultiErrors}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:107:54 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(any(feature = "try_tup_to_arr8", feature = "try_tup_to_arr16"))] [INFO] [stdout] | ----------------------------------------------------------- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 107 | pub use crate::convert_try_tup_to_arr::{TryTupToArr, TryTupToArrErr}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_int_str` found for type `u8` in the current scope [INFO] [stdout] --> examples/multi_errors.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | let val_int_str = ::try_from_int_str("333"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `u8` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - let val_int_str = ::try_from_int_str("333"); [INFO] [stdout] 9 + let val_int_str = ::from_str("333"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_into_arr` found for tuple `(&'static str, i32)` in the current scope [INFO] [stdout] --> examples/multi_errors.rs:10:68 [INFO] [stdout] | [INFO] [stdout] 10 | let val_arr: Result<[u8; 2], TryTupToArrErr> = ("256", 225i32).try_into_arr(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `try_into` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - let val_arr: Result<[u8; 2], TryTupToArrErr> = ("256", 225i32).try_into_arr(); [INFO] [stdout] 10 + let val_arr: Result<[u8; 2], TryTupToArrErr> = ("256", 225i32).try_into(); [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` (example "multi_errors") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num_convert` (test "cast_from_as") due to 1 previous error [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] [stderr] error: could not compile `num_convert` (test "convert_from_tup") due to 1 previous error [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)]` 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" "d2c5c19d9e465de8c1926ea2accb6dd0999513a37af0403b72f4a5906a15e439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2c5c19d9e465de8c1926ea2accb6dd0999513a37af0403b72f4a5906a15e439", kill_on_drop: false }` [INFO] [stdout] d2c5c19d9e465de8c1926ea2accb6dd0999513a37af0403b72f4a5906a15e439