[INFO] fetching crate yarnspinner_core 0.5.0... [INFO] testing yarnspinner_core-0.5.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate yarnspinner_core 0.5.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate yarnspinner_core 0.5.0 [INFO] finished tweaking crates.io crate yarnspinner_core 0.5.0 [INFO] tweaked toml for crates.io crate yarnspinner_core 0.5.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yarnspinner_core 0.5.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yarnspinner_core 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 044bfff1b6239eeb6d6368b13860ad1409b21e650e361aca21bef558bf4358ce [INFO] running `Command { std: "docker" "start" "-a" "044bfff1b6239eeb6d6368b13860ad1409b21e650e361aca21bef558bf4358ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "044bfff1b6239eeb6d6368b13860ad1409b21e650e361aca21bef558bf4358ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "044bfff1b6239eeb6d6368b13860ad1409b21e650e361aca21bef558bf4358ce", kill_on_drop: false }` [INFO] [stdout] 044bfff1b6239eeb6d6368b13860ad1409b21e650e361aca21bef558bf4358ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce6e72f7f63b5bb20c799e515d2c9db8f7398ab7acdc738ae3a8f22db282d460 [INFO] running `Command { std: "docker" "start" "-a" "ce6e72f7f63b5bb20c799e515d2c9db8f7398ab7acdc738ae3a8f22db282d460", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling variadics_please v1.1.0 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling yarnspinner_core v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/library.rs:51:56 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn iter(&self) -> impl Iterator { [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] 51 - pub fn iter(&self) -> impl Iterator { [INFO] [stdout] 51 + pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/library.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - pub fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] 56 + pub fn get(&self, name: &str) -> Option<&dyn UntypedYarnFn> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/library.rs:159:54 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn functions(&self) -> impl Iterator { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 159 - pub fn functions(&self) -> impl Iterator { [INFO] [stdout] 159 + pub fn functions(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/yarn_fn/function_registry.rs:54:63 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] 54 + pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/yarn_fn/function_registry.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - pub(crate) fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] 75 + pub(crate) fn get(&self, name: &str) -> Option<&dyn UntypedYarnFn> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/yarn_fn/function_registry.rs:83:61 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stdout] 83 + pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.79s [INFO] running `Command { std: "docker" "inspect" "ce6e72f7f63b5bb20c799e515d2c9db8f7398ab7acdc738ae3a8f22db282d460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce6e72f7f63b5bb20c799e515d2c9db8f7398ab7acdc738ae3a8f22db282d460", kill_on_drop: false }` [INFO] [stdout] ce6e72f7f63b5bb20c799e515d2c9db8f7398ab7acdc738ae3a8f22db282d460 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 847b6b446d2a58f7987606199c577b887311acc5647172e8c0b5e3dd919a272e [INFO] running `Command { std: "docker" "start" "-a" "847b6b446d2a58f7987606199c577b887311acc5647172e8c0b5e3dd919a272e", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/library.rs:51:56 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn iter(&self) -> impl Iterator { [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] 51 - pub fn iter(&self) -> impl Iterator { [INFO] [stdout] 51 + pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/library.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - pub fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] 56 + pub fn get(&self, name: &str) -> Option<&dyn UntypedYarnFn> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/library.rs:159:54 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn functions(&self) -> impl Iterator { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 159 - pub fn functions(&self) -> impl Iterator { [INFO] [stdout] 159 + pub fn functions(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yarnspinner_core v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/yarn_fn/function_registry.rs:54:63 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] 54 + pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/yarn_fn/function_registry.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - pub(crate) fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] 75 + pub(crate) fn get(&self, name: &str) -> Option<&dyn UntypedYarnFn> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/yarn_fn/function_registry.rs:83:61 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stdout] 83 + pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/library.rs:51:56 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn iter(&self) -> impl Iterator { [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] 51 - pub fn iter(&self) -> impl Iterator { [INFO] [stdout] 51 + pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/library.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - pub fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] 56 + pub fn get(&self, name: &str) -> Option<&dyn UntypedYarnFn> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/library.rs:159:54 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn functions(&self) -> impl Iterator { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 159 - pub fn functions(&self) -> impl Iterator { [INFO] [stdout] 159 + pub fn functions(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/yarn_fn/function_registry.rs:54:63 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] 54 + pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/yarn_fn/function_registry.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - pub(crate) fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stdout] 75 + pub(crate) fn get(&self, name: &str) -> Option<&dyn UntypedYarnFn> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/yarn_fn/function_registry.rs:83:61 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stdout] 83 + pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "847b6b446d2a58f7987606199c577b887311acc5647172e8c0b5e3dd919a272e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "847b6b446d2a58f7987606199c577b887311acc5647172e8c0b5e3dd919a272e", kill_on_drop: false }` [INFO] [stdout] 847b6b446d2a58f7987606199c577b887311acc5647172e8c0b5e3dd919a272e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d1c347a216f83743f9a8fe4a76a7eacd7a8493e6429e30efc8afee8264b52fbd [INFO] running `Command { std: "docker" "start" "-a" "d1c347a216f83743f9a8fe4a76a7eacd7a8493e6429e30efc8afee8264b52fbd", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/library.rs:51:56 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn iter(&self) -> impl Iterator { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 51 - pub fn iter(&self) -> impl Iterator { [INFO] [stderr] 51 + pub fn iter(&self) -> impl Iterator { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/library.rs:56:46 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 56 - pub fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stderr] 56 + pub fn get(&self, name: &str) -> Option<&dyn UntypedYarnFn> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/library.rs:159:54 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn functions(&self) -> impl Iterator { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 159 - pub fn functions(&self) -> impl Iterator { [INFO] [stderr] 159 + pub fn functions(&self) -> impl Iterator { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/yarn_fn/function_registry.rs:54:63 [INFO] [stderr] | [INFO] [stderr] 54 | pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 54 - pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stderr] 54 + pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/yarn_fn/function_registry.rs:75:53 [INFO] [stderr] | [INFO] [stderr] 75 | pub(crate) fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 75 - pub(crate) fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stderr] 75 + pub(crate) fn get(&self, name: &str) -> Option<&dyn UntypedYarnFn> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/yarn_fn/function_registry.rs:83:61 [INFO] [stderr] | [INFO] [stderr] 83 | pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 83 - pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stderr] 83 + pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `yarnspinner_core` (lib) generated 6 warnings (run `cargo fix --lib -p yarnspinner_core` to apply 6 suggestions) [INFO] [stderr] warning: `yarnspinner_core` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yarnspinner_core-2000bf97c28af655) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test yarn_fn::function_registry::tests::can_add_fn_with_no_args ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::can_add_fn_with_one_arg ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::can_call_fn_with_one_arg ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::can_add_multiple_fns ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::can_call_fn_with_no_args ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::can_call_multiple_fns ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::debug_prints_signature ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_function_with_single_tuple_param ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_lots_of_different_types ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_multiple_strings ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_no_params ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_optional_value ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_optional_value_ref ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_string ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_string_ref ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_string_slice ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_tuples ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_usize ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::can_call_multiple_fns_with_many_params ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_usize_ref ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_yarn_value ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_yarn_value_ref ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::unpacks_tuples_in_right_order ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests yarnspinner_core [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/library.rs:51:56 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn iter(&self) -> impl Iterator { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 51 - pub fn iter(&self) -> impl Iterator { [INFO] [stderr] 51 + pub fn iter(&self) -> impl Iterator { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/library.rs:56:46 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 56 - pub fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stderr] 56 + pub fn get(&self, name: &str) -> Option<&dyn UntypedYarnFn> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/library.rs:159:54 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn functions(&self) -> impl Iterator { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 159 - pub fn functions(&self) -> impl Iterator { [INFO] [stderr] 159 + pub fn functions(&self) -> impl Iterator { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/yarn_fn/function_registry.rs:54:63 [INFO] [stderr] | [INFO] [stderr] 54 | pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 54 - pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stderr] 54 + pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/yarn_fn/function_registry.rs:75:53 [INFO] [stderr] | [INFO] [stderr] 75 | pub(crate) fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 75 - pub(crate) fn get(&self, name: &str) -> Option<&(dyn UntypedYarnFn)> { [INFO] [stderr] 75 + pub(crate) fn get(&self, name: &str) -> Option<&dyn UntypedYarnFn> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/yarn_fn/function_registry.rs:83:61 [INFO] [stderr] | [INFO] [stderr] 83 | pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 83 - pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stderr] 83 + pub(crate) fn functions(&self) -> impl Iterator { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/yarn_fn/function_wrapping.rs - yarn_fn::function_wrapping::YarnFn (line 46) ... FAILED [INFO] [stdout] test src/library.rs - library::Library::add_function (line 92) ... FAILED [INFO] [stdout] test src/yarn_fn/function_wrapping.rs - yarn_fn::function_wrapping::YarnFn (line 32) ... ok [INFO] [stdout] test src/library.rs - library::Library::add_function (line 124) ... ok [INFO] [stdout] test src/library.rs - library::yarn_library (line 189) ... ok [INFO] [stdout] test src/library.rs - library::Library::add_function (line 112) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/yarn_fn/function_wrapping.rs - yarn_fn::function_wrapping::YarnFn (line 46) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bevy` [INFO] [stdout] --> src/yarn_fn/function_wrapping.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bevy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bevy`, use `cargo add bevy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Component` in this scope [INFO] [stdout] --> src/yarn_fn/function_wrapping.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `In` in this scope [INFO] [stdout] --> src/yarn_fn/function_wrapping.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 6 | fn give_summary_from_bevy(In(name): In<&str>, ages: Query<(&Name, &Age)>) -> String { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `In` in this scope [INFO] [stdout] --> src/yarn_fn/function_wrapping.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 6 | fn give_summary_from_bevy(In(name): In<&str>, ages: Query<(&Name, &Age)>) -> String { [INFO] [stdout] | ^^ help: a trait with a similar name exists: `Fn` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:77:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Fn` defined here [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/yarn_fn/function_wrapping.rs:50:53 [INFO] [stdout] | [INFO] [stdout] 6 | fn give_summary_from_bevy(In(name): In<&str>, ages: Query<(&Name, &Age)>) -> String { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> src/yarn_fn/function_wrapping.rs:50:61 [INFO] [stdout] | [INFO] [stdout] 6 | fn give_summary_from_bevy(In(name): In<&str>, ages: Query<(&Name, &Age)>) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use prost::Name; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `World` [INFO] [stdout] --> src/yarn_fn/function_wrapping.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 15 | World::default().register_system(give_summary_from_bevy); [INFO] [stdout] | ^^^^^ use of undeclared type `World` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/library.rs - library::Library::add_function (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bevy` [INFO] [stdout] --> src/library.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bevy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bevy`, use `cargo add bevy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `In` in this scope [INFO] [stdout] --> src/library.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 11 | fn how_many_things(In(thing_type): In, things: Query<&Name>) -> u32 { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `In` in this scope [INFO] [stdout] --> src/library.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 11 | fn how_many_things(In(thing_type): In, things: Query<&Name>) -> u32 { [INFO] [stdout] | ^^ help: a trait with a similar name exists: `Fn` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:77:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Fn` defined here [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/library.rs:100:56 [INFO] [stdout] | [INFO] [stdout] 11 | fn how_many_things(In(thing_type): In, things: Query<&Name>) -> u32 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> src/library.rs:100:63 [INFO] [stdout] | [INFO] [stdout] 11 | fn how_many_things(In(thing_type): In, things: Query<&Name>) -> u32 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use prost::Name; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `World` [INFO] [stdout] --> src/library.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut world = World::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `World` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/library.rs - library::Library::add_function (line 92) [INFO] [stdout] src/yarn_fn/function_wrapping.rs - yarn_fn::function_wrapping::YarnFn (line 46) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d1c347a216f83743f9a8fe4a76a7eacd7a8493e6429e30efc8afee8264b52fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1c347a216f83743f9a8fe4a76a7eacd7a8493e6429e30efc8afee8264b52fbd", kill_on_drop: false }` [INFO] [stdout] d1c347a216f83743f9a8fe4a76a7eacd7a8493e6429e30efc8afee8264b52fbd