[INFO] fetching crate usiagent 0.7.0... [INFO] testing usiagent-0.7.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate usiagent 0.7.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate usiagent 0.7.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate usiagent 0.7.0 [INFO] tweaked toml for crates.io crate usiagent 0.7.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate usiagent 0.7.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] [stderr] Adding rand_xorshift v0.3.0 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33a873143e94e8a451c533e2418c7a8bcda6d712965882f4e521002c64e0a7e3 [INFO] running `Command { std: "docker" "start" "-a" "33a873143e94e8a451c533e2418c7a8bcda6d712965882f4e521002c64e0a7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33a873143e94e8a451c533e2418c7a8bcda6d712965882f4e521002c64e0a7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a873143e94e8a451c533e2418c7a8bcda6d712965882f4e521002c64e0a7e3", kill_on_drop: false }` [INFO] [stdout] 33a873143e94e8a451c533e2418c7a8bcda6d712965882f4e521002c64e0a7e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91546868e4ec300c6d027665112a502962a8c5465846700eda69c3e94b9e8c20 [INFO] running `Command { std: "docker" "start" "-a" "91546868e4ec300c6d027665112a502962a8c5465846700eda69c3e94b9e8c20", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling queuingtask v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling usiagent v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/logger.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | let mut e:&(dyn Error) = e; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - let mut e:&(dyn Error) = e; [INFO] [stdout] 28 + let mut e:&dyn Error = e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/player.rs:498:2 [INFO] [stdout] | [INFO] [stdout] 498 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/player.rs:623:2 [INFO] [stdout] | [INFO] [stdout] 623 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/player.rs:697:2 [INFO] [stdout] | [INFO] [stdout] 697 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn start_default(&self,on_error:F) -> [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 190 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn start_with_log_path(&self,path:String,mut on_error:F) -> [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 202 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn start(&self,reader:R,writer:W,logger:L,mut on_error:F) -> [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 232 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 232 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:255:16 [INFO] [stdout] | [INFO] [stdout] 255 | fn run(&self,reader:R,writer:W,logger_arc:Arc>, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 256 | on_error_handler_arc:Arc>>) -> [INFO] [stdout] 257 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.62s [INFO] running `Command { std: "docker" "inspect" "91546868e4ec300c6d027665112a502962a8c5465846700eda69c3e94b9e8c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91546868e4ec300c6d027665112a502962a8c5465846700eda69c3e94b9e8c20", kill_on_drop: false }` [INFO] [stdout] 91546868e4ec300c6d027665112a502962a8c5465846700eda69c3e94b9e8c20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeec323b9475a5ff35cad5144b78346ce927f54b5afd07cc5c292b16a2830ed0 [INFO] running `Command { std: "docker" "start" "-a" "eeec323b9475a5ff35cad5144b78346ce927f54b5afd07cc5c292b16a2830ed0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/logger.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | let mut e:&(dyn Error) = e; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - let mut e:&(dyn Error) = e; [INFO] [stdout] 28 + let mut e:&dyn Error = e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/player.rs:498:2 [INFO] [stdout] | [INFO] [stdout] 498 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/player.rs:623:2 [INFO] [stdout] | [INFO] [stdout] 623 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/player.rs:697:2 [INFO] [stdout] | [INFO] [stdout] 697 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn start_default(&self,on_error:F) -> [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 190 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn start_with_log_path(&self,path:String,mut on_error:F) -> [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 202 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn start(&self,reader:R,writer:W,logger:L,mut on_error:F) -> [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 232 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 232 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:255:16 [INFO] [stdout] | [INFO] [stdout] 255 | fn run(&self,reader:R,writer:W,logger_arc:Arc>, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 256 | on_error_handler_arc:Arc>>) -> [INFO] [stdout] 257 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling usiagent v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/logger.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | let mut e:&(dyn Error) = e; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - let mut e:&(dyn Error) = e; [INFO] [stdout] 28 + let mut e:&dyn Error = e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/player.rs:498:2 [INFO] [stdout] | [INFO] [stdout] 498 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/player.rs:623:2 [INFO] [stdout] | [INFO] [stdout] 623 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/player.rs:697:2 [INFO] [stdout] | [INFO] [stdout] 697 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:260:39 [INFO] [stdout] | [INFO] [stdout] 260 | pub on_isready: ConsumedIterator) -> Result<(),CommonError> + Send + 'static)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - pub on_isready: ConsumedIterator) -> Result<(),CommonError> + Send + 'static)>>, [INFO] [stdout] 260 + pub on_isready: ConsumedIterator) -> Result<(),CommonError> + Send + 'static >>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:261:39 [INFO] [stdout] | [INFO] [stdout] 261 | pub on_newgame: ConsumedIterator Result<(),CommonError> + Send + 'static)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 261 - pub on_newgame: ConsumedIterator Result<(),CommonError> + Send + 'static)>>, [INFO] [stdout] 261 + pub on_newgame: ConsumedIterator Result<(),CommonError> + Send + 'static >>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:262:40 [INFO] [stdout] | [INFO] [stdout] 262 | pub on_position: ConsumedIterator) -> Result<(),CommonError> + Send + 'static)>>, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 262 ~ pub on_position: ConsumedIterator) -> Result<(),CommonError> + Send + 'static >>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:265:37 [INFO] [stdout] | [INFO] [stdout] 265 | pub on_think: ConsumedIterator Result + Send + 'static)>>, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 265 ~ pub on_think: ConsumedIterator, [INFO] [stdout] ... [INFO] [stdout] 271 | Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] 272 ~ ) -> Result + Send + 'static >>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | Box<(dyn FnMut(Vec) -> Result<(),InfoSendError> + Send + 'static)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - Box<(dyn FnMut(Vec) -> Result<(),InfoSendError> + Send + 'static)>, [INFO] [stdout] 269 + Box) -> Result<(),InfoSendError> + Send + 'static >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:270:36 [INFO] [stdout] | [INFO] [stdout] 270 | Box Vec + Send + 'static)>) -> PeriodicallyInfoSender>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 270 - Box Vec + Send + 'static)>) -> PeriodicallyInfoSender>, [INFO] [stdout] 270 + Box Vec + Send + 'static >) -> PeriodicallyInfoSender>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 271 - Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] 271 + Box Result + Send + 'static > [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:274:42 [INFO] [stdout] | [INFO] [stdout] 274 | pub on_think_mate: ConsumedIterator Result + Send + 'static)>>, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 274 ~ pub on_think_mate: ConsumedIterator>, [INFO] [stdout] ... [INFO] [stdout] 278 | Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] 279 ~ ) -> Result + Send + 'static >>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | Box<(dyn FnMut(Vec) -> Result<(),InfoSendError> + Send + 'static)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 276 - Box<(dyn FnMut(Vec) -> Result<(),InfoSendError> + Send + 'static)>, [INFO] [stdout] 276 + Box) -> Result<(),InfoSendError> + Send + 'static >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:277:36 [INFO] [stdout] | [INFO] [stdout] 277 | Box Vec + Send + 'static)>) -> PeriodicallyInfoSender>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 277 - Box Vec + Send + 'static)>) -> PeriodicallyInfoSender>, [INFO] [stdout] 277 + Box Vec + Send + 'static >) -> PeriodicallyInfoSender>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 278 - Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] 278 + Box Result + Send + 'static > [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:281:40 [INFO] [stdout] | [INFO] [stdout] 281 | pub on_gameover: ConsumedIterator>) [INFO] [stdout] 283 | -> Result<(),CommonError> + Send + 'static)>>, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 281 ~ pub on_gameover: ConsumedIterator>) [INFO] [stdout] 283 ~ -> Result<(),CommonError> + Send + 'static >>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:297:38 [INFO] [stdout] | [INFO] [stdout] 297 | on_isready: ConsumedIterator) -> Result<(),CommonError> + Send + 'static)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 297 - on_isready: ConsumedIterator) -> Result<(),CommonError> + Send + 'static)>>, [INFO] [stdout] 297 + on_isready: ConsumedIterator) -> Result<(),CommonError> + Send + 'static >>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:298:38 [INFO] [stdout] | [INFO] [stdout] 298 | on_newgame: ConsumedIterator Result<(),CommonError> + Send + 'static)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 298 - on_newgame: ConsumedIterator Result<(),CommonError> + Send + 'static)>>, [INFO] [stdout] 298 + on_newgame: ConsumedIterator Result<(),CommonError> + Send + 'static >>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:299:39 [INFO] [stdout] | [INFO] [stdout] 299 | on_position: ConsumedIterator Result<(),CommonError> + Send + 'static)>>, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 299 ~ on_position: ConsumedIterator [INFO] [stdout] 302 ~ ) -> Result<(),CommonError> + Send + 'static >>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:304:36 [INFO] [stdout] | [INFO] [stdout] 304 | on_think: ConsumedIterator Result + Send + 'static)>>, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 ~ on_think: ConsumedIterator, [INFO] [stdout] ... [INFO] [stdout] 310 | Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] 311 ~ ) -> Result + Send + 'static >>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | Box<(dyn FnMut(Vec) -> Result<(),InfoSendError> + Send + 'static)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 308 - Box<(dyn FnMut(Vec) -> Result<(),InfoSendError> + Send + 'static)>, [INFO] [stdout] 308 + Box) -> Result<(),InfoSendError> + Send + 'static >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:309:39 [INFO] [stdout] | [INFO] [stdout] 309 | Box Vec + Send + 'static)>) -> PeriodicallyInfoSender>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 309 - Box Vec + Send + 'static)>) -> PeriodicallyInfoSender>, [INFO] [stdout] 309 + Box Vec + Send + 'static >) -> PeriodicallyInfoSender>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:310:20 [INFO] [stdout] | [INFO] [stdout] 310 | Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 310 - Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] 310 + Box Result + Send + 'static > [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:313:41 [INFO] [stdout] | [INFO] [stdout] 313 | on_think_mate: ConsumedIterator Result + Send + 'static)>>, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 313 ~ on_think_mate: ConsumedIterator>, [INFO] [stdout] ... [INFO] [stdout] 317 | Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] 318 ~ ) -> Result + Send + 'static >>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | Box<(dyn FnMut(Vec) -> Result<(),InfoSendError> + Send + 'static)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - Box<(dyn FnMut(Vec) -> Result<(),InfoSendError> + Send + 'static)>, [INFO] [stdout] 315 + Box) -> Result<(),InfoSendError> + Send + 'static >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:316:39 [INFO] [stdout] | [INFO] [stdout] 316 | Box Vec + Send + 'static)>) -> PeriodicallyInfoSender>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 316 - Box Vec + Send + 'static)>) -> PeriodicallyInfoSender>, [INFO] [stdout] 316 + Box Vec + Send + 'static >) -> PeriodicallyInfoSender>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:317:20 [INFO] [stdout] | [INFO] [stdout] 317 | Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 317 - Box<(dyn FnMut(&mut MockPlayer) -> Result + Send + 'static)> [INFO] [stdout] 317 + Box Result + Send + 'static > [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/common/mod.rs:320:39 [INFO] [stdout] | [INFO] [stdout] 320 | on_gameover: ConsumedIterator>) [INFO] [stdout] 322 | -> Result<(),CommonError> + Send + 'static)>> [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 320 ~ on_gameover: ConsumedIterator>) [INFO] [stdout] 322 ~ -> Result<(),CommonError> + Send + 'static >> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn start_default(&self,on_error:F) -> [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 190 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn start_with_log_path(&self,path:String,mut on_error:F) -> [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 202 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn start(&self,reader:R,writer:W,logger:L,mut on_error:F) -> [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 232 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 232 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:255:16 [INFO] [stdout] | [INFO] [stdout] 255 | fn run(&self,reader:R,writer:W,logger_arc:Arc>, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 256 | on_error_handler_arc:Arc>>) -> [INFO] [stdout] 257 | Result<(),USIAgentRunningError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | Result<(),USIAgentRunningError<'_, SystemEventQueue,E>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `usiagent` (test "lib"); 24 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/2440211fe03bc45c89b6dc1a3df18382ce91e32b/bin/rustc --crate-name lib --edition=2015 tests/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e13bbd64a54b4f9f -C extra-filename=-060e7bc536e0e7f4 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern chrono=/opt/rustwide/target/debug/deps/libchrono-f44a40e5a70a6d11.rlib --extern crossbeam_channel=/opt/rustwide/target/debug/deps/libcrossbeam_channel-fc56bcd212a63d17.rlib --extern queuingtask=/opt/rustwide/target/debug/deps/libqueuingtask-e775d5a183d1fbda.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-f79071408673b7c2.rlib --extern rand_distr=/opt/rustwide/target/debug/deps/librand_distr-1e76f822abda97c2.rlib --extern rand_xorshift=/opt/rustwide/target/debug/deps/librand_xorshift-5f9156e3f02473f3.rlib --extern usiagent=/opt/rustwide/target/debug/deps/libusiagent-868e835d19b6ad85.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "eeec323b9475a5ff35cad5144b78346ce927f54b5afd07cc5c292b16a2830ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeec323b9475a5ff35cad5144b78346ce927f54b5afd07cc5c292b16a2830ed0", kill_on_drop: false }` [INFO] [stdout] eeec323b9475a5ff35cad5144b78346ce927f54b5afd07cc5c292b16a2830ed0