[INFO] cloning repository https://github.com/samdemorest/rsa_keygen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samdemorest/rsa_keygen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdemorest%2Frsa_keygen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdemorest%2Frsa_keygen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e3894cc9568c39a6276d0626e8eb4b280ea8134
[INFO] testing samdemorest/rsa_keygen against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdemorest%2Frsa_keygen" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/samdemorest/rsa_keygen
[INFO] finished tweaking git repo https://github.com/samdemorest/rsa_keygen
[INFO] tweaked toml for git repo https://github.com/samdemorest/rsa_keygen written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/samdemorest/rsa_keygen on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/samdemorest/rsa_keygen 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1bbf89b1a0f4bcb8214888dc292c9028a2130a7049761109801130a7ffb0cec5
[INFO] running `Command { std: "docker" "start" "-a" "1bbf89b1a0f4bcb8214888dc292c9028a2130a7049761109801130a7ffb0cec5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1bbf89b1a0f4bcb8214888dc292c9028a2130a7049761109801130a7ffb0cec5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bbf89b1a0f4bcb8214888dc292c9028a2130a7049761109801130a7ffb0cec5", kill_on_drop: false }`
[INFO] [stdout] 1bbf89b1a0f4bcb8214888dc292c9028a2130a7049761109801130a7ffb0cec5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c165c2d950319fb5d8977775025f7a9fc81194c5f849d08bddb54f454c41d8c
[INFO] running `Command { std: "docker" "start" "-a" "4c165c2d950319fb5d8977775025f7a9fc81194c5f849d08bddb54f454c41d8c", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.1.6
[INFO] [stderr]    Compiling gcc v0.3.4
[INFO] [stderr]    Compiling rustc-serialize v0.3.12
[INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/serialize.rs:144:45
[INFO] [stdout]     |
[INFO] [stdout] 144 | ...                   &f_name: &str,
[INFO] [stdout]     |                       ^^^^^^^ pattern not allowed in function without body
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling log v0.3.1
[INFO] [stdout] error[E0432]: unresolved import `std::ffi::AsOsStr`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/serialize.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::ffi::{AsOsStr, OsString};
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `AsOsStr` in `ffi`
[INFO] [stdout]    |                help: a similar name exists in the module: `OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::Int`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/json.rs:244:16
[INFO] [stdout]     |
[INFO] [stdout] 244 | use std::num::{Float, Int};
[INFO] [stdout]     |                ^^^^^  ^^^ no `Int` in `num`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                no `Float` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rand v0.3.7
[INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::Int`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/mod.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::num::{Float, Int};
[INFO] [stdout]    |                ^^^^^  ^^^ no `Int` in `num`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `Float` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/serialize.rs:200:41
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:557:0
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error> where Self: Sized;
[INFO] [stdout]     |                                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:83:50
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn construct_range(low: Self, high: Self) -> Range<Self>;
[INFO] [stdout]    |                                                  ^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout] note: required by an implicit `Sized` bound in `distributions::range::Range`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Range<X> {
[INFO] [stdout]    |                  ^ required by the implicit `Sized` requirement on this type parameter in `Range`
[INFO] [stdout] help: you could relax the implicit `Sized` bound on `X` if it were used through indirection like `&X` or `Box<X>`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Range<X> {
[INFO] [stdout]    |                  ^ this could be changed to `X: ?Sized`...
[INFO] [stdout] 51 |     low: X,
[INFO] [stdout]    |          - ...if indirection were used here: `Box<X>`
[INFO] [stdout] 52 |     range: X,
[INFO] [stdout]    |            - ...if indirection were used here: `Box<X>`
[INFO] [stdout] 53 |     accept_zone: X
[INFO] [stdout]    |                  - ...if indirection were used here: `Box<X>`
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn construct_range(low: Self, high: Self) -> Range<Self> where Self: Sized;
[INFO] [stdout]    |                                                              +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:87:33
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn sample_range<R: Rng>(r: &Range<Self>, rng: &mut R) -> Self;
[INFO] [stdout]    |                                 ^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout] note: required by an implicit `Sized` bound in `distributions::range::Range`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Range<X> {
[INFO] [stdout]    |                  ^ required by the implicit `Sized` requirement on this type parameter in `Range`
[INFO] [stdout] help: you could relax the implicit `Sized` bound on `X` if it were used through indirection like `&X` or `Box<X>`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Range<X> {
[INFO] [stdout]    |                  ^ this could be changed to `X: ?Sized`...
[INFO] [stdout] 51 |     low: X,
[INFO] [stdout]    |          - ...if indirection were used here: `Box<X>`
[INFO] [stdout] 52 |     range: X,
[INFO] [stdout]    |            - ...if indirection were used here: `Box<X>`
[INFO] [stdout] 53 |     accept_zone: X
[INFO] [stdout]    |                  - ...if indirection were used here: `Box<X>`
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn sample_range<R: Rng>(r: &Range<Self>, rng: &mut R) -> Self where Self: Sized;
[INFO] [stdout]    |                                                                   +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `checked_add` on ambiguous numeric type `{integer}`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/mod.rs:139:49
[INFO] [stdout]     |
[INFO] [stdout] 139 |             running_total = match running_total.checked_add(item.weight) {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you must specify a type for this binding, like `i32`
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let mut running_total: i32 = 0;
[INFO] [stdout]     |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling time v0.1.25
[INFO] [stdout] error[E0689]: can't call method `checked_mul` on ambiguous numeric type `{integer}`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/json.rs:1519:59
[INFO] [stdout]      |
[INFO] [stdout] 1519 | ...                   accum = try_or_invalid!(accum.checked_mul(10));
[INFO] [stdout]      |                                                     ^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: you must specify a type for this binding, like `i32`
[INFO] [stdout]      |
[INFO] [stdout] 1495 |         let mut accum: i32 = 0;
[INFO] [stdout]      |                      +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `checked_add` on ambiguous numeric type `{integer}`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.12/src/json.rs:1520:59
[INFO] [stdout]      |
[INFO] [stdout] 1520 | ...                   accum = try_or_invalid!(accum.checked_add((c as u64) - ('0' as u64)));
[INFO] [stdout]      |                                                     ^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: you must specify a type for this binding, like `i32`
[INFO] [stdout]      |
[INFO] [stdout] 1495 |         let mut accum: i32 = 0;
[INFO] [stdout]      |                      +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0689.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rand` (lib) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0642, E0689.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "4c165c2d950319fb5d8977775025f7a9fc81194c5f849d08bddb54f454c41d8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c165c2d950319fb5d8977775025f7a9fc81194c5f849d08bddb54f454c41d8c", kill_on_drop: false }`
[INFO] [stdout] 4c165c2d950319fb5d8977775025f7a9fc81194c5f849d08bddb54f454c41d8c
