[INFO] cloning repository https://github.com/misty1999/simple_mod_int
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/misty1999/simple_mod_int" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisty1999%2Fsimple_mod_int", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisty1999%2Fsimple_mod_int'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c88f9bf4417455542a140ba44f6c0392898141b
[INFO] testing misty1999/simple_mod_int against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisty1999%2Fsimple_mod_int" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/misty1999/simple_mod_int
[INFO] finished tweaking git repo https://github.com/misty1999/simple_mod_int
[INFO] tweaked toml for git repo https://github.com/misty1999/simple_mod_int written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/misty1999/simple_mod_int on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/misty1999/simple_mod_int already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] de686ec3d81059c8f42ff904a25ec117c0de8ccf1cd10df58b7d3eec6cf18bb0
[INFO] running `Command { std: "docker" "start" "-a" "de686ec3d81059c8f42ff904a25ec117c0de8ccf1cd10df58b7d3eec6cf18bb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "de686ec3d81059c8f42ff904a25ec117c0de8ccf1cd10df58b7d3eec6cf18bb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de686ec3d81059c8f42ff904a25ec117c0de8ccf1cd10df58b7d3eec6cf18bb0", kill_on_drop: false }`
[INFO] [stdout] de686ec3d81059c8f42ff904a25ec117c0de8ccf1cd10df58b7d3eec6cf18bb0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b1dcc86df65266d3698dd4fe2190580aa428283ce64dc10070a31e87ad4b0881
[INFO] running `Command { std: "docker" "start" "-a" "b1dcc86df65266d3698dd4fe2190580aa428283ce64dc10070a31e87ad4b0881", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling simple_mod_int v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.53s
[INFO] running `Command { std: "docker" "inspect" "b1dcc86df65266d3698dd4fe2190580aa428283ce64dc10070a31e87ad4b0881", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1dcc86df65266d3698dd4fe2190580aa428283ce64dc10070a31e87ad4b0881", kill_on_drop: false }`
[INFO] [stdout] b1dcc86df65266d3698dd4fe2190580aa428283ce64dc10070a31e87ad4b0881
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2839a6c52f83ebc547371359c084762d57766ed29d4532cab40918cb3d9e6e36
[INFO] running `Command { std: "docker" "start" "-a" "2839a6c52f83ebc547371359c084762d57766ed29d4532cab40918cb3d9e6e36", kill_on_drop: false }`
[INFO] [stderr]    Compiling simple_mod_int v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s
[INFO] running `Command { std: "docker" "inspect" "2839a6c52f83ebc547371359c084762d57766ed29d4532cab40918cb3d9e6e36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2839a6c52f83ebc547371359c084762d57766ed29d4532cab40918cb3d9e6e36", kill_on_drop: false }`
[INFO] [stdout] 2839a6c52f83ebc547371359c084762d57766ed29d4532cab40918cb3d9e6e36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6836523d596fb4cb6abf41373b5a7c7e6b59dc62ba473b09951b898fd9fe7003
[INFO] running `Command { std: "docker" "start" "-a" "6836523d596fb4cb6abf41373b5a7c7e6b59dc62ba473b09951b898fd9fe7003", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_mod_int-cc4224bcf04f8e11)
[INFO] [stdout] running 21 tests
[INFO] [stdout] test test::test_add_assign_u32::test_add_assign_u32 ... ok
[INFO] [stdout] test test::test_div::test_mod_div ... ok
[INFO] [stdout] test test::test_inv::test_mod_inv ... ok
[INFO] [stdout] test test::test_inv::test_mod_inv2 ... ok
[INFO] [stdout] test test::test_mul_assign_u32::test_mul_assign_u32 ... ok
[INFO] [stdout] test test::test_add::test_mod_add ... ok
[INFO] [stdout] test test::test_div_assign_u32::test_div_assign_u32 ... ok
[INFO] [stdout] test test::test_mul::test_mod_mul ... ok
[INFO] [stdout] test test::test_neg::test_mod_neg ... ok
[INFO] [stdout] test test::test_simplified_notation::test_div_simplified_notation ... ok
[INFO] [stdout] test test::test_simplified_notation::test_mul_simplified_notation ... ok
[INFO] [stdout] test test::test_simplified_notation::test_add_simplified_notation ... ok
[INFO] [stdout] test test::test_simplified_notation::test_sub_simplified_notation ... ok
[INFO] [stdout] test test::test_sub_assign_u32::test_sub_assign_u32 ... ok
[INFO] [stdout] test test::test_u32::test_add_u32 ... ok
[INFO] [stdout] test test::test_u32::test_big_number ... ok
[INFO] [stdout] test test::test_u32::test_mul_u32 ... ok
[INFO] [stdout] test test::test_u32::test_sub_u32 ... ok
[INFO] [stdout] test test::test_inv::test_mod_inv_not_coprime - should panic ... ok
[INFO] [stdout] test test::test_pow::test_mod_pow ... ok
[INFO] [stdout] test test::test_sub::test_mod_sub ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests simple_mod_int
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test src/lib.rs - Mod<M> (line 414) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M> (line 167) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 40) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 241) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M> (line 316) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 265) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 59) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 181) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M> (line 221) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M> (line 201) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M> (line 106) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 428) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 282) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 299) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 151) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M>::pow (line 338) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M> (line 137) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 90) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 76) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M>::inv (line 380) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 120) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Mod<M> (line 414) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:419:1
[INFO] [stdout]     |
[INFO] [stdout] 415 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_414_0() {
[INFO] [stdout]     |                                                                         - help: try adding a return type: `-> bool`
[INFO] [stdout] ...
[INFO] [stdout] 419 | a==b
[INFO] [stdout]     | ^^^^ expected `()`, found `bool`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Mod<M> (line 241) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:245:18
[INFO] [stdout]     |
[INFO] [stdout] 245 | let b: Mod<17> = 20;
[INFO] [stdout]     |        -------   ^^ expected `Mod<17>`, found integer
[INFO] [stdout]     |        |
[INFO] [stdout]     |        expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Mod<17>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] help: try wrapping the expression in `simple_mod_int::Mod`
[INFO] [stdout]     |
[INFO] [stdout] 245 | let b: Mod<17> = simple_mod_int::Mod { value: 20 };
[INFO] [stdout]     |                  ++++++++++++++++++++++++++++    +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Mod<M> (line 181) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:185:18
[INFO] [stdout]     |
[INFO] [stdout] 185 | let b: Mod<17> = 20;
[INFO] [stdout]     |        -------   ^^ expected `Mod<17>`, found integer
[INFO] [stdout]     |        |
[INFO] [stdout]     |        expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Mod<17>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] help: try wrapping the expression in `simple_mod_int::Mod`
[INFO] [stdout]     |
[INFO] [stdout] 185 | let b: Mod<17> = simple_mod_int::Mod { value: 20 };
[INFO] [stdout]     |                  ++++++++++++++++++++++++++++    +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Mod<M> (line 221) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:225:18
[INFO] [stdout]     |
[INFO] [stdout] 225 | let b: Mod<17> = 20;
[INFO] [stdout]     |        -------   ^^ expected `Mod<17>`, found integer
[INFO] [stdout]     |        |
[INFO] [stdout]     |        expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Mod<17>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] help: try wrapping the expression in `simple_mod_int::Mod`
[INFO] [stdout]     |
[INFO] [stdout] 225 | let b: Mod<17> = simple_mod_int::Mod { value: 20 };
[INFO] [stdout]     |                  ++++++++++++++++++++++++++++    +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Mod<M> (line 201) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:205:18
[INFO] [stdout]     |
[INFO] [stdout] 205 | let b: Mod<17> = 20;
[INFO] [stdout]     |        -------   ^^ expected `Mod<17>`, found integer
[INFO] [stdout]     |        |
[INFO] [stdout]     |        expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Mod<17>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] help: try wrapping the expression in `simple_mod_int::Mod`
[INFO] [stdout]     |
[INFO] [stdout] 205 | let b: Mod<17> = simple_mod_int::Mod { value: 20 };
[INFO] [stdout]     |                  ++++++++++++++++++++++++++++    +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Mod<M>::pow (line 338) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `Mod<17>: num_traits::cast::AsPrimitive<i64>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:343:15
[INFO] [stdout]     |
[INFO] [stdout] 343 | let c = a.pow(b);
[INFO] [stdout]     |           --- ^ the trait `num_traits::cast::AsPrimitive<i64>` is not implemented for `Mod<17>`
[INFO] [stdout]     |           |
[INFO] [stdout]     |           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Mod::<M>::pow`
[INFO] [stdout]    --> src/lib.rs:353:12
[INFO] [stdout]     |
[INFO] [stdout] 351 |     pub fn pow<T>(self, other: T) -> Self 
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout] 352 |     where
[INFO] [stdout] 353 |         T: AsPrimitive<i64> + Copy
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ required by this bound in `Mod::<M>::pow`
[INFO] [stdout] help: consider dereferencing here
[INFO] [stdout]     |
[INFO] [stdout] 343 | let c = a.pow(*b);
[INFO] [stdout]     |               +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - Mod<M> (line 181)
[INFO] [stdout]     src/lib.rs - Mod<M> (line 201)
[INFO] [stdout]     src/lib.rs - Mod<M> (line 221)
[INFO] [stdout]     src/lib.rs - Mod<M> (line 241)
[INFO] [stdout]     src/lib.rs - Mod<M> (line 414)
[INFO] [stdout]     src/lib.rs - Mod<M>::pow (line 338)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 15 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.00s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6836523d596fb4cb6abf41373b5a7c7e6b59dc62ba473b09951b898fd9fe7003", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6836523d596fb4cb6abf41373b5a7c7e6b59dc62ba473b09951b898fd9fe7003", kill_on_drop: false }`
[INFO] [stdout] 6836523d596fb4cb6abf41373b5a7c7e6b59dc62ba473b09951b898fd9fe7003
