[INFO] cloning repository https://github.com/Noxsense/Wusel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Noxsense/Wusel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoxsense%2FWusel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoxsense%2FWusel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfc1b2a669480e44f67be90f6d7848f4365e9d34 [INFO] testing Noxsense/Wusel against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoxsense%2FWusel" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Noxsense/Wusel on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Noxsense/Wusel [INFO] finished tweaking git repo https://github.com/Noxsense/Wusel [INFO] tweaked toml for git repo https://github.com/Noxsense/Wusel written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Noxsense/Wusel already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f8026f9a9bfc8d87ff2c6cda1529667fb88475bc35f339361ef8687c6bd29c1f [INFO] running `Command { std: "docker" "start" "-a" "f8026f9a9bfc8d87ff2c6cda1529667fb88475bc35f339361ef8687c6bd29c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8026f9a9bfc8d87ff2c6cda1529667fb88475bc35f339361ef8687c6bd29c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8026f9a9bfc8d87ff2c6cda1529667fb88475bc35f339361ef8687c6bd29c1f", kill_on_drop: false }` [INFO] [stdout] f8026f9a9bfc8d87ff2c6cda1529667fb88475bc35f339361ef8687c6bd29c1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d5ba56f28bc885b062b77b4a8dfa4eff53974ffdaa4d1ab595e680a399080bb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8d5ba56f28bc885b062b77b4a8dfa4eff53974ffdaa4d1ab595e680a399080bb", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling wusel v2021.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `object_type` [INFO] [stdout] --> src/life/world/task_manager.rs:423:65 [INFO] [stdout] | [INFO] [stdout] 423 | matches!(world.get_object_type_by_id(*obj_id), Some(object_type)) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_type` [INFO] [stdout] --> src/life/world/task_manager.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | let object_type = world.objects_index_with_type[object_index]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_object_whereabouts_by_id` [INFO] [stdout] --> src/life/world.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | fn get_object_whereabouts_by_id(&self, object_id: objects::ObjectId) -> Option<&InWorld> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/life/world.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1007 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/life/world.rs:1010:5 [INFO] [stdout] | [INFO] [stdout] 1010 | size: u32, // a size representation: consuming this [size] times, the thing is gone. (fixed) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `available` [INFO] [stdout] --> src/life/world.rs:1011:5 [INFO] [stdout] | [INFO] [stdout] 1011 | available: f32, // 1.0f whole, 0.0f gone. (temporary) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spoils_after` [INFO] [stdout] --> src/life/world.rs:1014:5 [INFO] [stdout] | [INFO] [stdout] 1014 | spoils_after: u32, // spoils after 0: infinite, or N days. (fixed) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/life/world.rs:1015:5 [INFO] [stdout] | [INFO] [stdout] 1015 | age: u32, // the current age of the consumable (temporary) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `need_change` [INFO] [stdout] --> src/life/world.rs:1018:5 [INFO] [stdout] | [INFO] [stdout] 1018 | need_change: std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.91s [INFO] running `Command { std: "docker" "inspect" "8d5ba56f28bc885b062b77b4a8dfa4eff53974ffdaa4d1ab595e680a399080bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d5ba56f28bc885b062b77b4a8dfa4eff53974ffdaa4d1ab595e680a399080bb", kill_on_drop: false }` [INFO] [stdout] 8d5ba56f28bc885b062b77b4a8dfa4eff53974ffdaa4d1ab595e680a399080bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e7da9f082749d1a9da1fb0a17ffcf70ccc57b6fef63918b6dd962d60a03ed81 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6e7da9f082749d1a9da1fb0a17ffcf70ccc57b6fef63918b6dd962d60a03ed81", kill_on_drop: false }` [INFO] [stderr] Compiling wusel v2021.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `object_type` [INFO] [stdout] --> src/life/world/task_manager.rs:423:65 [INFO] [stdout] | [INFO] [stdout] 423 | matches!(world.get_object_type_by_id(*obj_id), Some(object_type)) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_type` [INFO] [stdout] --> src/life/world/task_manager.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | let object_type = world.objects_index_with_type[object_index]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_object_whereabouts_by_id` [INFO] [stdout] --> src/life/world.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | fn get_object_whereabouts_by_id(&self, object_id: objects::ObjectId) -> Option<&InWorld> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/life/world.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1007 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/life/world.rs:1010:5 [INFO] [stdout] | [INFO] [stdout] 1010 | size: u32, // a size representation: consuming this [size] times, the thing is gone. (fixed) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `available` [INFO] [stdout] --> src/life/world.rs:1011:5 [INFO] [stdout] | [INFO] [stdout] 1011 | available: f32, // 1.0f whole, 0.0f gone. (temporary) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spoils_after` [INFO] [stdout] --> src/life/world.rs:1014:5 [INFO] [stdout] | [INFO] [stdout] 1014 | spoils_after: u32, // spoils after 0: infinite, or N days. (fixed) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/life/world.rs:1015:5 [INFO] [stdout] | [INFO] [stdout] 1015 | age: u32, // the current age of the consumable (temporary) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `need_change` [INFO] [stdout] --> src/life/world.rs:1018:5 [INFO] [stdout] | [INFO] [stdout] 1018 | need_change: std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/life/world.rs:1005:10 [INFO] [stdout] | [INFO] [stdout] 1005 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.17s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/wusel-aea8e58c7bd80f73) [INFO] running `Command { std: "docker" "inspect" "6e7da9f082749d1a9da1fb0a17ffcf70ccc57b6fef63918b6dd962d60a03ed81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7da9f082749d1a9da1fb0a17ffcf70ccc57b6fef63918b6dd962d60a03ed81", kill_on_drop: false }` [INFO] [stdout] 6e7da9f082749d1a9da1fb0a17ffcf70ccc57b6fef63918b6dd962d60a03ed81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9f88f2784e23e890cf1ae5ad65e24dc2a5e0aefd658296d02b56eb2c1d70b610 [INFO] running `Command { std: "docker" "start" "-a" "9f88f2784e23e890cf1ae5ad65e24dc2a5e0aefd658296d02b56eb2c1d70b610", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `object_type` [INFO] [stdout] [INFO] [stderr] --> src/life/world/task_manager.rs:423:65 [INFO] [stdout] running 9 tests [INFO] [stderr] | [INFO] [stderr] 423 | matches!(world.get_object_type_by_id(*obj_id), Some(object_type)) [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_type` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `object_type` [INFO] [stderr] --> src/life/world/task_manager.rs:373:9 [INFO] [stderr] | [INFO] [stderr] 373 | let object_type = world.objects_index_with_type[object_index]; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_type` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_object_whereabouts_by_id` [INFO] [stderr] --> src/life/world.rs:419:8 [INFO] [stderr] | [INFO] [stderr] 419 | fn get_object_whereabouts_by_id(&self, object_id: objects::ObjectId) -> Option<&InWorld> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/life/world.rs:1007:5 [INFO] [stderr] | [INFO] [stderr] 1007 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/life/world.rs:1005:10 [INFO] [stderr] | [INFO] [stderr] 1005 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `size` [INFO] [stderr] --> src/life/world.rs:1010:5 [INFO] [stderr] | [INFO] [stderr] 1010 | size: u32, // a size representation: consuming this [size] times, the thing is gone. (fixed) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/life/world.rs:1005:10 [INFO] [stderr] | [INFO] [stderr] 1005 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `available` [INFO] [stderr] --> src/life/world.rs:1011:5 [INFO] [stderr] | [INFO] [stderr] 1011 | available: f32, // 1.0f whole, 0.0f gone. (temporary) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/life/world.rs:1005:10 [INFO] [stderr] | [INFO] [stderr] 1005 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `spoils_after` [INFO] [stderr] --> src/life/world.rs:1014:5 [INFO] [stderr] | [INFO] [stderr] 1014 | spoils_after: u32, // spoils after 0: infinite, or N days. (fixed) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/life/world.rs:1005:10 [INFO] [stderr] | [INFO] [stderr] 1005 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `age` [INFO] [stderr] --> src/life/world.rs:1015:5 [INFO] [stderr] | [INFO] [stderr] 1015 | age: u32, // the current age of the consumable (temporary) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/life/world.rs:1005:10 [INFO] [stderr] | [INFO] [stderr] 1005 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `need_change` [INFO] [stderr] --> src/life/world.rs:1018:5 [INFO] [stderr] | [INFO] [stderr] 1018 | need_change: std::collections::HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Consumable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/life/world.rs:1005:10 [INFO] [stderr] | [INFO] [stderr] 1005 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `wusel` (bin "wusel" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wusel-aea8e58c7bd80f73) [INFO] [stdout] test life::world::task_test::test_create_bread ... ok [INFO] [stdout] test life::world::task_test::test_consume_bread ... ok [INFO] [stdout] test life::world::unit_tests::wusel_impregnate ... ok [INFO] [stdout] test life::world::unit_tests::wusel_init ... ok [INFO] [stdout] test life::world::unit_tests::wusel_rename_and_co ... ok [INFO] [stdout] test life::world::task_test::test_mutual_meeting ... ok [INFO] [stdout] test life::world::unit_tests::wusel_test_assignment ... ok [INFO] [stdout] test life::world::task_test::test_walking ... ok [INFO] [stdout] test life::world::unit_tests::wusel_tick_to_death ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9f88f2784e23e890cf1ae5ad65e24dc2a5e0aefd658296d02b56eb2c1d70b610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f88f2784e23e890cf1ae5ad65e24dc2a5e0aefd658296d02b56eb2c1d70b610", kill_on_drop: false }` [INFO] [stdout] 9f88f2784e23e890cf1ae5ad65e24dc2a5e0aefd658296d02b56eb2c1d70b610