[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] checking samdemorest/rsa_keygen against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdemorest%2Frsa_keygen" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/samdemorest/rsa_keygen on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-serialize v0.3.12 [INFO] [stderr] Downloaded libc v0.1.6 [INFO] [stderr] Downloaded gcc v0.3.4 [INFO] [stderr] Downloaded rand v0.3.7 [INFO] [stderr] Downloaded num v0.1.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f980fc7d6047a1a454342e53ffca212e166c1f9ec7ddd8309ac089366bbb3beb [INFO] running `Command { std: "docker" "start" "-a" "f980fc7d6047a1a454342e53ffca212e166c1f9ec7ddd8309ac089366bbb3beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f980fc7d6047a1a454342e53ffca212e166c1f9ec7ddd8309ac089366bbb3beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f980fc7d6047a1a454342e53ffca212e166c1f9ec7ddd8309ac089366bbb3beb", kill_on_drop: false }` [INFO] [stdout] f980fc7d6047a1a454342e53ffca212e166c1f9ec7ddd8309ac089366bbb3beb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37c2dd8a5beed5c406f3a2c2c6ab87f30881781a3064c706677c3ccc5343fa3f [INFO] running `Command { std: "docker" "start" "-a" "37c2dd8a5beed5c406f3a2c2c6ab87f30881781a3064c706677c3ccc5343fa3f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.1.6 [INFO] [stderr] Compiling gcc v0.3.4 [INFO] [stderr] Checking rustc-serialize v0.3.12 [INFO] [stderr] Checking log v0.3.1 [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] [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] [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: &mut D) -> Result; [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/ba412a6e70ac84641be7764d088acabd0eb3fa39/library/core/src/result.rs:549:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 200 | fn decode(d: &mut D) -> Result where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking 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] [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] 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; [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 { [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` [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 { [INFO] [stdout] | ^ this could be changed to `X: ?Sized`... [INFO] [stdout] 51 | low: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 52 | range: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 53 | accept_zone: X [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 83 | fn construct_range(low: Self, high: Self) -> Range 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: &Range, 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 { [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` [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 { [INFO] [stdout] | ^ this could be changed to `X: ?Sized`... [INFO] [stdout] 51 | low: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 52 | range: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 53 | accept_zone: X [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 87 | fn sample_range(r: &Range, 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcbQ77fC/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libgcc-8f333a2f002bc87e.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcbQ77fC/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/build/time-2c51a9e4252db398/build_script_build-2c51a9e4252db398" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (build script) due to 1 previous error [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] [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] error: could not compile `rustc-serialize` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "37c2dd8a5beed5c406f3a2c2c6ab87f30881781a3064c706677c3ccc5343fa3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37c2dd8a5beed5c406f3a2c2c6ab87f30881781a3064c706677c3ccc5343fa3f", kill_on_drop: false }` [INFO] [stdout] 37c2dd8a5beed5c406f3a2c2c6ab87f30881781a3064c706677c3ccc5343fa3f