[INFO] fetching crate pufferfish 0.1.1... [INFO] testing pufferfish-0.1.1 against 1.91.0 for beta-1.92-2 [INFO] extracting crate pufferfish 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate pufferfish 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pufferfish 0.1.1 [INFO] tweaked toml for crates.io crate pufferfish 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pufferfish 0.1.1 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pufferfish 0.1.1 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_enum_derive v0.5.7 [INFO] [stderr] Downloaded png-decoder v0.1.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded svg_fmt v0.4.1 [INFO] [stderr] Downloaded etagere v0.2.7 [INFO] [stderr] Downloaded num-traits v0.2.15 [INFO] [stderr] Downloaded miniz_oxide v0.4.4 [INFO] [stderr] Downloaded euclid v0.22.7 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded glow v0.11.2 [INFO] [stderr] Downloaded ttf-parser v0.15.0 [INFO] [stderr] Downloaded fontdue v0.7.2 [INFO] [stderr] Downloaded hashbrown v0.11.2 [INFO] [stderr] Downloaded wasm-bindgen v0.2.80 [INFO] [stderr] Downloaded js-sys v0.3.57 [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded toml v0.5.9 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded fugu v0.1.0 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded ahash v0.7.6 [INFO] [stderr] Downloaded slotmap v1.0.6 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.80 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.80 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded proc-macro-crate v1.1.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded cc v1.0.73 [INFO] [stderr] Downloaded web-sys v0.3.57 [INFO] [stderr] Downloaded log v0.4.17 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.80 [INFO] [stderr] Downloaded num_enum v0.5.7 [INFO] [stderr] Downloaded cmake v0.1.48 [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded libc v0.2.126 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72394b97c315a1af8992a5af2f0ba4f895b54f7624b9bae8a9d39cefb45a4831 [INFO] running `Command { std: "docker" "start" "-a" "72394b97c315a1af8992a5af2f0ba4f895b54f7624b9bae8a9d39cefb45a4831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72394b97c315a1af8992a5af2f0ba4f895b54f7624b9bae8a9d39cefb45a4831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72394b97c315a1af8992a5af2f0ba4f895b54f7624b9bae8a9d39cefb45a4831", kill_on_drop: false }` [INFO] [stdout] 72394b97c315a1af8992a5af2f0ba4f895b54f7624b9bae8a9d39cefb45a4831 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecfbbe2b2416eed47541761375e23a2d24dab8e18e97a0b30bcc2af1725a856f [INFO] running `Command { std: "docker" "start" "-a" "ecfbbe2b2416eed47541761375e23a2d24dab8e18e97a0b30bcc2af1725a856f", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling ttf-parser v0.15.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling euclid v0.22.7 [INFO] [stderr] Compiling fontdue v0.7.2 [INFO] [stderr] Compiling etagere v0.2.7 [INFO] [stderr] Compiling fugu v0.1.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling png-decoder v0.1.0 [INFO] [stderr] Compiling pufferfish v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/app.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | Box::from_raw(v.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = Box::from_raw(v.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/app.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | Box::from_raw(v.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = Box::from_raw(v.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn draw_rect(&mut self, x: f32, y: f32, w: f32, h: f32) -> DrawRect { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn draw_rect(&mut self, x: f32, y: f32, w: f32, h: f32) -> DrawRect<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn draw_sprite(&mut self, x: f32, y: f32, sprite: ResourceHandle) -> DrawSprite { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn draw_sprite(&mut self, x: f32, y: f32, sprite: ResourceHandle) -> DrawSprite<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graphics.rs:235:74 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn draw_text<'a>(&'a mut self, x: f32, y: f32, text: &'a str) -> DrawText { [INFO] [stdout] | -- -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 235 | pub fn draw_text<'a>(&'a mut self, x: f32, y: f32, text: &'a str) -> DrawText<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 31s [INFO] running `Command { std: "docker" "inspect" "ecfbbe2b2416eed47541761375e23a2d24dab8e18e97a0b30bcc2af1725a856f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecfbbe2b2416eed47541761375e23a2d24dab8e18e97a0b30bcc2af1725a856f", kill_on_drop: false }` [INFO] [stdout] ecfbbe2b2416eed47541761375e23a2d24dab8e18e97a0b30bcc2af1725a856f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09a184f5111b9c179a694a2ef50b2cd9dec9053c565aecd0fd8b1fabc776b41d [INFO] running `Command { std: "docker" "start" "-a" "09a184f5111b9c179a694a2ef50b2cd9dec9053c565aecd0fd8b1fabc776b41d", kill_on_drop: false }` [INFO] [stderr] Compiling pufferfish v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/app.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | Box::from_raw(v.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = Box::from_raw(v.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/app.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | Box::from_raw(v.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = Box::from_raw(v.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn draw_rect(&mut self, x: f32, y: f32, w: f32, h: f32) -> DrawRect { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn draw_rect(&mut self, x: f32, y: f32, w: f32, h: f32) -> DrawRect<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn draw_sprite(&mut self, x: f32, y: f32, sprite: ResourceHandle) -> DrawSprite { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn draw_sprite(&mut self, x: f32, y: f32, sprite: ResourceHandle) -> DrawSprite<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graphics.rs:235:74 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn draw_text<'a>(&'a mut self, x: f32, y: f32, text: &'a str) -> DrawText { [INFO] [stdout] | -- -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 235 | pub fn draw_text<'a>(&'a mut self, x: f32, y: f32, text: &'a str) -> DrawText<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/app.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | Box::from_raw(v.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = Box::from_raw(v.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/app.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | Box::from_raw(v.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = Box::from_raw(v.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn draw_rect(&mut self, x: f32, y: f32, w: f32, h: f32) -> DrawRect { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn draw_rect(&mut self, x: f32, y: f32, w: f32, h: f32) -> DrawRect<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn draw_sprite(&mut self, x: f32, y: f32, sprite: ResourceHandle) -> DrawSprite { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn draw_sprite(&mut self, x: f32, y: f32, sprite: ResourceHandle) -> DrawSprite<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graphics.rs:235:74 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn draw_text<'a>(&'a mut self, x: f32, y: f32, text: &'a str) -> DrawText { [INFO] [stdout] | -- -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 235 | pub fn draw_text<'a>(&'a mut self, x: f32, y: f32, text: &'a str) -> DrawText<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "09a184f5111b9c179a694a2ef50b2cd9dec9053c565aecd0fd8b1fabc776b41d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09a184f5111b9c179a694a2ef50b2cd9dec9053c565aecd0fd8b1fabc776b41d", kill_on_drop: false }` [INFO] [stdout] 09a184f5111b9c179a694a2ef50b2cd9dec9053c565aecd0fd8b1fabc776b41d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b181881fbd9c06b36b338bf0001c6bcc0b586c87d74c80e35aa30952d9dfb950 [INFO] running `Command { std: "docker" "start" "-a" "b181881fbd9c06b36b338bf0001c6bcc0b586c87d74c80e35aa30952d9dfb950", kill_on_drop: false }` [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/app.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | Box::from_raw(v.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 77 | let _ = Box::from_raw(v.as_ptr()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/app.rs:118:17 [INFO] [stderr] | [INFO] [stderr] 118 | Box::from_raw(v.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 118 | let _ = Box::from_raw(v.as_ptr()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/graphics.rs:224:22 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn draw_rect(&mut self, x: f32, y: f32, w: f32, h: f32) -> DrawRect { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 224 | pub fn draw_rect(&mut self, x: f32, y: f32, w: f32, h: f32) -> DrawRect<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/graphics.rs:229:24 [INFO] [stderr] | [INFO] [stderr] 229 | pub fn draw_sprite(&mut self, x: f32, y: f32, sprite: ResourceHandle) -> DrawSprite { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 229 | pub fn draw_sprite(&mut self, x: f32, y: f32, sprite: ResourceHandle) -> DrawSprite<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/graphics.rs:235:74 [INFO] [stderr] | [INFO] [stderr] 235 | pub fn draw_text<'a>(&'a mut self, x: f32, y: f32, text: &'a str) -> DrawText { [INFO] [stderr] | -- -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 235 | pub fn draw_text<'a>(&'a mut self, x: f32, y: f32, text: &'a str) -> DrawText<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pufferfish` (lib) generated 5 warnings (run `cargo fix --lib -p pufferfish` to apply 3 suggestions) [INFO] [stderr] warning: `pufferfish` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pufferfish-05c1c449885743b2) [INFO] [stderr] Doc-tests pufferfish [INFO] [stdout] [INFO] [stdout] running 0 tests [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 1 test [INFO] [stdout] test src/lib.rs - (line 29) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 29) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `State` in the current scope [INFO] [stdout] --> src/lib.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 7 | struct State { [INFO] [stdout] | ------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | .add_state(State::new()) // Add your state [INFO] [stdout] | ^^^ function or associated item not found in `State` [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*g` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 32 | g.begin(); [INFO] [stdout] | ^ `g` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 30 | fn draw(state: &State, g: &mut Graphics) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*g` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 34 | g.end(); [INFO] [stdout] | ^ `g` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 30 | fn draw(state: &State, g: &mut Graphics) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0596, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b181881fbd9c06b36b338bf0001c6bcc0b586c87d74c80e35aa30952d9dfb950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b181881fbd9c06b36b338bf0001c6bcc0b586c87d74c80e35aa30952d9dfb950", kill_on_drop: false }` [INFO] [stdout] b181881fbd9c06b36b338bf0001c6bcc0b586c87d74c80e35aa30952d9dfb950