[INFO] cloning repository https://github.com/phyroxin/rust_game_dev [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phyroxin/rust_game_dev" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphyroxin%2Frust_game_dev", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphyroxin%2Frust_game_dev'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9639481dd1018719d63f2e8d8bc69ec0f514773 [INFO] checking phyroxin/rust_game_dev against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphyroxin%2Frust_game_dev" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/phyroxin/rust_game_dev on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/phyroxin/rust_game_dev [INFO] finished tweaking git repo https://github.com/phyroxin/rust_game_dev [INFO] tweaked toml for git repo https://github.com/phyroxin/rust_game_dev written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/phyroxin/rust_game_dev 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.1.25 [INFO] [stderr] Downloaded smallvec v0.1.5 [INFO] [stderr] Downloaded lazy_static v0.1.12 [INFO] [stderr] Downloaded libc v0.1.8 [INFO] [stderr] Downloaded rustc-serialize v0.3.15 [INFO] [stderr] Downloaded winapi-build v0.1.0 [INFO] [stderr] Downloaded dylib v0.0.1 [INFO] [stderr] Downloaded enum_primitive v0.0.1 [INFO] [stderr] Downloaded malloc_buf v0.0.5 [INFO] [stderr] Downloaded osmesa-sys v0.0.5 [INFO] [stderr] Downloaded lzw v0.8.0 [INFO] [stderr] Downloaded core-graphics v0.1.0 [INFO] [stderr] Downloaded gl_common v0.0.4 [INFO] [stderr] Downloaded cgl v0.1.0 [INFO] [stderr] Downloaded gl_generator v0.0.26 [INFO] [stderr] Downloaded shared_library v0.1.0 [INFO] [stderr] Downloaded android_glue v0.0.2 [INFO] [stderr] Downloaded gl_generator v0.0.27 [INFO] [stderr] Downloaded byteorder v0.3.11 [INFO] [stderr] Downloaded xml-rs v0.1.25 [INFO] [stderr] Downloaded glutin v0.3.3 [INFO] [stderr] Downloaded image v0.3.11 [INFO] [stderr] Downloaded winapi v0.2.1 [INFO] [stderr] Downloaded khronos_api v0.0.7 [INFO] [stderr] Downloaded wayland-client v0.2.0 [INFO] [stderr] Downloaded wayland-kbd v0.2.0 [INFO] [stderr] Downloaded x11-dl v2.0.0 [INFO] [stderr] Downloaded cocoa v0.1.3 [INFO] [stderr] Downloaded gleam v0.1.5 [INFO] [stderr] Downloaded core-foundation v0.1.0 [INFO] [stderr] Downloaded bitflags v0.3.2 [INFO] [stderr] Downloaded kernel32-sys v0.1.3 [INFO] [stderr] Downloaded objc v0.1.5 [INFO] [stderr] Downloaded user32-sys v0.1.1 [INFO] [stderr] Downloaded gif v0.5.0 [INFO] [stderr] Downloaded mmap v0.1.1 [INFO] [stderr] Downloaded nalgebra v0.2.20 [INFO] [stderr] Downloaded cgmath v0.2.0 [INFO] [stderr] Downloaded gl_generator v0.0.25 [INFO] [stderr] Downloaded glium v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f66ca336e0034b60b16f63332e1988cf85dc8e6b0f433cc87971fabee2ff361d [INFO] running `Command { std: "docker" "start" "-a" "f66ca336e0034b60b16f63332e1988cf85dc8e6b0f433cc87971fabee2ff361d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f66ca336e0034b60b16f63332e1988cf85dc8e6b0f433cc87971fabee2ff361d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66ca336e0034b60b16f63332e1988cf85dc8e6b0f433cc87971fabee2ff361d", kill_on_drop: false }` [INFO] [stdout] f66ca336e0034b60b16f63332e1988cf85dc8e6b0f433cc87971fabee2ff361d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7798e7bbc7ffc7ad90afb6a5b200ecf75766937ef92e90df3853127e0e622587 [INFO] running `Command { std: "docker" "start" "-a" "7798e7bbc7ffc7ad90afb6a5b200ecf75766937ef92e90df3853127e0e622587", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.1.8 [INFO] [stderr] Compiling bitflags v0.3.2 [INFO] [stderr] Compiling khronos_api v0.0.7 [INFO] [stderr] Checking rustc-serialize v0.3.15 [INFO] [stderr] Checking lazy_static v0.1.12 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking lzw v0.8.0 [INFO] [stderr] Checking byteorder v0.3.11 [INFO] [stderr] Checking glob v0.2.10 [INFO] [stderr] Checking smallvec v0.1.5 [INFO] [stderr] Compiling xml-rs v0.1.25 [INFO] [stderr] Checking rand v0.3.8 [INFO] [stderr] Checking wayland-client v0.2.0 [INFO] [stderr] Checking shared_library v0.1.0 [INFO] [stderr] Checking dylib v0.0.1 [INFO] [stderr] Checking gl_common v0.0.4 [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.15/src/serialize.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling log v0.3.1 [INFO] [stderr] Checking gif v0.5.0 [INFO] [stderr] Checking x11-dl v2.0.0 [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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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 osmesa-sys v0.0.5 [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-6f17d22bba15001f/wayland-client-0.2.0/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-6f17d22bba15001f/wayland-client-0.2.0/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-6f17d22bba15001f/wayland-client-0.2.0/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[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.15/src/serialize.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 448 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [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-6f17d22bba15001f/rustc-serialize-0.3.15/src/serialize.rs:201:41 [INFO] [stdout] | [INFO] [stdout] 201 | 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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:502:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 201 | fn decode(d: &mut D) -> Result 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-6f17d22bba15001f/wayland-client-0.2.0/src/core/mod.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | 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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:571:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 34 | fn from(other: T) -> Option 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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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] error: aborting due to 1 previous error [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 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [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 5 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rand` (lib) due to 3 previous errors [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0310, 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 4 previous errors [INFO] running `Command { std: "docker" "inspect" "7798e7bbc7ffc7ad90afb6a5b200ecf75766937ef92e90df3853127e0e622587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7798e7bbc7ffc7ad90afb6a5b200ecf75766937ef92e90df3853127e0e622587", kill_on_drop: false }` [INFO] [stdout] 7798e7bbc7ffc7ad90afb6a5b200ecf75766937ef92e90df3853127e0e622587