[INFO] fetching crate beaux2d 0.2.2... [INFO] testing beaux2d-0.2.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate beaux2d 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate beaux2d 0.2.2 [INFO] finished tweaking crates.io crate beaux2d 0.2.2 [INFO] tweaked toml for crates.io crate beaux2d 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate beaux2d 0.2.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding sdl2 v0.35.2 (available: v0.38.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb326b9a5e72dccad20da60c3c7de8cd605f90171a44a05ef6d37ed3aefe50fd [INFO] running `Command { std: "docker" "start" "-a" "bb326b9a5e72dccad20da60c3c7de8cd605f90171a44a05ef6d37ed3aefe50fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb326b9a5e72dccad20da60c3c7de8cd605f90171a44a05ef6d37ed3aefe50fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb326b9a5e72dccad20da60c3c7de8cd605f90171a44a05ef6d37ed3aefe50fd", kill_on_drop: false }` [INFO] [stdout] bb326b9a5e72dccad20da60c3c7de8cd605f90171a44a05ef6d37ed3aefe50fd [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85db41f71ba4427bd9792372c9207c4f56311ad1f6daa7cd76dbd80dfbef0dae [INFO] running `Command { std: "docker" "start" "-a" "85db41f71ba4427bd9792372c9207c4f56311ad1f6daa7cd76dbd80dfbef0dae", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling beaux2d v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.17s [INFO] running `Command { std: "docker" "inspect" "85db41f71ba4427bd9792372c9207c4f56311ad1f6daa7cd76dbd80dfbef0dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85db41f71ba4427bd9792372c9207c4f56311ad1f6daa7cd76dbd80dfbef0dae", kill_on_drop: false }` [INFO] [stdout] 85db41f71ba4427bd9792372c9207c4f56311ad1f6daa7cd76dbd80dfbef0dae [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0335cc03eabc060ea37e99e2f81bea1626fa7fc2ef3647d3b50340f12d78790 [INFO] running `Command { std: "docker" "start" "-a" "f0335cc03eabc060ea37e99e2f81bea1626fa7fc2ef3647d3b50340f12d78790", kill_on_drop: false }` [INFO] [stderr] Compiling beaux2d v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "f0335cc03eabc060ea37e99e2f81bea1626fa7fc2ef3647d3b50340f12d78790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0335cc03eabc060ea37e99e2f81bea1626fa7fc2ef3647d3b50340f12d78790", kill_on_drop: false }` [INFO] [stdout] f0335cc03eabc060ea37e99e2f81bea1626fa7fc2ef3647d3b50340f12d78790 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 80c9787448ff527cf682db336f9962952aa483a011f508331decfab74582d9fa [INFO] running `Command { std: "docker" "start" "-a" "80c9787448ff527cf682db336f9962952aa483a011f508331decfab74582d9fa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/beaux2d-4e604b93c4eca8a3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests beaux2d [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/app.rs - app::BeauxApp::closed (line 12) ... FAILED [INFO] [stdout] test src/app.rs - app::BeauxApp::close (line 27) ... FAILED [INFO] [stdout] test src/app.rs - app::BeauxApp::event (line 48) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/app.rs - app::BeauxApp::closed (line 12) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/app.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct App { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/app.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn init() -> Self {...} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 8 - fn init() -> Self {...} [INFO] [stdout] 8 + fn init() -> Self {..} [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 8 - fn init() -> Self {...} [INFO] [stdout] 8 + fn init() -> Self {..=} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/app.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn init() -> Self {...} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 8 - fn init() -> Self {...} [INFO] [stdout] 8 + fn init() -> Self {..} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0586`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app.rs - app::BeauxApp::close (line 27) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/app.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct App { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/app.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn init() -> Self {...} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 8 - fn init() -> Self {...} [INFO] [stdout] 8 + fn init() -> Self {..} [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 8 - fn init() -> Self {...} [INFO] [stdout] 8 + fn init() -> Self {..=} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/app.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn init() -> Self {...} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 8 - fn init() -> Self {...} [INFO] [stdout] 8 + fn init() -> Self {..} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0586`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app.rs - app::BeauxApp::event (line 48) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/app.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 3 | fn event(&mut self, event: Event, canvas: &mut Canvas2D) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Event` in this scope [INFO] [stdout] --> src/app.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 3 | fn event(&mut self, event: Event, canvas: &mut Canvas2D) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use beaux2d::event::Event; [INFO] [stdout] | [INFO] [stdout] 2 + use sdl2::event::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Canvas2D` in this scope [INFO] [stdout] --> src/app.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 3 | fn event(&mut self, event: Event, canvas: &mut Canvas2D) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use beaux2d::canvas::Canvas2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> src/app.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 5 | Event::Quit { .. } => { self.close(); } [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use beaux2d::event::Event; [INFO] [stdout] | [INFO] [stdout] 2 + use sdl2::event::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/app.rs - app::BeauxApp::close (line 27) [INFO] [stdout] src/app.rs - app::BeauxApp::closed (line 12) [INFO] [stdout] src/app.rs - app::BeauxApp::event (line 48) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "80c9787448ff527cf682db336f9962952aa483a011f508331decfab74582d9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80c9787448ff527cf682db336f9962952aa483a011f508331decfab74582d9fa", kill_on_drop: false }` [INFO] [stdout] 80c9787448ff527cf682db336f9962952aa483a011f508331decfab74582d9fa