[INFO] cloning repository https://github.com/Danue1/schooltrip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Danue1/schooltrip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanue1%2Fschooltrip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanue1%2Fschooltrip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7856e5132a87bee6cf701606fd8da8c02d4eb68b [INFO] building Danue1/schooltrip against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanue1%2Fschooltrip" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Danue1/schooltrip on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Danue1/schooltrip [INFO] finished tweaking git repo https://github.com/Danue1/schooltrip [INFO] tweaked toml for git repo https://github.com/Danue1/schooltrip written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Danue1/schooltrip already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fd435774de5316d288540eba96e00888e54dddf10b6045c0e07164e30561ee4 [INFO] running `Command { std: "docker" "start" "-a" "4fd435774de5316d288540eba96e00888e54dddf10b6045c0e07164e30561ee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fd435774de5316d288540eba96e00888e54dddf10b6045c0e07164e30561ee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd435774de5316d288540eba96e00888e54dddf10b6045c0e07164e30561ee4", kill_on_drop: false }` [INFO] [stdout] 4fd435774de5316d288540eba96e00888e54dddf10b6045c0e07164e30561ee4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 904f46974e1596f98c479c532f59bdf879c8292766f53bf6a7ca340ce1aa43f5 [INFO] running `Command { std: "docker" "start" "-a" "904f46974e1596f98c479c532f59bdf879c8292766f53bf6a7ca340ce1aa43f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling glam v0.9.5 [INFO] [stderr] Compiling fixedbitset v0.3.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bevy-glsl-to-spirv v0.2.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling inplace_it v0.3.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Compiling ttf-parser v0.8.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling rectangle-pack v0.2.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling libloading v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling alsa-sys v0.3.0 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling owned_ttf_parser v0.8.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling ash v0.31.0 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling wgpu-types v0.6.1 [INFO] [stderr] Compiling ab_glyph v0.2.6 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling inotify-sys v0.1.4 [INFO] [stderr] Compiling filetime v0.2.13 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling stretch v0.3.2 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ahash v0.5.8 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling inotify v0.8.3 [INFO] [stderr] Compiling gfx-hal v0.6.0 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling euclid v0.22.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling bevy_tasks v0.3.0 [INFO] [stderr] Compiling alsa v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bevy_utils v0.3.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling spirv-reflect v0.2.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling gfx-backend-empty v0.6.0 [INFO] [stderr] Compiling gfx-descriptor v0.2.0 [INFO] [stderr] Compiling gfx-memory v0.2.2 [INFO] [stderr] Compiling guillotiere v0.6.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling notify v5.0.0-pre.4 [INFO] [stderr] Compiling image v0.23.11 [INFO] [stderr] Compiling minimp3 v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling gltf-derive v0.15.2 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling naga v0.2.0 [INFO] [stderr] Compiling rodio v0.13.0 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling ron v0.6.2 [INFO] [stderr] Compiling erased-serde v0.3.12 [INFO] [stderr] Compiling gilrs-core v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling gfx-backend-vulkan v0.6.5 [INFO] [stderr] Compiling gilrs v0.8.0 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling bevy_math v0.3.0 [INFO] [stderr] Compiling hexasphere v1.0.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling gltf-json v0.15.2 [INFO] [stderr] Compiling wgpu-core v0.6.5 [INFO] [stderr] Compiling bevy_hecs_macros v0.3.0 [INFO] [stderr] Compiling bevy_derive v0.3.0 [INFO] [stderr] Compiling bevy_property_derive v0.3.0 [INFO] [stderr] Compiling bevy_hecs v0.3.0 [INFO] [stderr] Compiling gltf v0.15.2 [INFO] [stderr] Compiling bevy_ecs v0.3.0 [INFO] [stderr] Compiling wgpu v0.6.0 [INFO] [stderr] Compiling bevy_app v0.3.0 [INFO] [stderr] Compiling bevy_property v0.3.0 [INFO] [stderr] Compiling bevy_window v0.3.0 [INFO] [stderr] Compiling bevy_input v0.3.0 [INFO] [stderr] Compiling bevy_dynamic_plugin v0.3.0 [INFO] [stderr] Compiling bevy_type_registry v0.3.0 [INFO] [stderr] Compiling bevy_asset v0.3.0 [INFO] [stderr] Compiling bevy_core v0.3.0 [INFO] [stderr] Compiling bevy_transform v0.3.0 [INFO] [stderr] Compiling bevy_winit v0.3.0 [INFO] [stderr] Compiling bevy_gilrs v0.3.0 [INFO] [stderr] Compiling bevy_diagnostic v0.3.0 [INFO] [stderr] Compiling bevy_render v0.3.0 [INFO] [stderr] Compiling bevy_scene v0.3.0 [INFO] [stderr] Compiling bevy_audio v0.3.0 [INFO] [stderr] Compiling bevy_sprite v0.3.0 [INFO] [stderr] Compiling bevy_pbr v0.3.0 [INFO] [stderr] Compiling bevy_wgpu v0.3.0 [INFO] [stderr] Compiling bevy_gltf v0.3.0 [INFO] [stderr] Compiling bevy_text v0.3.0 [INFO] [stderr] Compiling bevy_ui v0.3.0 [INFO] [stderr] Compiling bevy v0.3.0 [INFO] [stderr] Compiling schooltrip-core v0.1.0 (/opt/rustwide/workdir/schooltrip-core) [INFO] [stdout] warning: unused import: `id::*` [INFO] [stdout] --> schooltrip-core/src/resource/texture/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) use id::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `description` are never read [INFO] [stdout] --> schooltrip-core/src/resource/item/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> schooltrip-core/src/resource/item/resource.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn get(&self, id: &ItemId) -> Option<&Item> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> schooltrip-core/src/ui/inventory/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct Inventory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 22 | items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Inventory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_item` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/mod.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn add_item(&mut self, index: usize, count: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `sub_item` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/mod.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn sub_item(&mut self, index: usize, count: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `insert_item` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/mod.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) fn insert_item(&mut self, index: usize, id: ItemId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `remove_item` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/mod.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn remove_item(&mut self, index: usize) -> ItemInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `count` are never read [INFO] [stdout] --> schooltrip-core/src/ui/inventory/info.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct ItemInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | id: ItemId, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | count: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/info.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn new(id: ItemId, count: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_count` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/info.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn add_count(&mut self, count: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `sub_count` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/info.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn sub_count(&mut self, count: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "904f46974e1596f98c479c532f59bdf879c8292766f53bf6a7ca340ce1aa43f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "904f46974e1596f98c479c532f59bdf879c8292766f53bf6a7ca340ce1aa43f5", kill_on_drop: false }` [INFO] [stdout] 904f46974e1596f98c479c532f59bdf879c8292766f53bf6a7ca340ce1aa43f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d12f82e64d4e5d47a7ffc55c1ea8dbd7d68630dcbf26e6aca883fa8d75168a3 [INFO] running `Command { std: "docker" "start" "-a" "8d12f82e64d4e5d47a7ffc55c1ea8dbd7d68630dcbf26e6aca883fa8d75168a3", kill_on_drop: false }` [INFO] [stderr] Compiling schooltrip-core v0.1.0 (/opt/rustwide/workdir/schooltrip-core) [INFO] [stdout] warning: unused import: `id::*` [INFO] [stdout] --> schooltrip-core/src/resource/texture/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) use id::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `description` are never read [INFO] [stdout] --> schooltrip-core/src/resource/item/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> schooltrip-core/src/resource/item/resource.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn get(&self, id: &ItemId) -> Option<&Item> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> schooltrip-core/src/ui/inventory/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct Inventory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 22 | items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Inventory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_item` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/mod.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn add_item(&mut self, index: usize, count: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `sub_item` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/mod.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn sub_item(&mut self, index: usize, count: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `insert_item` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/mod.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) fn insert_item(&mut self, index: usize, id: ItemId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `remove_item` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/mod.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn remove_item(&mut self, index: usize) -> ItemInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `count` are never read [INFO] [stdout] --> schooltrip-core/src/ui/inventory/info.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct ItemInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | id: ItemId, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | count: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/info.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn new(id: ItemId, count: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_count` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/info.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn add_count(&mut self, count: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `sub_count` is never used [INFO] [stdout] --> schooltrip-core/src/ui/inventory/info.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn sub_count(&mut self, count: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.62s [INFO] running `Command { std: "docker" "inspect" "8d12f82e64d4e5d47a7ffc55c1ea8dbd7d68630dcbf26e6aca883fa8d75168a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d12f82e64d4e5d47a7ffc55c1ea8dbd7d68630dcbf26e6aca883fa8d75168a3", kill_on_drop: false }` [INFO] [stdout] 8d12f82e64d4e5d47a7ffc55c1ea8dbd7d68630dcbf26e6aca883fa8d75168a3