[INFO] fetching crate weasel 0.8.0... [INFO] testing weasel-0.8.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate weasel 0.8.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate weasel 0.8.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate weasel 0.8.0 [INFO] removed 7 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate weasel 0.8.0 [INFO] tweaked toml for crates.io crate weasel 0.8.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate weasel 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6c6328e01cb05103ae7bef439a7ec6995e4cec92a714fe57acdf869d27f1d6b [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" "c6c6328e01cb05103ae7bef439a7ec6995e4cec92a714fe57acdf869d27f1d6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6c6328e01cb05103ae7bef439a7ec6995e4cec92a714fe57acdf869d27f1d6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6c6328e01cb05103ae7bef439a7ec6995e4cec92a714fe57acdf869d27f1d6b", kill_on_drop: false }` [INFO] [stdout] c6c6328e01cb05103ae7bef439a7ec6995e4cec92a714fe57acdf869d27f1d6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", 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] 05424ef612ffbf40777b38764bf05a987e0bf6fd801bf953cbf909bf223e8756 [INFO] running `Command { std: "docker" "start" "-a" "05424ef612ffbf40777b38764bf05a987e0bf6fd801bf953cbf909bf223e8756", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling weasel v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.09s [INFO] running `Command { std: "docker" "inspect" "05424ef612ffbf40777b38764bf05a987e0bf6fd801bf953cbf909bf223e8756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05424ef612ffbf40777b38764bf05a987e0bf6fd801bf953cbf909bf223e8756", kill_on_drop: false }` [INFO] [stdout] 05424ef612ffbf40777b38764bf05a987e0bf6fd801bf953cbf909bf223e8756 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", 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] e5470bb665fb9597ff369e25d444b6987c1fbdbe7ef4f461437dd9a6b41a44e2 [INFO] running `Command { std: "docker" "start" "-a" "e5470bb665fb9597ff369e25d444b6987c1fbdbe7ef4f461437dd9a6b41a44e2", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling weasel v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/space_test.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/space_test.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/space_test.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, POSITION_1); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/space_test.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | util::object(&mut server, OBJECT_1_ID, POSITION_2); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/battle_test.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/battle_test.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/battle_test.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/battle_test.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/battle_test.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/battle_test.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `weasel::serde` [INFO] [stdout] --> examples/pirates/game.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use weasel::serde::FlatVersionedEvent; [INFO] [stdout] | ^^^^^ could not find `serde` in `weasel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/battle_test.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | util::start_round(&mut server, &ENTITY_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `weasel::rules::entropy::UniformDistribution` [INFO] [stdout] --> examples/pirates/rules.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use weasel::rules::entropy::UniformDistribution; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `UniformDistribution` in `rules::entropy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> examples/pirates/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^ use of undeclared type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/ability_test.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rand` [INFO] [stdout] --> examples/pirates/game.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of undeclared type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/ability_test.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/ability_test.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/fight_test.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/ability_test.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/ability_test.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/ability_test.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/ability_test.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | util::start_round(&mut server, &ENTITY_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/fight_test.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/fight_test.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/fight_test.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | util::creature(&mut server, CREATURE_2_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/fight_test.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | util::start_round(&mut server, &ENTITY_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | util::creature(&mut server, i, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/ability_test.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/ability_test.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | util::team(&mut server, TEAM_5_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/ability_test.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | util::team(&mut server, TEAM_2_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/ability_test.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | util::start_round(&mut server, &ENTITY_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/fight_test.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:188:38 [INFO] [stdout] | [INFO] [stdout] 188 | let server = Arc::new(Mutex::new(util::server(CustomRules::new()))); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 209 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 209 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | util::team(&mut server, i); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | util::object(&mut server, OBJECT_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 209 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let mut server = util::server(rules); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:191:38 [INFO] [stdout] | [INFO] [stdout] 191 | let client = Arc::new(Mutex::new(util::client(CustomRules::new(), server_sink))); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | util::team(&mut *server.lock().unwrap(), TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | util::dummy(&mut *client.lock().unwrap()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | let server = Arc::new(Mutex::new(util::server(CustomRules::new()))); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:284:22 [INFO] [stdout] | [INFO] [stdout] 284 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:320:22 [INFO] [stdout] | [INFO] [stdout] 320 | let mut server = util::server(rules); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:377:22 [INFO] [stdout] | [INFO] [stdout] 377 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:225:40 [INFO] [stdout] | [INFO] [stdout] 225 | let client_1 = Arc::new(Mutex::new(util::client( [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | util::team(&mut server, TEAM_2_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:474:22 [INFO] [stdout] | [INFO] [stdout] 474 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | let client_2 = Arc::new(Mutex::new(util::client( [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | util::dummy(&mut *client_1.lock().unwrap()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 265 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 265 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | util::object(&mut server, OBJECT_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 265 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 306 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 306 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:440:22 [INFO] [stdout] | [INFO] [stdout] 440 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | util::object(&mut server, OBJECT_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 306 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:264:38 [INFO] [stdout] | [INFO] [stdout] 264 | let server = Arc::new(Mutex::new(util::server(CustomRules::new()))); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 476 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, POSITION_1); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, POSITION_1); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | util::team(&mut server, TEAM_2_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | util::start_round(&mut server, &ENTITY_C1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | util::end_round(&mut server); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:267:38 [INFO] [stdout] | [INFO] [stdout] 267 | let client = Arc::new(Mutex::new(util::client( [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | util::start_round(&mut server, &ENTITY_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | util::dummy(&mut *server.lock().unwrap()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | util::dummy(&mut *server.lock().unwrap()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | util::start_round(&mut server, &ENTITY_C1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BattleController` [INFO] [stdout] --> tests/battle_test.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use weasel::battle::{BattleController, BattlePhase, BattleRules, BattleState, EndBattle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | util::end_round(&mut server); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:559:22 [INFO] [stdout] | [INFO] [stdout] 559 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:525:22 [INFO] [stdout] | [INFO] [stdout] 525 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:690:22 [INFO] [stdout] | [INFO] [stdout] 690 | let mut server = util::server(rules); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:560:5 [INFO] [stdout] | [INFO] [stdout] 560 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 362 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | util::team(&mut *server.lock().unwrap(), TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | util::creature(&mut *server.lock().unwrap(), CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | util::dummy(&mut *client.lock().unwrap()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:561:5 [INFO] [stdout] | [INFO] [stdout] 561 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:617:22 [INFO] [stdout] | [INFO] [stdout] 617 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:305:38 [INFO] [stdout] | [INFO] [stdout] 305 | let server = Arc::new(Mutex::new(util::server(CustomRules::new()))); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:691:5 [INFO] [stdout] | [INFO] [stdout] 691 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:331:38 [INFO] [stdout] | [INFO] [stdout] 331 | let server = Arc::new(Mutex::new(util::server(rules))); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:692:5 [INFO] [stdout] | [INFO] [stdout] 692 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 362 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | util::start_round(&mut server, &ENTITY_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 702 | util::end_round(&mut server); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `weasel`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/creature_test.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:723:22 [INFO] [stdout] | [INFO] [stdout] 723 | let mut server = util::server(rules); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | util::object(&mut server, OBJECT_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 362 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | util::object(&mut server, OBJECT_2_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:336:38 [INFO] [stdout] | [INFO] [stdout] 336 | let client = Arc::new(Mutex::new(util::client(rules, server_sink))); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | util::dummy(&mut *server.lock().unwrap()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 428 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 428 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:725:5 [INFO] [stdout] | [INFO] [stdout] 725 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:727:5 [INFO] [stdout] | [INFO] [stdout] 727 | util::start_round(&mut server, &ENTITY_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:358:38 [INFO] [stdout] | [INFO] [stdout] 358 | let server = Arc::new(Mutex::new(util::server(CustomRules::new()))); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:735:5 [INFO] [stdout] | [INFO] [stdout] 735 | util::end_round(&mut server); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:766:22 [INFO] [stdout] | [INFO] [stdout] 766 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | util::dummy(&mut *server.lock().unwrap()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | util::object(&mut server, OBJECT_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 428 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:767:5 [INFO] [stdout] | [INFO] [stdout] 767 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/team_test.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:366:38 [INFO] [stdout] | [INFO] [stdout] 366 | let client = Arc::new(Mutex::new(util::client(CustomRules::new(), server_sink))); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 449 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | util::team(&mut *server.lock().unwrap(), TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 449 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | util::object(&mut server, OBJECT_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 449 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | util::creature(&mut *server.lock().unwrap(), CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 488 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:485:38 [INFO] [stdout] | [INFO] [stdout] 485 | let client = Arc::new(Mutex::new(util::client(CustomRules::new(), server_sink))); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:522:38 [INFO] [stdout] | [INFO] [stdout] 522 | let server = Arc::new(Mutex::new(util::server(CustomRules::new()))); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 488 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/status_test.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | util::object(&mut server, OBJECT_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 488 | let mut server = scenario!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/client_server_test.rs:524:38 [INFO] [stdout] | [INFO] [stdout] 524 | let client = Arc::new(Mutex::new(util::client( [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BattleController` [INFO] [stdout] --> tests/fight_test.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use weasel::battle::{BattleController, BattleRules, BattleState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `BattleController` [INFO] [stdout] --> tests/creature_test.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use weasel::battle::{BattleController, BattleRules, BattleState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Actor` [INFO] [stdout] --> tests/team_test.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use weasel::actor::{Action, Actor, ActorRules}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BattleController` [INFO] [stdout] --> tests/team_test.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use weasel::battle::{BattleController, BattleRules, BattleState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e5470bb665fb9597ff369e25d444b6987c1fbdbe7ef4f461437dd9a6b41a44e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5470bb665fb9597ff369e25d444b6987c1fbdbe7ef4f461437dd9a6b41a44e2", kill_on_drop: false }` [INFO] [stdout] e5470bb665fb9597ff369e25d444b6987c1fbdbe7ef4f461437dd9a6b41a44e2