[INFO] cloning repository https://github.com/DJin24/rust_ge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DJin24/rust_ge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDJin24%2Frust_ge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDJin24%2Frust_ge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56074b7d1b590b561d3c5034ae90623e39dc3656 [INFO] checking DJin24/rust_ge against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDJin24%2Frust_ge" "/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/DJin24/rust_ge 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/DJin24/rust_ge [INFO] finished tweaking git repo https://github.com/DJin24/rust_ge [INFO] tweaked toml for git repo https://github.com/DJin24/rust_ge written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DJin24/rust_ge 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] 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] d33d5951b16775c1f7953189fcd5aa4871633e7351e3cf0905061a4975a593bb [INFO] running `Command { std: "docker" "start" "-a" "d33d5951b16775c1f7953189fcd5aa4871633e7351e3cf0905061a4975a593bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d33d5951b16775c1f7953189fcd5aa4871633e7351e3cf0905061a4975a593bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d33d5951b16775c1f7953189fcd5aa4871633e7351e3cf0905061a4975a593bb", kill_on_drop: false }` [INFO] [stdout] d33d5951b16775c1f7953189fcd5aa4871633e7351e3cf0905061a4975a593bb [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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] 476fed594e3bdc5be5531f9ffb03009bde2af1b52a65dfe64420b8eeb3d92606 [INFO] running `Command { std: "docker" "start" "-a" "476fed594e3bdc5be5531f9ffb03009bde2af1b52a65dfe64420b8eeb3d92606", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking rust_ge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | game.set_engine(engine); [INFO] [stdout] | ---------- ^^^^^^ expected `Rc`, found `Rc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Rc` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn set_engine(&mut self, engine: Rc); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | game.set_engine(engine); [INFO] [stdout] | ---------- ^^^^^^ expected `Rc`, found `Rc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Rc` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/rust_ge/rust_ge_base.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn set_engine(&mut self, engine: Rc); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> src/rust_ge/rust_ge_engine.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | .build()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `String`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> src/rust_ge/rust_ge_engine.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | .build()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `String`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> src/rust_ge/rust_ge_engine.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | let mut canvas = window.into_canvas().build()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `String`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> src/rust_ge/rust_ge_engine.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | let mut canvas = window.into_canvas().build()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `String`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_ge` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_ge` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "476fed594e3bdc5be5531f9ffb03009bde2af1b52a65dfe64420b8eeb3d92606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "476fed594e3bdc5be5531f9ffb03009bde2af1b52a65dfe64420b8eeb3d92606", kill_on_drop: false }` [INFO] [stdout] 476fed594e3bdc5be5531f9ffb03009bde2af1b52a65dfe64420b8eeb3d92606