[INFO] fetching crate yarnspinner_core 0.5.0... [INFO] testing yarnspinner_core-0.5.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate yarnspinner_core 0.5.0 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yarnspinner_core 0.5.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] 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2b162da3f676203403432a9a28904b9956316fd4400c5a7fde429806d4e54d98 [INFO] running `Command { std: "docker" "start" "-a" "2b162da3f676203403432a9a28904b9956316fd4400c5a7fde429806d4e54d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b162da3f676203403432a9a28904b9956316fd4400c5a7fde429806d4e54d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b162da3f676203403432a9a28904b9956316fd4400c5a7fde429806d4e54d98", kill_on_drop: false }` [INFO] [stdout] 2b162da3f676203403432a9a28904b9956316fd4400c5a7fde429806d4e54d98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 771fd351dcc41617630dca7f29ccfcfcf7380c3dd93334ba3e10a1c0c7ef9b51 [INFO] running `Command { std: "docker" "start" "-a" "771fd351dcc41617630dca7f29ccfcfcf7380c3dd93334ba3e10a1c0c7ef9b51", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling itertools v0.12.1 [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 7.92s [INFO] running `Command { std: "docker" "inspect" "771fd351dcc41617630dca7f29ccfcfcf7380c3dd93334ba3e10a1c0c7ef9b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "771fd351dcc41617630dca7f29ccfcfcf7380c3dd93334ba3e10a1c0c7ef9b51", kill_on_drop: false }` [INFO] [stdout] 771fd351dcc41617630dca7f29ccfcfcf7380c3dd93334ba3e10a1c0c7ef9b51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4e9b9c66790a40da3750facd1303fcb664229ce74459e93a919841922ebec2af [INFO] running `Command { std: "docker" "start" "-a" "4e9b9c66790a40da3750facd1303fcb664229ce74459e93a919841922ebec2af", kill_on_drop: false }` [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] [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.66s [INFO] running `Command { std: "docker" "inspect" "4e9b9c66790a40da3750facd1303fcb664229ce74459e93a919841922ebec2af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e9b9c66790a40da3750facd1303fcb664229ce74459e93a919841922ebec2af", kill_on_drop: false }` [INFO] [stdout] 4e9b9c66790a40da3750facd1303fcb664229ce74459e93a919841922ebec2af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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", kill_on_drop: false }` [INFO] [stdout] ff6661f4cdbb1c6e15b808cf47afa917c0987c9b109768998433c97ccbcf6608 [INFO] running `Command { std: "docker" "start" "-a" "ff6661f4cdbb1c6e15b808cf47afa917c0987c9b109768998433c97ccbcf6608", 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.20s [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_multiple_fns ... 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_no_args ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::can_call_multiple_fns ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_function_with_single_tuple_param ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::debug_prints_signature ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::can_call_fn_with_one_arg ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_lots_of_different_types ... 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_multiple_strings ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_optional_value_ref ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_usize ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_usize_ref ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_string ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_string_slice ... 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::accepts_optional_value ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_tuples ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::unpacks_tuples_in_right_order ... ok [INFO] [stderr] Doc-tests yarnspinner_core [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_no_params ... ok [INFO] [stdout] test yarn_fn::function_wrapping::tests::accepts_string_ref ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [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 112) ... ok [INFO] [stdout] test src/library.rs - library::yarn_library (line 189) ... ok [INFO] [stdout] test src/library.rs - library::Library::add_function (line 124) ... 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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.72s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ff6661f4cdbb1c6e15b808cf47afa917c0987c9b109768998433c97ccbcf6608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff6661f4cdbb1c6e15b808cf47afa917c0987c9b109768998433c97ccbcf6608", kill_on_drop: false }` [INFO] [stdout] ff6661f4cdbb1c6e15b808cf47afa917c0987c9b109768998433c97ccbcf6608