[INFO] fetching crate generic_modular 0.1.0... [INFO] testing generic_modular-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate generic_modular 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate generic_modular 0.1.0 [INFO] finished tweaking crates.io crate generic_modular 0.1.0 [INFO] tweaked toml for crates.io crate generic_modular 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate generic_modular 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding static_assertions v0.3.4 (available: v1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2203dbce6ed70eed437f1575a60d3c2efc451dd5986b16c8123a9f312db9671 [INFO] running `Command { std: "docker" "start" "-a" "d2203dbce6ed70eed437f1575a60d3c2efc451dd5986b16c8123a9f312db9671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2203dbce6ed70eed437f1575a60d3c2efc451dd5986b16c8123a9f312db9671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2203dbce6ed70eed437f1575a60d3c2efc451dd5986b16c8123a9f312db9671", kill_on_drop: false }` [INFO] [stdout] d2203dbce6ed70eed437f1575a60d3c2efc451dd5986b16c8123a9f312db9671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 373b06b7d0d8ea1dbec072541d27cae5f1f73842512b9a61c8b40e87262ccb4a [INFO] running `Command { std: "docker" "start" "-a" "373b06b7d0d8ea1dbec072541d27cae5f1f73842512b9a61c8b40e87262ccb4a", kill_on_drop: false }` [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling generic_modular v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | #![cfg_attr(nightly, feature(underscore_const_names, doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(nightly, cfg(rustdoc))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `static_assertions::assert_impl`: please use `assert_impl_all!` instead [INFO] [stdout] --> src/def_macro.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | static_assertions::assert_impl!(impl_modular; $int, Copy, Debug, Default, Add, Sub, Mul, Rem); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / def_modular!(ExampleModular101 : u16 | i16, 101 ; example_modular_101_lbl [INFO] [stdout] 48 | | #[doc = "This struct is an example struct used to demonstrate what is generated by the [`def_modular`](macro.def_modu... [INFO] [stdout] 49 | | #[doc = ""] [INFO] [stdout] 50 | | #[doc = "Do not try to use this type anywhere (including tests), because this type is only declared in `cfg(rustdoc)`."] [INFO] [stdout] 51 | | ); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `def_modular` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "373b06b7d0d8ea1dbec072541d27cae5f1f73842512b9a61c8b40e87262ccb4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "373b06b7d0d8ea1dbec072541d27cae5f1f73842512b9a61c8b40e87262ccb4a", kill_on_drop: false }` [INFO] [stdout] 373b06b7d0d8ea1dbec072541d27cae5f1f73842512b9a61c8b40e87262ccb4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da0c4d7d2c8cd9f2f57d2d48036355e17e11ae455152c4242d1945bc291da19f [INFO] running `Command { std: "docker" "start" "-a" "da0c4d7d2c8cd9f2f57d2d48036355e17e11ae455152c4242d1945bc291da19f", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | #![cfg_attr(nightly, feature(underscore_const_names, doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(nightly, cfg(rustdoc))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `static_assertions::assert_impl`: please use `assert_impl_all!` instead [INFO] [stdout] --> src/def_macro.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | static_assertions::assert_impl!(impl_modular; $int, Copy, Debug, Default, Add, Sub, Mul, Rem); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / def_modular!(ExampleModular101 : u16 | i16, 101 ; example_modular_101_lbl [INFO] [stdout] 48 | | #[doc = "This struct is an example struct used to demonstrate what is generated by the [`def_modular`](macro.def_modu... [INFO] [stdout] 49 | | #[doc = ""] [INFO] [stdout] 50 | | #[doc = "Do not try to use this type anywhere (including tests), because this type is only declared in `cfg(rustdoc)`."] [INFO] [stdout] 51 | | ); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `def_modular` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling generic_modular v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | #![cfg_attr(nightly, feature(underscore_const_names, doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(nightly, cfg(rustdoc))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `static_assertions::assert_impl`: please use `assert_impl_all!` instead [INFO] [stdout] --> src/def_macro.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | static_assertions::assert_impl!(impl_modular; $int, Copy, Debug, Default, Add, Sub, Mul, Rem); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / def_modular!(ExampleModular101 : u16 | i16, 101 ; example_modular_101_lbl [INFO] [stdout] 48 | | #[doc = "This struct is an example struct used to demonstrate what is generated by the [`def_modular`](macro.def_modu... [INFO] [stdout] 49 | | #[doc = ""] [INFO] [stdout] 50 | | #[doc = "Do not try to use this type anywhere (including tests), because this type is only declared in `cfg(rustdoc)`."] [INFO] [stdout] 51 | | ); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `def_modular` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `static_assertions::assert_impl`: please use `assert_impl_all!` instead [INFO] [stdout] --> src/def_macro.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | static_assertions::assert_impl!(impl_modular; $int, Copy, Debug, Default, Add, Sub, Mul, Rem); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | crate::def_modular!(Mod101 : u16 | i16, 101 ; lbl); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::def_modular` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "da0c4d7d2c8cd9f2f57d2d48036355e17e11ae455152c4242d1945bc291da19f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da0c4d7d2c8cd9f2f57d2d48036355e17e11ae455152c4242d1945bc291da19f", kill_on_drop: false }` [INFO] [stdout] da0c4d7d2c8cd9f2f57d2d48036355e17e11ae455152c4242d1945bc291da19f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 293f7fd95e146f0cb45e3fcc2f44434d36087362fa1eb387c6cf5a61f5e93180 [INFO] running `Command { std: "docker" "start" "-a" "293f7fd95e146f0cb45e3fcc2f44434d36087362fa1eb387c6cf5a61f5e93180", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | #![cfg_attr(nightly, feature(underscore_const_names, doc_cfg))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | #[cfg_attr(nightly, cfg(rustdoc))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `static_assertions::assert_impl`: please use `assert_impl_all!` instead [INFO] [stderr] --> src/def_macro.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | static_assertions::assert_impl!(impl_modular; $int, Copy, Debug, Default, Add, Sub, Mul, Rem); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | / def_modular!(ExampleModular101 : u16 | i16, 101 ; example_modular_101_lbl [INFO] [stderr] 48 | | #[doc = "This struct is an example struct used to demonstrate what is generated by the [`def_modular`](macro.def_modu... [INFO] [stderr] 49 | | #[doc = ""] [INFO] [stderr] 50 | | #[doc = "Do not try to use this type anywhere (including tests), because this type is only declared in `cfg(rustdoc)`."] [INFO] [stderr] 51 | | ); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `def_modular` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `generic_modular` (lib) generated 3 warnings [INFO] [stderr] warning: use of deprecated macro `static_assertions::assert_impl`: please use `assert_impl_all!` instead [INFO] [stderr] --> src/def_macro.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | static_assertions::assert_impl!(impl_modular; $int, Copy, Debug, Default, Add, Sub, Mul, Rem); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/tests.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | crate::def_modular!(Mod101 : u16 | i16, 101 ; lbl); [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `crate::def_modular` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `generic_modular` (lib test) generated 4 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/generic_modular-82536703a1cfa11f) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test tests::test_eq_down ... ok [INFO] [stdout] test tests::test_normal_mul ... ok [INFO] [stdout] test tests::test_identical ... ok [INFO] [stdout] test tests::test_normal_add ... ok [INFO] [stdout] test tests::test_eq_up ... ok [INFO] [stdout] test tests::test_wrapping_mul ... ok [INFO] [stdout] test tests::test_wrapping_sub ... ok [INFO] [stdout] test tests::test_normal_sub ... ok [INFO] [stdout] test tests::test_wrapping_add ... ok [INFO] [stderr] Doc-tests generic_modular [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/def_macro.rs - def_macro::def_modular (line 35) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "293f7fd95e146f0cb45e3fcc2f44434d36087362fa1eb387c6cf5a61f5e93180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "293f7fd95e146f0cb45e3fcc2f44434d36087362fa1eb387c6cf5a61f5e93180", kill_on_drop: false }` [INFO] [stdout] 293f7fd95e146f0cb45e3fcc2f44434d36087362fa1eb387c6cf5a61f5e93180