[INFO] fetching crate num-integer 0.1.46... [INFO] checking num-integer-0.1.46 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate num-integer 0.1.46 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate num-integer 0.1.46 [INFO] finished tweaking crates.io crate num-integer 0.1.46 [INFO] tweaked toml for crates.io crate num-integer 0.1.46 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate num-integer 0.1.46 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 2 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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e28c643c61bcc7584851a207ba2332f8478feac18d36301ff8e09e726f864f4c [INFO] running `Command { std: "docker" "start" "-a" "e28c643c61bcc7584851a207ba2332f8478feac18d36301ff8e09e726f864f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e28c643c61bcc7584851a207ba2332f8478feac18d36301ff8e09e726f864f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e28c643c61bcc7584851a207ba2332f8478feac18d36301ff8e09e726f864f4c", kill_on_drop: false }` [INFO] [stdout] e28c643c61bcc7584851a207ba2332f8478feac18d36301ff8e09e726f864f4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f9edee8ef0b30f9cb0cd6f37c531f1ac0628682cc906ade66b22d022a991af8e [INFO] running `Command { std: "docker" "start" "-a" "f9edee8ef0b30f9cb0cd6f37c531f1ac0628682cc906ade66b22d022a991af8e", 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 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1021:50 [INFO] [stdout] | [INFO] [stdout] 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:447:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1022:50 [INFO] [stdout] | [INFO] [stdout] 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:447:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1023:50 [INFO] [stdout] | [INFO] [stdout] 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:447:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1024:50 [INFO] [stdout] | [INFO] [stdout] 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:447:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1026:52 [INFO] [stdout] | [INFO] [stdout] 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:447:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1027:51 [INFO] [stdout] | [INFO] [stdout] 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:447:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1028:52 [INFO] [stdout] | [INFO] [stdout] 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:447:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1052 | impl_integer_for_usize!(u8, test_integer_u8).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1021:50 [INFO] [stdout] | [INFO] [stdout] 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1081:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1022:50 [INFO] [stdout] | [INFO] [stdout] 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1081:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1023:50 [INFO] [stdout] | [INFO] [stdout] 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1081:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1024:50 [INFO] [stdout] | [INFO] [stdout] 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1081:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1026:52 [INFO] [stdout] | [INFO] [stdout] 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1081:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1027:51 [INFO] [stdout] | [INFO] [stdout] 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1081:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1028:52 [INFO] [stdout] | [INFO] [stdout] 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u16`, found `&u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1081:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1053 | impl_integer_for_usize!(u16, test_integer_u16).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1021:50 [INFO] [stdout] | [INFO] [stdout] 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1128:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1022:50 [INFO] [stdout] | [INFO] [stdout] 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1128:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1023:50 [INFO] [stdout] | [INFO] [stdout] 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1128:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1024:50 [INFO] [stdout] | [INFO] [stdout] 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1128:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1026:52 [INFO] [stdout] | [INFO] [stdout] 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1128:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1027:51 [INFO] [stdout] | [INFO] [stdout] 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1128:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1028:52 [INFO] [stdout] | [INFO] [stdout] 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u32`, found `&u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1128:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1054 | impl_integer_for_usize!(u32, test_integer_u32).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1021:50 [INFO] [stdout] | [INFO] [stdout] 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1151:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1022:50 [INFO] [stdout] | [INFO] [stdout] 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1151:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1023:50 [INFO] [stdout] | [INFO] [stdout] 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1151:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1024:50 [INFO] [stdout] | [INFO] [stdout] 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1151:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1026:52 [INFO] [stdout] | [INFO] [stdout] 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1151:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1027:51 [INFO] [stdout] | [INFO] [stdout] 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1151:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1028:52 [INFO] [stdout] | [INFO] [stdout] 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1151:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1055 | impl_integer_for_usize!(u64, test_integer_u64).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1021:50 [INFO] [stdout] | [INFO] [stdout] 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1174:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1022:50 [INFO] [stdout] | [INFO] [stdout] 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1174:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1023:50 [INFO] [stdout] | [INFO] [stdout] 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1174:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1024:50 [INFO] [stdout] | [INFO] [stdout] 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1174:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1026:52 [INFO] [stdout] | [INFO] [stdout] 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1174:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1027:51 [INFO] [stdout] | [INFO] [stdout] 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1174:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1028:52 [INFO] [stdout] | [INFO] [stdout] 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `u128`, found `&u128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1174:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1056 | impl_integer_for_usize!(u128, test_integer_u128).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1021:50 [INFO] [stdout] | [INFO] [stdout] 1021 | assert!((0 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1248:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1022:50 [INFO] [stdout] | [INFO] [stdout] 1022 | assert!((6 as $T).is_multiple_of(&(6 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1248:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1023:50 [INFO] [stdout] | [INFO] [stdout] 1023 | assert!((6 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1248:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1024:50 [INFO] [stdout] | [INFO] [stdout] 1024 | assert!((6 as $T).is_multiple_of(&(1 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1248:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1026:52 [INFO] [stdout] | [INFO] [stdout] 1026 | assert!(!(42 as $T).is_multiple_of(&(5 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1248:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1027:51 [INFO] [stdout] | [INFO] [stdout] 1027 | assert!(!(5 as $T).is_multiple_of(&(3 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1248:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1028:52 [INFO] [stdout] | [INFO] [stdout] 1028 | assert!(!(42 as $T).is_multiple_of(&(0 as $T))); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/num/mod.rs:1248:5 [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_usize` which comes from the expansion of the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 1057 | impl_integer_for_usize!(usize, test_integer_usize).clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib test) due to 42 previous errors [INFO] running `Command { std: "docker" "inspect" "f9edee8ef0b30f9cb0cd6f37c531f1ac0628682cc906ade66b22d022a991af8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9edee8ef0b30f9cb0cd6f37c531f1ac0628682cc906ade66b22d022a991af8e", kill_on_drop: false }` [INFO] [stdout] f9edee8ef0b30f9cb0cd6f37c531f1ac0628682cc906ade66b22d022a991af8e