[INFO] cloning repository https://github.com/wilzh40/GravitySim-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wilzh40/GravitySim-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilzh40%2FGravitySim-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilzh40%2FGravitySim-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bdcd7f753aaebef9a14b6a91a54aa5663fee8e2 [INFO] checking wilzh40/GravitySim-Rust against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilzh40%2FGravitySim-Rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wilzh40/GravitySim-Rust on toolchain 5cafabc9f16561d7796554d5d241c3068e2bd97f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wilzh40/GravitySim-Rust [INFO] finished tweaking git repo https://github.com/wilzh40/GravitySim-Rust [INFO] tweaked toml for git repo https://github.com/wilzh40/GravitySim-Rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wilzh40/GravitySim-Rust 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" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c03973b4e71fe778eb5f0b11629f87843654afe1d9a75733fe6dad9f14f52f4 [INFO] running `Command { std: "docker" "start" "-a" "8c03973b4e71fe778eb5f0b11629f87843654afe1d9a75733fe6dad9f14f52f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c03973b4e71fe778eb5f0b11629f87843654afe1d9a75733fe6dad9f14f52f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c03973b4e71fe778eb5f0b11629f87843654afe1d9a75733fe6dad9f14f52f4", kill_on_drop: false }` [INFO] [stdout] 8c03973b4e71fe778eb5f0b11629f87843654afe1d9a75733fe6dad9f14f52f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20d16098d561e064f3f68f1e69f5438be9467e39c4f58e93773546fc25432b8d [INFO] running `Command { std: "docker" "start" "-a" "20d16098d561e064f3f68f1e69f5438be9467e39c4f58e93773546fc25432b8d", 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.8 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking rustc-serialize v0.3.14 [INFO] [stderr] Compiling khronos_api v0.0.5 [INFO] [stderr] Compiling pkg-config v0.3.4 [INFO] [stderr] Checking piston-float v0.1.0 [INFO] [stderr] Compiling xml-rs v0.1.25 [INFO] [stderr] Checking lazy_static v0.1.11 [INFO] [stderr] Checking piston-viewport v0.1.0 [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.14/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] Checking draw_state v0.1.0 [INFO] [stderr] Checking rand v0.3.8 [INFO] [stderr] Compiling log v0.3.1 [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.25/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.25/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.25/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 gl_common v0.0.4 [INFO] [stderr] Checking clock_ticks v0.0.5 [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.14/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/5cafabc9f16561d7796554d5d241c3068e2bd97f/library/core/src/result.rs:528: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 shared_library v0.1.0 [INFO] [stderr] Checking wayland-client v0.1.8 [INFO] [stderr] Checking dylib v0.0.1 [INFO] [stderr] Compiling libz-sys v0.1.3 [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wayland-client-0.1.8/src/ffi/abi.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | #[repr(C)] pub type wl_dispatcher_func_t = extern fn(*const c_void, [INFO] [stdout] | ________^___- [INFO] [stdout] 46 | | *mut c_void, [INFO] [stdout] 47 | | uint32_t, [INFO] [stdout] 48 | | *const wl_message, [INFO] [stdout] 49 | | *mut wl_argument [INFO] [stdout] 50 | | ); [INFO] [stdout] | |______________________________________________________- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wayland-client-0.1.8/src/ffi/abi.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | #[repr(C)] pub type wl_log_func_t = extern fn(_: *const c_char, ...); [INFO] [stdout] | ^ ---------------------------------------------------------- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wayland-client-0.1.8/src/ffi/abi.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | #[repr(C)] pub type wl_fixed_t = int32_t; [INFO] [stdout] | ^ ------------------------------ not a struct, enum, or union [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/wayland-client-0.1.8/src/core/mod.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | fn from(other: T) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/5cafabc9f16561d7796554d5d241c3068e2bd97f/library/core/src/option.rs:572:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 57 | fn from(other: T) -> Option where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling freetype-sys v0.1.2 [INFO] [stderr] Checking osmesa-sys v0.0.5 [INFO] [stderr] Checking x11-dl v1.0.1 [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[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.8/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 `range::Range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.8/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.8/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.8/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 `range::Range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.8/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.8/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] Some errors have detailed explanations: E0277, E0517. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wayland-client` (lib) due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rand` (lib) due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0642. [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 2 previous errors [INFO] running `Command { std: "docker" "inspect" "20d16098d561e064f3f68f1e69f5438be9467e39c4f58e93773546fc25432b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d16098d561e064f3f68f1e69f5438be9467e39c4f58e93773546fc25432b8d", kill_on_drop: false }` [INFO] [stdout] 20d16098d561e064f3f68f1e69f5438be9467e39c4f58e93773546fc25432b8d