[INFO] cloning repository https://github.com/pturner42/StringTheory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pturner42/StringTheory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpturner42%2FStringTheory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpturner42%2FStringTheory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d832cf028619b88e5de1fd946e0646b12ede9fa9 [INFO] checking pturner42/StringTheory/d832cf028619b88e5de1fd946e0646b12ede9fa9 against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpturner42%2FStringTheory" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pturner42/StringTheory on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pturner42/StringTheory [INFO] finished tweaking git repo https://github.com/pturner42/StringTheory [INFO] tweaked toml for git repo https://github.com/pturner42/StringTheory written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pturner42/StringTheory 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "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] Updating git repository `https://github.com/bjz/gl-rs.git` [INFO] [stderr] Updating git submodule `https://github.com/capnm/Khronos_XML_API` [INFO] [stderr] Updating git repository `https://github.com/lotusronin/rust-assimp` [INFO] [stderr] Updating git repository `https://github.com/hirolord/rustnet.git` [INFO] [stderr] Updating git repository `https://github.com/AngryLawyer/rust-sdl2` [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/vecmath` [INFO] [stderr] Updating git repository `https://github.com/Limvot/rust-sdl2_net` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-serialize v0.3.12 [INFO] [stderr] Downloaded rand v0.3.7 [INFO] [stderr] Downloaded xml-rs v0.1.23 [INFO] [stderr] Downloaded libc v0.1.6 [INFO] [stderr] Downloaded num v0.1.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f463f1e7214088598af9d69095b5e8226a6b1fc91675ecbdc2e8ac32589a370 [INFO] running `Command { std: "docker" "start" "-a" "4f463f1e7214088598af9d69095b5e8226a6b1fc91675ecbdc2e8ac32589a370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f463f1e7214088598af9d69095b5e8226a6b1fc91675ecbdc2e8ac32589a370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f463f1e7214088598af9d69095b5e8226a6b1fc91675ecbdc2e8ac32589a370", kill_on_drop: false }` [INFO] [stdout] 4f463f1e7214088598af9d69095b5e8226a6b1fc91675ecbdc2e8ac32589a370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41f9142e8853c1ef8d963313c7eb34048115b2c72b92bb62038add678ad74870 [INFO] running `Command { std: "docker" "start" "-a" "41f9142e8853c1ef8d963313c7eb34048115b2c72b92bb62038add678ad74870", 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] Checking rustc-serialize v0.3.12 [INFO] [stderr] Compiling sdl2-sys v0.1.0 (https://github.com/AngryLawyer/rust-sdl2#103b85c0) [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling khronos_api v0.0.5 (https://github.com/bjz/gl-rs.git#3ebf1cfe) [INFO] [stderr] Compiling xml-rs v0.1.23 [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] [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/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/library/core/src/result.rs:548: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 gl_common v0.0.4 (https://github.com/bjz/gl-rs.git#3ebf1cfe) [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/xml-rs-0.1.23/src/util.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | fn cloned_pairwise(self) -> ClonedPairwise; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `ClonedPairwise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xml-rs-0.1.23/src/util.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ClonedPairwise(I); [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `ClonedPairwise` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `I` if it were used through indirection like `&I` or `Box` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xml-rs-0.1.23/src/util.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ClonedPairwise(I); [INFO] [stdout] | ^ - ...if indirection were used here: `Box` [INFO] [stdout] | | [INFO] [stdout] | this could be changed to `I: ?Sized`... [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 15 | fn cloned_pairwise(self) -> ClonedPairwise 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] [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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xml-rs` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] [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" "41f9142e8853c1ef8d963313c7eb34048115b2c72b92bb62038add678ad74870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41f9142e8853c1ef8d963313c7eb34048115b2c72b92bb62038add678ad74870", kill_on_drop: false }` [INFO] [stdout] 41f9142e8853c1ef8d963313c7eb34048115b2c72b92bb62038add678ad74870