[INFO] fetching crate generic_modular 0.1.0... [INFO] testing generic_modular-0.1.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [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 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b745aae6605d870d030b31eed3578969348c1cff8aa2d78930f1584ea341fa6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7b745aae6605d870d030b31eed3578969348c1cff8aa2d78930f1584ea341fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b745aae6605d870d030b31eed3578969348c1cff8aa2d78930f1584ea341fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b745aae6605d870d030b31eed3578969348c1cff8aa2d78930f1584ea341fa6", kill_on_drop: false }` [INFO] [stdout] 7b745aae6605d870d030b31eed3578969348c1cff8aa2d78930f1584ea341fa6 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d69c8e213ce6e11d779bdcc93120443b9e66b0b73d651797557315073487f4c5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d69c8e213ce6e11d779bdcc93120443b9e66b0b73d651797557315073487f4c5", 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "d69c8e213ce6e11d779bdcc93120443b9e66b0b73d651797557315073487f4c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d69c8e213ce6e11d779bdcc93120443b9e66b0b73d651797557315073487f4c5", kill_on_drop: false }` [INFO] [stdout] d69c8e213ce6e11d779bdcc93120443b9e66b0b73d651797557315073487f4c5 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 660285817c857559db35c04898b0b1c4178f25250cdbd1c3ed8c24e7e8fc021b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "660285817c857559db35c04898b0b1c4178f25250cdbd1c3ed8c24e7e8fc021b", 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.45s [INFO] running `Command { std: "docker" "inspect" "660285817c857559db35c04898b0b1c4178f25250cdbd1c3ed8c24e7e8fc021b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "660285817c857559db35c04898b0b1c4178f25250cdbd1c3ed8c24e7e8fc021b", kill_on_drop: false }` [INFO] [stdout] 660285817c857559db35c04898b0b1c4178f25250cdbd1c3ed8c24e7e8fc021b [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] adb450957a8654eea5964cbcbd670c23ea8ba195f7e2deb2e2a86338a9c17d7d [INFO] running `Command { std: "docker" "start" "-a" "adb450957a8654eea5964cbcbd670c23ea8ba195f7e2deb2e2a86338a9c17d7d", 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-aed923a3f2a4c7c8) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test tests::test_eq_up ... ok [INFO] [stdout] test tests::test_wrapping_sub ... ok [INFO] [stdout] test tests::test_normal_add ... ok [INFO] [stdout] test tests::test_identical ... 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] [stderr] Doc-tests generic_modular [INFO] [stdout] test tests::test_normal_mul ... ok [INFO] [stdout] test tests::test_eq_down ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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" "adb450957a8654eea5964cbcbd670c23ea8ba195f7e2deb2e2a86338a9c17d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adb450957a8654eea5964cbcbd670c23ea8ba195f7e2deb2e2a86338a9c17d7d", kill_on_drop: false }` [INFO] [stdout] adb450957a8654eea5964cbcbd670c23ea8ba195f7e2deb2e2a86338a9c17d7d