[INFO] fetching crate cubik 0.1.0... [INFO] testing cubik-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cubik 0.1.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cubik 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.28.2 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded weezl v0.1.3 [INFO] [stderr] Downloaded wayland-egl v0.28.2 [INFO] [stderr] Downloaded wayland-cursor v0.28.2 [INFO] [stderr] Downloaded wayland-commons v0.28.2 [INFO] [stderr] Downloaded mio-misc v1.2.1 [INFO] [stderr] Downloaded wayland-scanner v0.28.2 [INFO] [stderr] Downloaded lewton v0.10.1 [INFO] [stderr] Downloaded wayland-client v0.28.2 [INFO] [stderr] Downloaded glutin v0.27.0 [INFO] [stderr] Downloaded wayland-protocols v0.28.2 [INFO] [stderr] Downloaded glium v0.30.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5652bf73fb7b0751e142bf8663f56eaa76ba857425c44949563942698b705429 [INFO] running `Command { std: "docker" "start" "-a" "5652bf73fb7b0751e142bf8663f56eaa76ba857425c44949563942698b705429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5652bf73fb7b0751e142bf8663f56eaa76ba857425c44949563942698b705429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5652bf73fb7b0751e142bf8663f56eaa76ba857425c44949563942698b705429", kill_on_drop: false }` [INFO] [stdout] 5652bf73fb7b0751e142bf8663f56eaa76ba857425c44949563942698b705429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28ccbca55fb9384b34b2489865bfe5a9b55915e936fcc3640992e0c1ccf26f0a [INFO] running `Command { std: "docker" "start" "-a" "28ccbca55fb9384b34b2489865bfe5a9b55915e936fcc3640992e0c1ccf26f0a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Compiling wayland-scanner v0.28.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling glium v0.30.2 [INFO] [stderr] Compiling wayland-client v0.28.2 [INFO] [stderr] Compiling wayland-protocols v0.28.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling minimp3 v0.5.0 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling takeable-option 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 addr2line v0.14.0 [INFO] [stderr] Compiling alsa v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling wayland-commons v0.28.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling wayland-cursor v0.28.2 [INFO] [stderr] Compiling wayland-egl v0.28.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.1 [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 18s [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 4` [INFO] running `Command { std: "docker" "inspect" "28ccbca55fb9384b34b2489865bfe5a9b55915e936fcc3640992e0c1ccf26f0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28ccbca55fb9384b34b2489865bfe5a9b55915e936fcc3640992e0c1ccf26f0a", kill_on_drop: false }` [INFO] [stdout] 28ccbca55fb9384b34b2489865bfe5a9b55915e936fcc3640992e0c1ccf26f0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02ee5e42d2d4e4622d876a037f158776df991b54567ef16456708b622594afb9 [INFO] running `Command { std: "docker" "start" "-a" "02ee5e42d2d4e4622d876a037f158776df991b54567ef16456708b622594afb9", kill_on_drop: false }` [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] Compiling cubik v0.1.0 (/opt/rustwide/workdir) [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.08s [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 4` [INFO] running `Command { std: "docker" "inspect" "02ee5e42d2d4e4622d876a037f158776df991b54567ef16456708b622594afb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02ee5e42d2d4e4622d876a037f158776df991b54567ef16456708b622594afb9", kill_on_drop: false }` [INFO] [stdout] 02ee5e42d2d4e4622d876a037f158776df991b54567ef16456708b622594afb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6a52118366de9cd077c6b0d00ea59797a6322769883d0fa2d84bc355dd5de124 [INFO] running `Command { std: "docker" "start" "-a" "6a52118366de9cd077c6b0d00ea59797a6322769883d0fa2d84bc355dd5de124", 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: 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: 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: `cubik` (example "rough") generated 1 warning [INFO] [stderr] warning: `cubik` (example "player_server") generated 1 warning (run `cargo fix --example "player_server"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [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 4` [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" "6a52118366de9cd077c6b0d00ea59797a6322769883d0fa2d84bc355dd5de124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a52118366de9cd077c6b0d00ea59797a6322769883d0fa2d84bc355dd5de124", kill_on_drop: false }` [INFO] [stdout] 6a52118366de9cd077c6b0d00ea59797a6322769883d0fa2d84bc355dd5de124