[INFO] fetching crate usiagent 0.7.0... [INFO] testing usiagent-0.7.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate usiagent 0.7.0 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate usiagent 0.7.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 47 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded queuingtask v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cc44093ff2e573ab8f6f8cf3285c2580762a532400b5b7b0c255d386fb07a02 [INFO] running `Command { std: "docker" "start" "-a" "5cc44093ff2e573ab8f6f8cf3285c2580762a532400b5b7b0c255d386fb07a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cc44093ff2e573ab8f6f8cf3285c2580762a532400b5b7b0c255d386fb07a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cc44093ff2e573ab8f6f8cf3285c2580762a532400b5b7b0c255d386fb07a02", kill_on_drop: false }` [INFO] [stdout] 5cc44093ff2e573ab8f6f8cf3285c2580762a532400b5b7b0c255d386fb07a02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 874596d77d86ee7c9ee1e72380090dbcd7ed0a82e19c59bbf501a870c8152bd9 [INFO] running `Command { std: "docker" "start" "-a" "874596d77d86ee7c9ee1e72380090dbcd7ed0a82e19c59bbf501a870c8152bd9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling queuingtask v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [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.41 [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 4.98s [INFO] running `Command { std: "docker" "inspect" "874596d77d86ee7c9ee1e72380090dbcd7ed0a82e19c59bbf501a870c8152bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "874596d77d86ee7c9ee1e72380090dbcd7ed0a82e19c59bbf501a870c8152bd9", kill_on_drop: false }` [INFO] [stdout] 874596d77d86ee7c9ee1e72380090dbcd7ed0a82e19c59bbf501a870c8152bd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e0a9449ce2c14a4eee52e40776c4bb52382d6e151e88a4fda19c3d8e51213ca [INFO] running `Command { std: "docker" "start" "-a" "9e0a9449ce2c14a4eee52e40776c4bb52382d6e151e88a4fda19c3d8e51213ca", 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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=84ab2b22b8d11cc4 -C extra-filename=-35e4b86374990643 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern chrono=/opt/rustwide/target/debug/deps/libchrono-959be64086c6cb9c.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-07b75eec6006a3c0.rlib --extern rand_distr=/opt/rustwide/target/debug/deps/librand_distr-467243ad9b0e3a84.rlib --extern rand_xorshift=/opt/rustwide/target/debug/deps/librand_xorshift-f90278fa56b3f028.rlib --extern usiagent=/opt/rustwide/target/debug/deps/libusiagent-f691540bfe8d14a4.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "9e0a9449ce2c14a4eee52e40776c4bb52382d6e151e88a4fda19c3d8e51213ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e0a9449ce2c14a4eee52e40776c4bb52382d6e151e88a4fda19c3d8e51213ca", kill_on_drop: false }` [INFO] [stdout] 9e0a9449ce2c14a4eee52e40776c4bb52382d6e151e88a4fda19c3d8e51213ca