[INFO] fetching crate yarnspinner_core 0.6.0... [INFO] testing yarnspinner_core-0.6.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate yarnspinner_core 0.6.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate yarnspinner_core 0.6.0 [INFO] finished tweaking crates.io crate yarnspinner_core 0.6.0 [INFO] tweaked toml for crates.io crate yarnspinner_core 0.6.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yarnspinner_core 0.6.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yarnspinner_core 0.6.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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8330530c994000a835858b2901bb761ee5d6990f784d4950fec016de99acdbfb [INFO] running `Command { std: "docker" "start" "-a" "8330530c994000a835858b2901bb761ee5d6990f784d4950fec016de99acdbfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8330530c994000a835858b2901bb761ee5d6990f784d4950fec016de99acdbfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8330530c994000a835858b2901bb761ee5d6990f784d4950fec016de99acdbfb", kill_on_drop: false }` [INFO] [stdout] 8330530c994000a835858b2901bb761ee5d6990f784d4950fec016de99acdbfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6d544a4de15d28d86b85646c76077ea905dbd3f7a69723e3722b068d0637717 [INFO] running `Command { std: "docker" "start" "-a" "f6d544a4de15d28d86b85646c76077ea905dbd3f7a69723e3722b068d0637717", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [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.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.94s [INFO] running `Command { std: "docker" "inspect" "f6d544a4de15d28d86b85646c76077ea905dbd3f7a69723e3722b068d0637717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6d544a4de15d28d86b85646c76077ea905dbd3f7a69723e3722b068d0637717", kill_on_drop: false }` [INFO] [stdout] f6d544a4de15d28d86b85646c76077ea905dbd3f7a69723e3722b068d0637717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24f573b56a125005791e57a1741ce199d7779a761e738a55790d2f56d3dcb417 [INFO] running `Command { std: "docker" "start" "-a" "24f573b56a125005791e57a1741ce199d7779a761e738a55790d2f56d3dcb417", kill_on_drop: false }` [INFO] [stderr] Compiling yarnspinner_core v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "24f573b56a125005791e57a1741ce199d7779a761e738a55790d2f56d3dcb417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24f573b56a125005791e57a1741ce199d7779a761e738a55790d2f56d3dcb417", kill_on_drop: false }` [INFO] [stdout] 24f573b56a125005791e57a1741ce199d7779a761e738a55790d2f56d3dcb417 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6c6f5ef395c15a67519f1644f21bcfd8af333729506d2949770796a62c80f7ae [INFO] running `Command { std: "docker" "start" "-a" "6c6f5ef395c15a67519f1644f21bcfd8af333729506d2949770796a62c80f7ae", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yarnspinner_core-2689475abfbbbc90) [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_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_fn_with_one_arg ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::can_call_multiple_fns ... ok [INFO] [stdout] test yarn_fn::function_registry::tests::can_call_multiple_fns_with_many_params ... 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_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] [stdout] [INFO] [stdout] running 6 tests [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 46) ... 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::yarn_library (line 189) ... ok [INFO] [stdout] test src/library.rs - library::Library::add_function (line 112) ... ok [INFO] [stdout] test src/library.rs - library::Library::add_function (line 124) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:76: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] ---- 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] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:76: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] [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.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6c6f5ef395c15a67519f1644f21bcfd8af333729506d2949770796a62c80f7ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c6f5ef395c15a67519f1644f21bcfd8af333729506d2949770796a62c80f7ae", kill_on_drop: false }` [INFO] [stdout] 6c6f5ef395c15a67519f1644f21bcfd8af333729506d2949770796a62c80f7ae