[INFO] fetching crate generic_modular 0.1.0... [INFO] testing generic_modular-0.1.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate generic_modular 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate generic_modular 0.1.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66dd918cdc147138b3e425f06ee03e6057be4d3151e5b44a215f9f46ac68a25f [INFO] running `Command { std: "docker" "start" "-a" "66dd918cdc147138b3e425f06ee03e6057be4d3151e5b44a215f9f46ac68a25f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66dd918cdc147138b3e425f06ee03e6057be4d3151e5b44a215f9f46ac68a25f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66dd918cdc147138b3e425f06ee03e6057be4d3151e5b44a215f9f46ac68a25f", kill_on_drop: false }` [INFO] [stdout] 66dd918cdc147138b3e425f06ee03e6057be4d3151e5b44a215f9f46ac68a25f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87bbfc5b023e091f43b797ee8633bcd0dbc1085205cfcb3c7344da0c197c76c7 [INFO] running `Command { std: "docker" "start" "-a" "87bbfc5b023e091f43b797ee8633bcd0dbc1085205cfcb3c7344da0c197c76c7", 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: 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_modular.htm... [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "87bbfc5b023e091f43b797ee8633bcd0dbc1085205cfcb3c7344da0c197c76c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87bbfc5b023e091f43b797ee8633bcd0dbc1085205cfcb3c7344da0c197c76c7", kill_on_drop: false }` [INFO] [stdout] 87bbfc5b023e091f43b797ee8633bcd0dbc1085205cfcb3c7344da0c197c76c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73735a51ec505bdf53208320ea33676b62474dd927e309383edbc13cc6864512 [INFO] running `Command { std: "docker" "start" "-a" "73735a51ec505bdf53208320ea33676b62474dd927e309383edbc13cc6864512", kill_on_drop: false }` [INFO] [stderr] Compiling generic_modular v0.1.0 (/opt/rustwide/workdir) [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_modular.htm... [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: 1 warning emitted [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_modular.htm... [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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "73735a51ec505bdf53208320ea33676b62474dd927e309383edbc13cc6864512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73735a51ec505bdf53208320ea33676b62474dd927e309383edbc13cc6864512", kill_on_drop: false }` [INFO] [stdout] 73735a51ec505bdf53208320ea33676b62474dd927e309383edbc13cc6864512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c624ca55e36d644a56001e8b5da4e933be8669b581b3e159435b091503a0512 [INFO] running `Command { std: "docker" "start" "-a" "0c624ca55e36d644a56001e8b5da4e933be8669b581b3e159435b091503a0512", kill_on_drop: false }` [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_modular.htm... [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: 1 warning emitted [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_modular.htm... [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: 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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/generic_modular-d7ae90fb69907442) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test tests::test_eq_down ... 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_normal_mul ... ok [INFO] [stdout] test tests::test_normal_sub ... ok [INFO] [stdout] test tests::test_wrapping_add ... ok [INFO] [stdout] test tests::test_wrapping_mul ... ok [INFO] [stdout] test tests::test_wrapping_sub ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests generic_modular [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/def_macro.rs - 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" "0c624ca55e36d644a56001e8b5da4e933be8669b581b3e159435b091503a0512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c624ca55e36d644a56001e8b5da4e933be8669b581b3e159435b091503a0512", kill_on_drop: false }` [INFO] [stdout] 0c624ca55e36d644a56001e8b5da4e933be8669b581b3e159435b091503a0512