[INFO] fetching crate weasel 0.9.0... [INFO] checking weasel-0.9.0 against try#ffa4a0215752773248fb0f0a8092f1c3e7907e9e for pr-75585 [INFO] extracting crate weasel 0.9.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate weasel 0.9.0 on toolchain ffa4a0215752773248fb0f0a8092f1c3e7907e9e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate weasel 0.9.0 [INFO] removed 7 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate weasel 0.9.0 [INFO] tweaked toml for crates.io crate weasel 0.9.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate weasel 0.9.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a058b3f6ffc563dfa9e4774a3180379b98e0e4cd69f3dba3980044743517549 [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" "1a058b3f6ffc563dfa9e4774a3180379b98e0e4cd69f3dba3980044743517549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a058b3f6ffc563dfa9e4774a3180379b98e0e4cd69f3dba3980044743517549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a058b3f6ffc563dfa9e4774a3180379b98e0e4cd69f3dba3980044743517549", kill_on_drop: false }` [INFO] [stdout] 1a058b3f6ffc563dfa9e4774a3180379b98e0e4cd69f3dba3980044743517549 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23e95fc38e064e8306f0cddb50f3bc29cd861c96a949d7db29af34c9d0da5f8f [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" "23e95fc38e064e8306f0cddb50f3bc29cd861c96a949d7db29af34c9d0da5f8f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking weasel v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.48 [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/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_turn(&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: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/actor_test.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | 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/actor_test.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | 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/actor_test.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | 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::rules::entropy::UniformDistribution` [INFO] [stdout] --> examples/initiative/rules.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use weasel::rules::entropy::UniformDistribution; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `UniformDistribution` in `rules::entropy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/actor_test.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | util::start_turn(&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/actor_test.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | util::end_turn(&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/actor_test.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | 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/actor_test.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `weasel::FlatVersionedEvent` [INFO] [stdout] --> examples/autosave/main.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | CreateTeam, EventReceiver, EventTrigger, FlatVersionedEvent, Server, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `FlatVersionedEvent` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `weasel::FlatVersionedEvent` [INFO] [stdout] --> examples/autosave/sink.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use weasel::{BattleRules, FlatVersionedEvent, VersionedEventWrapper, WeaselResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `FlatVersionedEvent` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/actor_test.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | 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] 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[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/character_test.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | 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/event_test.rs:211:22 [INFO] [stdout] | [INFO] [stdout] 211 | 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/event_test.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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/character_test.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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/character_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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/event_test.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | 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] 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: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/round_test.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 127 | let mut server = server!(); [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/event_test.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | util::start_turn(&mut server, &ENTITY_1_ID); [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/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/round_test.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 127 | let mut server = server!(); [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/round_test.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | util::creature(&mut server, CREATURE_2_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 127 | let mut server = server!(); [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/event_test.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | 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: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/round_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | util::creature(&mut server, CREATURE_3_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 127 | let mut server = server!(); [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/round_test.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | util::start_turn(&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: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/round_test.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 178 | let mut server = server!(); [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: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/object_test.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | 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/object_test.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | util::object(&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/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/round_test.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 178 | let mut server = server!(); [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: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/round_test.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | util::creature(&mut server, CREATURE_2_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 178 | let mut server = server!(); [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/object_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/round_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | util::creature(&mut server, CREATURE_3_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 178 | let mut server = server!(); [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: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/object_test.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | util::object(&mut server, OBJECT_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/round_test.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | util::start_turn(&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/object_test.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let mut server = util::server(CustomRules::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BattleController` [INFO] [stdout] --> tests/character_test.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use weasel::battle::{BattleController, BattleRules}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Character` [INFO] [stdout] --> tests/character_test.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use weasel::character::{AlterStatistics, Character}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/round_test.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | util::end_turn(&mut server); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BattleController` [INFO] [stdout] --> tests/actor_test.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | 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[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/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/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/object_test.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | 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/round_test.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | util::start_turn(&mut server, &ENTITY_2_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [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/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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/round_test.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 210 | let mut server = server!(); [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/object_test.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | 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: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] 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/object_test.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | util::object(&mut server, OBJECT_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/object_test.rs:315:22 [INFO] [stdout] | [INFO] [stdout] 315 | 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: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/round_test.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 210 | let mut server = server!(); [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: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/round_test.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | util::creature(&mut server, CREATURE_2_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 210 | let mut server = server!(); [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/object_test.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | util::object(&mut server, OBJECT_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/round_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | util::creature(&mut server, CREATURE_3_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 210 | let mut server = server!(); [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: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/object_test.rs:372:22 [INFO] [stdout] | [INFO] [stdout] 372 | 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: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/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/object_test.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | util::object(&mut server, OBJECT_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/object_test.rs:393:22 [INFO] [stdout] | [INFO] [stdout] 393 | 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/round_test.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | util::start_turn(&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: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/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/object_test.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | util::object(&mut server, OBJECT_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/round_test.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | util::end_turn(&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: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/round_test.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 229 | let mut server = server!(); [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: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/round_test.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 229 | let mut server = server!(); [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: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/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/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: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/round_test.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | util::creature(&mut server, CREATURE_2_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 229 | let mut server = server!(); [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: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/round_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | util::creature(&mut server, CREATURE_3_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 229 | let mut server = server!(); [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/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/round_test.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | util::start_turn(&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/round_test.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | util::end_turn(&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: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/round_test.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 249 | let mut server = server!(); [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/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/round_test.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 249 | let mut server = server!(); [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: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/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/round_test.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | util::creature(&mut server, CREATURE_2_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 249 | let mut server = server!(); [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: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: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] 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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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/round_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | util::creature(&mut server, CREATURE_3_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 249 | let mut server = server!(); [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/round_test.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | util::end_turn(&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: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/round_test.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 290 | let mut server = server!(); [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/round_test.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 290 | let mut server = server!(); [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:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | util::start_turn(&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/round_test.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | util::creature(&mut server, CREATURE_2_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 290 | let mut server = server!(); [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: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/round_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | util::creature(&mut server, CREATURE_3_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 290 | let mut server = server!(); [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: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/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/round_test.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | 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/round_test.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | 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/round_test.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | 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/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/round_test.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | util::creature(&mut server, CREATURE_3_ID, 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: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[E0433]: failed to resolve: use of undeclared type or module `util` [INFO] [stdout] --> tests/round_test.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | util::team(&mut server, TEAM_1_ID); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 364 | let mut server = server!(); [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:641:22 [INFO] [stdout] | [INFO] [stdout] 641 | 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/round_test.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | util::creature(&mut server, CREATURE_1_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 364 | let mut server = server!(); [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/round_test.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | util::creature(&mut server, CREATURE_2_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 364 | let mut server = server!(); [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/round_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | util::creature(&mut server, CREATURE_3_ID, TEAM_1_ID, ()); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] ... [INFO] [stdout] 364 | let mut server = server!(); [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:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | 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:643:5 [INFO] [stdout] | [INFO] [stdout] 643 | 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/round_test.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | util::start_turn(&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/round_test.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | util::end_turn(&mut server); [INFO] [stdout] | ^^^^ use of undeclared type or module `util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BattleController` [INFO] [stdout] --> tests/event_test.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use weasel::battle::{Battle, BattleController, BattleRules, BattleState, EndBattle}; [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/object_test.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | 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 5 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 14 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] 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 28 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 43 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" "23e95fc38e064e8306f0cddb50f3bc29cd861c96a949d7db29af34c9d0da5f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e95fc38e064e8306f0cddb50f3bc29cd861c96a949d7db29af34c9d0da5f8f", kill_on_drop: false }` [INFO] [stdout] 23e95fc38e064e8306f0cddb50f3bc29cd861c96a949d7db29af34c9d0da5f8f