[INFO] cloning repository https://github.com/lollek/omoria [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lollek/omoria" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flollek%2Fomoria", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flollek%2Fomoria'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01b95e256673a70f6a839176df5384d1a86024d7 [INFO] testing lollek/omoria against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flollek%2Fomoria" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lollek/omoria on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lollek/omoria [INFO] finished tweaking git repo https://github.com/lollek/omoria [INFO] tweaked toml for git repo https://github.com/lollek/omoria written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lollek/omoria 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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pdcurses-sys v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c952ded865a9e82b6d14d87c3c54f8fc3ee106193111136f2a92cbc565eafc70 [INFO] running `Command { std: "docker" "start" "-a" "c952ded865a9e82b6d14d87c3c54f8fc3ee106193111136f2a92cbc565eafc70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c952ded865a9e82b6d14d87c3c54f8fc3ee106193111136f2a92cbc565eafc70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c952ded865a9e82b6d14d87c3c54f8fc3ee106193111136f2a92cbc565eafc70", kill_on_drop: false }` [INFO] [stdout] c952ded865a9e82b6d14d87c3c54f8fc3ee106193111136f2a92cbc565eafc70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1740cfad7855e40c8a2f41d6e0da17b30c5a5fbd1a893fb5dcb797cdfdde4d3d [INFO] running `Command { std: "docker" "start" "-a" "1740cfad7855e40c8a2f41d6e0da17b30c5a5fbd1a893fb5dcb797cdfdde4d3d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pancurses v0.16.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling omoria v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/generate_item/item_template.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum WornFlag1 { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | Stealth = 0x00000100, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | Regeneration = 0x00000800, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | SlayDragon = 0x00002000, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | // Extra damage to monsters [INFO] [stdout] 29 | SlayMonster = 0x00004000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | // Extra damage to evil creatures [INFO] [stdout] 31 | SlayEvil = 0x00008000, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | // Extra damage to undead [INFO] [stdout] 33 | SlayUndead = 0x00010000, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | // Extra damage to cold based creatures [INFO] [stdout] 35 | SlayCold = 0x00020000, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | // Extra damage to fire based creatures [INFO] [stdout] 37 | SlayFire = 0x00040000, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | ResistLightning = 0x02000000, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | FeatherFall = 0x04000000, [INFO] [stdout] 47 | Blindness = 0x08000000, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 48 | Timidness = 0x10000000, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | Infravision = 0x40000000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/generate_item/item_template.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum WornFlag2 { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 56 | SlayDemon = 0x00000001, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | // Lessed Slay Undead? [INFO] [stdout] 58 | SoulSword = 0x00000002, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 59 | SlayRegenerators = 0x00000004, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | // See p1 for amount [INFO] [stdout] 61 | ImprovedSwimming = 0x00000008, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | ImprovedSavingThrows = 0x00000010, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | ImprovedDisarming = 0x00000020, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | ImprovedCriticals = 0x00000040, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | BadReputation = 0x00200000, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 66 | Hunger = 0x00400000, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | // Removes flags for other worn gems (???) [INFO] [stdout] 68 | NegativeGemFlags = 0x00800000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | Blackmarket = 0x20000000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 77 | Insured = 0x40000000, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | KnownCursed = 0x80000000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/player/data.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | libc::strcpy(player_name.as_mut_ptr() as *mut i8, cstr.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/player/data.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | libc::strcpy(player_race.as_mut_ptr(), cstr.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/player/data.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | libc::strcpy(player_sex.as_mut_ptr(), cstr.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/player/data.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | libc::strcpy(player_tclass.as_mut_ptr(), cstr.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.07s [INFO] running `Command { std: "docker" "inspect" "1740cfad7855e40c8a2f41d6e0da17b30c5a5fbd1a893fb5dcb797cdfdde4d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1740cfad7855e40c8a2f41d6e0da17b30c5a5fbd1a893fb5dcb797cdfdde4d3d", kill_on_drop: false }` [INFO] [stdout] 1740cfad7855e40c8a2f41d6e0da17b30c5a5fbd1a893fb5dcb797cdfdde4d3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d81f887ba2df5fcbbbdd6db23a1c02af076063ab1560306b19cd1aeed6fe2557 [INFO] running `Command { std: "docker" "start" "-a" "d81f887ba2df5fcbbbdd6db23a1c02af076063ab1560306b19cd1aeed6fe2557", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling sdd v3.0.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling scc v2.3.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling omoria v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/generate_item/item_template.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum WornFlag1 { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | Stealth = 0x00000100, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | Regeneration = 0x00000800, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | SlayDragon = 0x00002000, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | // Extra damage to monsters [INFO] [stdout] 29 | SlayMonster = 0x00004000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | // Extra damage to evil creatures [INFO] [stdout] 31 | SlayEvil = 0x00008000, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | // Extra damage to undead [INFO] [stdout] 33 | SlayUndead = 0x00010000, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | // Extra damage to cold based creatures [INFO] [stdout] 35 | SlayCold = 0x00020000, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | // Extra damage to fire based creatures [INFO] [stdout] 37 | SlayFire = 0x00040000, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | ResistLightning = 0x02000000, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | FeatherFall = 0x04000000, [INFO] [stdout] 47 | Blindness = 0x08000000, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 48 | Timidness = 0x10000000, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | Infravision = 0x40000000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/generate_item/item_template.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum WornFlag2 { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 56 | SlayDemon = 0x00000001, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | // Lessed Slay Undead? [INFO] [stdout] 58 | SoulSword = 0x00000002, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 59 | SlayRegenerators = 0x00000004, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | // See p1 for amount [INFO] [stdout] 61 | ImprovedSwimming = 0x00000008, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | ImprovedSavingThrows = 0x00000010, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | ImprovedDisarming = 0x00000020, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | ImprovedCriticals = 0x00000040, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | BadReputation = 0x00200000, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 66 | Hunger = 0x00400000, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | // Removes flags for other worn gems (???) [INFO] [stdout] 68 | NegativeGemFlags = 0x00800000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | Blackmarket = 0x20000000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 77 | Insured = 0x40000000, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | KnownCursed = 0x80000000, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/player/data.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | libc::strcpy(player_name.as_mut_ptr() as *mut i8, cstr.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/player/data.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | libc::strcpy(player_race.as_mut_ptr(), cstr.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/player/data.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | libc::strcpy(player_sex.as_mut_ptr(), cstr.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/player/data.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | libc::strcpy(player_tclass.as_mut_ptr(), cstr.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.62s [INFO] running `Command { std: "docker" "inspect" "d81f887ba2df5fcbbbdd6db23a1c02af076063ab1560306b19cd1aeed6fe2557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d81f887ba2df5fcbbbdd6db23a1c02af076063ab1560306b19cd1aeed6fe2557", kill_on_drop: false }` [INFO] [stdout] d81f887ba2df5fcbbbdd6db23a1c02af076063ab1560306b19cd1aeed6fe2557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1efa0b576527a0f3dc503874821e0c921f4b33d57d0f75feb6b21c3fd111fb99 [INFO] running `Command { std: "docker" "start" "-a" "1efa0b576527a0f3dc503874821e0c921f4b33d57d0f75feb6b21c3fd111fb99", kill_on_drop: false }` [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/generate_item/item_template.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum WornFlag1 { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 20 | Stealth = 0x00000100, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | Regeneration = 0x00000800, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | SlayDragon = 0x00002000, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 28 | // Extra damage to monsters [INFO] [stderr] 29 | SlayMonster = 0x00004000, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 30 | // Extra damage to evil creatures [INFO] [stderr] 31 | SlayEvil = 0x00008000, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 32 | // Extra damage to undead [INFO] [stderr] 33 | SlayUndead = 0x00010000, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 34 | // Extra damage to cold based creatures [INFO] [stderr] 35 | SlayCold = 0x00020000, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 36 | // Extra damage to fire based creatures [INFO] [stderr] 37 | SlayFire = 0x00040000, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | ResistLightning = 0x02000000, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 46 | FeatherFall = 0x04000000, [INFO] [stderr] 47 | Blindness = 0x08000000, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 48 | Timidness = 0x10000000, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | Infravision = 0x40000000, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/generate_item/item_template.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 55 | pub enum WornFlag2 { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 56 | SlayDemon = 0x00000001, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 57 | // Lessed Slay Undead? [INFO] [stderr] 58 | SoulSword = 0x00000002, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 59 | SlayRegenerators = 0x00000004, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 60 | // See p1 for amount [INFO] [stderr] 61 | ImprovedSwimming = 0x00000008, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 62 | ImprovedSavingThrows = 0x00000010, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 63 | ImprovedDisarming = 0x00000020, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 64 | ImprovedCriticals = 0x00000040, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 65 | BadReputation = 0x00200000, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 66 | Hunger = 0x00400000, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 67 | // Removes flags for other worn gems (???) [INFO] [stderr] 68 | NegativeGemFlags = 0x00800000, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | Blackmarket = 0x20000000, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 77 | Insured = 0x40000000, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 78 | KnownCursed = 0x80000000, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/player/data.rs:88:22 [INFO] [stderr] | [INFO] [stderr] 88 | libc::strcpy(player_name.as_mut_ptr() as *mut i8, cstr.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/player/data.rs:100:22 [INFO] [stderr] | [INFO] [stderr] 100 | libc::strcpy(player_race.as_mut_ptr(), cstr.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/player/data.rs:111:22 [INFO] [stderr] | [INFO] [stderr] 111 | libc::strcpy(player_sex.as_mut_ptr(), cstr.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/player/data.rs:123:22 [INFO] [stderr] | [INFO] [stderr] 123 | libc::strcpy(player_tclass.as_mut_ptr(), cstr.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `omoria` (lib test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/omoria-b11ab4b18710b4e2) [INFO] [stdout] running 141 tests [INFO] [stdout] test conversion::item_subtype::amulet::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::arrow::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::bag::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::belt::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::bracers::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::chest::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::chime::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::cloak::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::dagger::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::flask_of_oil::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::gem::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::gloves::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::hafted_weapon::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::horn::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::helm::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::hard_armor::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::instrument::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::junk_food::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::jewelry::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::boots::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::light_source::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::lodging_at_inn::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::magic_book::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::misc_item::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::maul::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::misc_usable::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::pick::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::polearm::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::potion::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::prayer_book::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::ranged_weapon::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::ring::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::bolt::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::scroll::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::shield::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::sling_ammo::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::soft_armor::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::spike::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::staff::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::song_book::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::sword::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::wand::tests::test_double_conversion ... ok [INFO] [stdout] test data::item_name::subtype::amulet::test::test_names_multiple_unidentified ... ok [INFO] [stdout] test data::item_name::subtype::amulet::test::test_names_single_identified ... ok [INFO] [stdout] test conversion::item_subtype::wearable_gem::tests::test_double_conversion ... ok [INFO] [stdout] test conversion::item_subtype::food::tests::test_double_conversion ... ok [INFO] [stdout] test data::item_name::subtype::ammo::tests::test_iron_shot ... ok [INFO] [stdout] test data::item_name::subtype::ammo::tests::test_arrow ... ok [INFO] [stdout] test data::item_name::subtype::ammo::tests::test_bolt ... ok [INFO] [stdout] test data::item_name::subtype::ammo::tests::test_rounded_pebble ... ok [INFO] [stdout] test data::item_name::subtype::bag::tests::test_bag_of_devouring ... ok [INFO] [stdout] test data::item_name::subtype::bag::tests::test_bag_of_holding1000 ... ok [INFO] [stdout] test data::item_name::subtype::bag::tests::test_bag_of_holding500 ... ok [INFO] [stdout] test data::item_name::subtype::chest::tests::test_chest_large_steel_chest ... ok [INFO] [stdout] test data::item_name::subtype::bag::tests::test_bag_of_holding1500 ... ok [INFO] [stdout] test data::item_name::subtype::chest::tests::test_chest_large_iron_chest ... ok [INFO] [stdout] test data::item_name::subtype::amulet::test::test_names_single_unidentified ... ok [INFO] [stdout] test data::item_name::subtype::chest::tests::test_chest_large_wooden_chest ... ok [INFO] [stdout] test data::item_name::subtype::bag::tests::test_bag_of_holding250 ... ok [INFO] [stdout] test data::item_name::subtype::chest::tests::test_chest_small_iron_chest ... ok [INFO] [stdout] test data::item_name::subtype::chest::tests::test_chest_small_steel_chest ... ok [INFO] [stdout] test data::item_name::subtype::chest::tests::test_chest_small_wooden_chest ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_fine_agate ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_fine_sapphire ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_gem_of_annihilation ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_gem_of_detect_monster ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_gem_of_dispel_evil ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_gem_of_identify ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_fine_diamond ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_gem_of_darkness ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_gem_of_acid_balls ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_gem_of_detect_invisible ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_gem_of_light ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_gem_of_recall ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_large_pouch_of_diamonds ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_large_sack_of_pearls ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_gem_of_remove_curse ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_large_sack_of_sapphires ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_small_bag_of_opals ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_rough_sapphire ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_small_bag_of_sapphires ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_rough_diamond ... ok [INFO] [stdout] test data::item_name::subtype::jewelry::tests::test_jewelry_large_mithril_garter_belt ... ok [INFO] [stdout] test data::item_name::subtype::jewelry::tests::test_jewelry_small_gold_pendant ... ok [INFO] [stdout] test data::item_name::subtype::jewelry::tests::test_jewelry_small_mithril_pendant ... ok [INFO] [stdout] test data::item_name::subtype::light_source::tests::test_light_source_brass_lantern ... ok [INFO] [stdout] test data::item_name::subtype::jewelry::tests::test_jewelry_small_silver_pendant ... ok [INFO] [stdout] test data::item_name::subtype::light_source::tests::test_light_source_magic_lantern ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_small_pouch_of_diamonds ... ok [INFO] [stdout] test data::item_name::subtype::melee_weapon::tests::test_names_unidentified ... ok [INFO] [stdout] test data::item_name::subtype::melee_weapon::tests::test_identified ... ok [INFO] [stdout] test data::item_name::subtype::light_source::tests::test_light_source_wooden_torch ... ok [INFO] [stdout] test data::item_name::subtype::misc_object::tests::test_misc_object_type_empty_bottle ... ok [INFO] [stdout] test data::item_name::subtype::misc_object::tests::test_misc_object_type_giant_centipede_skeleton ... ok [INFO] [stdout] test data::item_name::subtype::misc_object::tests::test_misc_object_type_gnome_skeleton ... ok [INFO] [stdout] test data::item_name::subtype::misc_object::tests::test_misc_object_type_human_skeleton ... ok [INFO] [stdout] test data::item_name::subtype::misc_object::tests::test_misc_object_type_large_broken_bone ... ok [INFO] [stdout] test data::item_name::subtype::light_source::tests::test_light_source_magic_torch ... ok [INFO] [stdout] test data::item_name::subtype::amulet::test::test_names_single_known_type_unidentified ... ok [INFO] [stdout] test data::item_name::subtype::misc_object::tests::test_misc_object_type_shards_of_pottery ... ok [INFO] [stdout] test data::item_name::subtype::misc_usable::tests::test_misc_usable_corked_bottle ... ok [INFO] [stdout] test data::item_name::subtype::gem::tests::test_gem_of_summoning ... ok [INFO] [stdout] test data::item_name::subtype::misc_usable::tests::test_misc_usable_cross ... ok [INFO] [stdout] test data::item_name::subtype::misc_object::tests::test_misc_object_type_broken_set_of_teeth ... ok [INFO] [stdout] test data::item_name::subtype::misc_usable::tests::test_misc_usable_mithril_cross ... ok [INFO] [stdout] test data::item_name::subtype::misc_usable::tests::test_misc_usable_silver_cross ... ok [INFO] [stdout] test data::item_name::subtype::misc_object::tests::test_misc_object_type_broken_stick ... ok [INFO] [stdout] test data::item_name::subtype::misc_object::tests::test_misc_object_type_dwarf_skeleton ... ok [INFO] [stdout] test data::item_name::subtype::misc_object::tests::test_misc_object_type_elf_skeleton ... ok [INFO] [stdout] test data::item_name::subtype::misc_object::tests::test_misc_object_type_rat_skeleton ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_light_crossbow ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_shortbow ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_siege_bow ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_siege_crossbow ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_sling ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_war_bow ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_warded_bow ... ok [INFO] [stdout] test data::item_name::subtype::small_armor::tests::test_identified ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_composite_bow ... ok [INFO] [stdout] test data::item_name::subtype::small_armor::tests::test_known_type ... ok [INFO] [stdout] test data::item_name::subtype::misc_usable::tests::test_misc_usable_statue ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_ballista ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_double_bow ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_heavy_crossbow ... ok [INFO] [stdout] test data::item_name::subtype::ranged_weapon::tests::test_hunters_bow ... ok [INFO] [stdout] test data::item_name::subtype::misc_usable::tests::test_misc_usable_gold_cross ... ok [INFO] [stdout] test data::item_name::subtype::wearable_gem::tests::test_gem_of_lordly_protection_fire ... ok [INFO] [stdout] test data::item_name::subtype::spike::tests::test_spike ... ok [INFO] [stdout] test data::item_name::subtype::small_armor::tests::test_unidentified ... ok [INFO] [stdout] test data::item_name::subtype::wand::tests::test_wand_type_identified ... ok [INFO] [stdout] test data::item_name::subtype::wearable_gem::tests::test_gem_of_resist_cold ... ok [INFO] [stdout] test data::item_name::subtype::wand::tests::test_wand_unidentified ... ok [INFO] [stdout] test data::item_name::subtype::wearable_gem::tests::test_gem_of_see_invisible ... ok [INFO] [stdout] test data::item_name::subtype::wearable_gem::tests::test_gem_of_stealth ... ok [INFO] [stdout] test data::item_name::subtype::wand::tests::test_wand_identified ... ok [INFO] [stdout] test identification::tests::test_get_set_identification ... ok [INFO] [stdout] test data::item_name::subtype::wearable_gem::tests::test_gem_of_slow_digestion ... ok [INFO] [stdout] test data::item_name::subtype::wearable_gem::tests::test_gem_of_resist_acid ... ok [INFO] [stdout] test data::item_name::tests::test_ration_of_food ... ok [INFO] [stdout] test data::item_name::subtype::wearable_gem::tests::test_gem_of_teleportation ... ok [INFO] [stdout] test identification::tests::test_read_write ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- identification::tests::test_read_write stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'identification::tests::test_read_write' panicked at src/identification.rs:66:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: {WearableGem(GemOfTeleportation): true} [INFO] [stdout] right: {} [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x640f017eb892 - std::backtrace_rs::backtrace::libunwind::trace::hf010e1dbae51cb72 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x640f017eb892 - std::backtrace_rs::backtrace::trace_unsynchronized::hfea1b1ce70c8ef04 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x640f017eb892 - std::sys::backtrace::_print_fmt::h2997a50d2484a6a6 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x640f017eb892 - ::fmt::h7fb80f6afbe41a33 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x640f01812e13 - core::fmt::rt::Argument::fmt::hd3a68c3e7e846625 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/fmt/rt.rs:185:76 [INFO] [stdout] 5: 0x640f01812e13 - core::fmt::write::h000527be0eea6fe8 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x640f017e85f3 - std::io::Write::write_fmt::h5402e677befea770 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x640f017eb6e2 - std::sys::backtrace::BacktraceLock::print::hffad87dde00cbe3e [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x640f017ecd3a - std::panicking::default_hook::{{closure}}::ha46397973bec1239 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x640f017ecb29 - std::panicking::default_hook::h706de72a1550eed4 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x640f01777587 - as core::ops::function::Fn>::call::hde091e5c6e92bb68 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x640f01777587 - test::test_main::{{closure}}::h769424ff54c41197 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x640f017ed823 - as core::ops::function::Fn>::call::hbd7480c9dddf3315 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x640f017ed823 - std::panicking::rust_panic_with_hook::h6666776865bd21f5 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x640f017ed4da - std::panicking::begin_panic_handler::{{closure}}::hb8595612365d24db [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x640f017ebd89 - std::sys::backtrace::__rust_end_short_backtrace::h7037f177c7ae4ed3 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x640f017ed16d - rust_begin_unwind [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x640f01811530 - core::panicking::panic_fmt::hd26142fa9828e2a3 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x640f018118c7 - core::panicking::assert_failed_inner::h3773d684712d3877 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panicking.rs:425:17 [INFO] [stdout] 19: 0x640f01729697 - core::panicking::assert_failed::h5618687ebabc75b1 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panicking.rs:380:5 [INFO] [stdout] 20: 0x640f016fbc57 - omoria::identification::tests::test_read_write::{{closure}}::hfef02d4428669cea [INFO] [stdout] at /opt/rustwide/workdir/src/identification.rs:66:9 [INFO] [stdout] 21: 0x640f017099be - core::ops::function::FnOnce::call_once::h69d0d9e3b70f53b1 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x640f0179d663 - serial_test::serial_code_lock::local_serial_core::h14b4422cb0a33a6d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serial_test-3.2.0/src/serial_code_lock.rs:36:5 [INFO] [stdout] 23: 0x640f016fbb48 - omoria::identification::tests::test_read_write::h7d7ff697a7a14850 [INFO] [stdout] at /opt/rustwide/workdir/src/identification.rs:61:5 [INFO] [stdout] 24: 0x640f016fba97 - omoria::identification::tests::test_read_write::{{closure}}::hab6e491b80699cb4 [INFO] [stdout] at /opt/rustwide/workdir/src/identification.rs:62:25 [INFO] [stdout] 25: 0x640f01709986 - core::ops::function::FnOnce::call_once::h6914cd8d48778f2c [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x640f0177ce8b - core::ops::function::FnOnce::call_once::h537cb3ba0681a85d [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x640f0177ce8b - test::__rust_begin_short_backtrace::ha34590b284b8a909 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:638:18 [INFO] [stdout] 28: 0x640f0177bf25 - test::run_test_in_process::{{closure}}::h7e5cb0195a5ea6a6 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:661:60 [INFO] [stdout] 29: 0x640f0177bf25 - as core::ops::function::FnOnce<()>>::call_once::h4fd7826f39023efe [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x640f0177bf25 - std::panicking::try::do_call::h840562177f324507 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:587:40 [INFO] [stdout] 31: 0x640f0177bf25 - std::panicking::try::h2360ed2f8f8e7bd8 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:550:19 [INFO] [stdout] 32: 0x640f0177bf25 - std::panic::catch_unwind::h98cd8da2f8eb8f7b [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x640f0177bf25 - test::run_test_in_process::hcd6b1143eaf140ef [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:661:27 [INFO] [stdout] 34: 0x640f0177bf25 - test::run_test::{{closure}}::h12da0337272887dc [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:582:43 [INFO] [stdout] 35: 0x640f0173ef14 - test::run_test::{{closure}}::h11d537cad5364bdc [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/test/src/lib.rs:612:41 [INFO] [stdout] 36: 0x640f0173ef14 - std::sys::backtrace::__rust_begin_short_backtrace::h5f533949825eb644 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 37: 0x640f0174297a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf8cffede9b676267 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x640f0174297a - as core::ops::function::FnOnce<()>>::call_once::h3160424131f9b05b [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x640f0174297a - std::panicking::try::do_call::h4821f856f783960c [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:587:40 [INFO] [stdout] 40: 0x640f0174297a - std::panicking::try::hd6726363e8162e27 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panicking.rs:550:19 [INFO] [stdout] 41: 0x640f0174297a - std::panic::catch_unwind::hb75a27d7bd2912cb [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x640f0174297a - std::thread::Builder::spawn_unchecked_::{{closure}}::h36d5666a81748b85 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x640f0174297a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha3d6556f1deabcaf [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x640f017f0e4b - as core::ops::function::FnOnce>::call_once::h454485597884df01 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 45: 0x640f017f0e4b - as core::ops::function::FnOnce>::call_once::h421b8b5dc09cf3b4 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 46: 0x640f017f0e4b - std::sys::pal::unix::thread::Thread::new::thread_start::ha1530b93ff336c49 [INFO] [stdout] at /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 47: 0x7e74e7e2eac3 - [INFO] [stdout] 48: 0x7e74e7ebfa04 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] identification::tests::test_read_write [INFO] [stdout] [INFO] [stdout] test result: FAILED. 140 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "1efa0b576527a0f3dc503874821e0c921f4b33d57d0f75feb6b21c3fd111fb99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1efa0b576527a0f3dc503874821e0c921f4b33d57d0f75feb6b21c3fd111fb99", kill_on_drop: false }` [INFO] [stdout] 1efa0b576527a0f3dc503874821e0c921f4b33d57d0f75feb6b21c3fd111fb99