[INFO] fetching crate cubik 0.1.0... [INFO] testing cubik-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] extracting crate cubik 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate cubik 0.1.0 [INFO] finished tweaking crates.io crate cubik 0.1.0 [INFO] tweaked toml for crates.io crate cubik 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cubik 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cubik 0.1.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oboe v0.3.1 [INFO] [stderr] Downloaded wayland-sys v0.28.2 [INFO] [stderr] Downloaded wayland-commons v0.28.2 [INFO] [stderr] Downloaded oboe-sys v0.3.0 [INFO] [stderr] Downloaded wayland-egl v0.28.2 [INFO] [stderr] Downloaded libloading v0.7.1 [INFO] [stderr] Downloaded clang-sys v1.0.3 [INFO] [stderr] Downloaded derive_more v0.99.11 [INFO] [stderr] Downloaded jni v0.14.0 [INFO] [stderr] Downloaded syn v1.0.56 [INFO] [stderr] Downloaded combine v4.5.1 [INFO] [stderr] Downloaded jni v0.17.0 [INFO] [stderr] Downloaded mio v0.7.13 [INFO] [stderr] Downloaded nom v6.0.1 [INFO] [stderr] Downloaded wayland-protocols v0.28.2 [INFO] [stderr] Downloaded ureq v1.5.4 [INFO] [stderr] Downloaded serde_json v1.0.60 [INFO] [stderr] Downloaded wayland-client v0.28.2 [INFO] [stderr] Downloaded libc v0.2.103 [INFO] [stderr] Downloaded rle-decode-fast v1.0.1 [INFO] [stderr] Downloaded libflate v1.0.3 [INFO] [stderr] Downloaded const_fn v0.4.4 [INFO] [stderr] Downloaded wayland-scanner v0.28.2 [INFO] [stderr] Downloaded alsa v0.4.3 [INFO] [stderr] Downloaded coreaudio-rs v0.9.1 [INFO] [stderr] Downloaded filetime v0.2.13 [INFO] [stderr] Downloaded cookie v0.14.3 [INFO] [stderr] Downloaded backtrace v0.3.55 [INFO] [stderr] Downloaded publicsuffix v1.5.4 [INFO] [stderr] Downloaded cookie_store v0.12.0 [INFO] [stderr] Downloaded fetch_unroll v0.2.2 [INFO] [stderr] Downloaded num_enum_derive v0.5.4 [INFO] [stderr] Downloaded num_enum v0.5.4 [INFO] [stderr] Downloaded wayland-cursor v0.28.2 [INFO] [stderr] Downloaded libloading v0.6.6 [INFO] [stderr] Downloaded bytes v1.0.0 [INFO] [stderr] Downloaded libflate_lz77 v1.0.0 [INFO] [stderr] Downloaded xattr v0.2.2 [INFO] [stderr] Downloaded tar v0.4.30 [INFO] [stderr] Downloaded cpal v0.13.1 [INFO] [stderr] Downloaded ogg v0.7.1 [INFO] [stderr] Downloaded lewton v0.10.1 [INFO] [stderr] Downloaded minimp3 v0.5.0 [INFO] [stderr] Downloaded smallvec v1.5.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a4b5f9ce26dae57146c469abec4bde6beaaa07b85b930cc3906cf65598a42a0 [INFO] running `Command { std: "docker" "start" "-a" "5a4b5f9ce26dae57146c469abec4bde6beaaa07b85b930cc3906cf65598a42a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a4b5f9ce26dae57146c469abec4bde6beaaa07b85b930cc3906cf65598a42a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4b5f9ce26dae57146c469abec4bde6beaaa07b85b930cc3906cf65598a42a0", kill_on_drop: false }` [INFO] [stdout] 5a4b5f9ce26dae57146c469abec4bde6beaaa07b85b930cc3906cf65598a42a0 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36602db6dcfbff21a0320317ea97032d2eff47d27393def554b1b366fb24cca5 [INFO] running `Command { std: "docker" "start" "-a" "36602db6dcfbff21a0320317ea97032d2eff47d27393def554b1b366fb24cca5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling wayland-scanner v0.28.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glium v0.30.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling wayland-client v0.28.2 [INFO] [stderr] Compiling wayland-protocols v0.28.2 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling minimp3 v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling wayland-commons v0.28.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling alsa v0.4.3 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling wayland-cursor v0.28.2 [INFO] [stderr] Compiling wayland-egl v0.28.2 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling glutin v0.27.0 [INFO] [stderr] Compiling cubik v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/textures.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn load_raw_image(path: &Path, reversed: bool) -> Result, TextureLoadError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 18 | fn load_raw_image(path: &Path, reversed: bool) -> Result, TextureLoadError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/textures.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let f = File::open(path.clone())?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 19 - let f = File::open(path.clone())?; [INFO] [stdout] 19 + let f = File::open(path)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/textures.rs:22:63 [INFO] [stdout] | [INFO] [stdout] 22 | let image = image::load(f, image::ImageFormat::from_path(path.clone())?)?.to_rgba8(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 22 - let image = image::load(f, image::ImageFormat::from_path(path.clone())?)?.to_rgba8(); [INFO] [stdout] 22 + let image = image::load(f, image::ImageFormat::from_path(path)?)?.to_rgba8(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "36602db6dcfbff21a0320317ea97032d2eff47d27393def554b1b366fb24cca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36602db6dcfbff21a0320317ea97032d2eff47d27393def554b1b366fb24cca5", kill_on_drop: false }` [INFO] [stdout] 36602db6dcfbff21a0320317ea97032d2eff47d27393def554b1b366fb24cca5 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f32c9169aa723cdd5acb47236b4763dc7eba5d963a62a5b29a4319632dc9fa7b [INFO] running `Command { std: "docker" "start" "-a" "f32c9169aa723cdd5acb47236b4763dc7eba5d963a62a5b29a4319632dc9fa7b", kill_on_drop: false }` [INFO] [stderr] Compiling cubik v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/textures.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn load_raw_image(path: &Path, reversed: bool) -> Result, TextureLoadError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 18 | fn load_raw_image(path: &Path, reversed: bool) -> Result, TextureLoadError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/textures.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let f = File::open(path.clone())?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 19 - let f = File::open(path.clone())?; [INFO] [stdout] 19 + let f = File::open(path)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/textures.rs:22:63 [INFO] [stdout] | [INFO] [stdout] 22 | let image = image::load(f, image::ImageFormat::from_path(path.clone())?)?.to_rgba8(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 22 - let image = image::load(f, image::ImageFormat::from_path(path.clone())?)?.to_rgba8(); [INFO] [stdout] 22 + let image = image::load(f, image::ImageFormat::from_path(path)?)?.to_rgba8(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundingBox` and `QuadOctreeNode` [INFO] [stdout] --> examples/player_server.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use cubik::quadoctree::{QuadOctreeNode, BoundingBox}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AppMessage` is never used [INFO] [stdout] --> examples/support/msg.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AppMessage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/textures.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn load_raw_image(path: &Path, reversed: bool) -> Result, TextureLoadError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 18 | fn load_raw_image(path: &Path, reversed: bool) -> Result, TextureLoadError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/textures.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let f = File::open(path.clone())?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 19 - let f = File::open(path.clone())?; [INFO] [stdout] 19 + let f = File::open(path)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/textures.rs:22:63 [INFO] [stdout] | [INFO] [stdout] 22 | let image = image::load(f, image::ImageFormat::from_path(path.clone())?)?.to_rgba8(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 22 - let image = image::load(f, image::ImageFormat::from_path(path.clone())?)?.to_rgba8(); [INFO] [stdout] 22 + let image = image::load(f, image::ImageFormat::from_path(path)?)?.to_rgba8(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "f32c9169aa723cdd5acb47236b4763dc7eba5d963a62a5b29a4319632dc9fa7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32c9169aa723cdd5acb47236b4763dc7eba5d963a62a5b29a4319632dc9fa7b", kill_on_drop: false }` [INFO] [stdout] f32c9169aa723cdd5acb47236b4763dc7eba5d963a62a5b29a4319632dc9fa7b [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a915555f3770985a3bca61adfe2740914051a7b7929d3fe108f66ec55b5774fe [INFO] running `Command { std: "docker" "start" "-a" "a915555f3770985a3bca61adfe2740914051a7b7929d3fe108f66ec55b5774fe", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/textures.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | fn load_raw_image(path: &Path, reversed: bool) -> Result, TextureLoadError> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 18 | fn load_raw_image(path: &Path, reversed: bool) -> Result, TextureLoadError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/textures.rs:19:25 [INFO] [stderr] | [INFO] [stderr] 19 | let f = File::open(path.clone())?; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 19 - let f = File::open(path.clone())?; [INFO] [stderr] 19 + let f = File::open(path)?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/textures.rs:22:63 [INFO] [stderr] | [INFO] [stderr] 22 | let image = image::load(f, image::ImageFormat::from_path(path.clone())?)?.to_rgba8(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 22 - let image = image::load(f, image::ImageFormat::from_path(path.clone())?)?.to_rgba8(); [INFO] [stderr] 22 + let image = image::load(f, image::ImageFormat::from_path(path)?)?.to_rgba8(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `cubik` (lib) generated 3 warnings (run `cargo fix --lib -p cubik` to apply 3 suggestions) [INFO] [stderr] warning: `cubik` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: unused imports: `BoundingBox` and `QuadOctreeNode` [INFO] [stderr] --> examples/player_server.rs:5:25 [INFO] [stderr] | [INFO] [stderr] 5 | use cubik::quadoctree::{QuadOctreeNode, BoundingBox}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `AppMessage` is never used [INFO] [stderr] --> examples/support/msg.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum AppMessage { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `cubik` (example "player_server") generated 1 warning (run `cargo fix --example "player_server"` to apply 1 suggestion) [INFO] [stderr] warning: `cubik` (example "rough") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cubik-2890cc20840a5d4c) [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] [stderr] Doc-tests cubik [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] running `Command { std: "docker" "inspect" "a915555f3770985a3bca61adfe2740914051a7b7929d3fe108f66ec55b5774fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a915555f3770985a3bca61adfe2740914051a7b7929d3fe108f66ec55b5774fe", kill_on_drop: false }` [INFO] [stdout] a915555f3770985a3bca61adfe2740914051a7b7929d3fe108f66ec55b5774fe