[INFO] fetching crate ybc 0.2.1... [INFO] testing ybc-0.2.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate ybc 0.2.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate ybc 0.2.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ybc 0.2.1 [INFO] finished tweaking crates.io crate ybc 0.2.1 [INFO] tweaked toml for crates.io crate ybc 0.2.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 586fc936d6474563b7dcbf23b48e760a203bad873ea34e8ccad6208879c99e43 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "586fc936d6474563b7dcbf23b48e760a203bad873ea34e8ccad6208879c99e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "586fc936d6474563b7dcbf23b48e760a203bad873ea34e8ccad6208879c99e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "586fc936d6474563b7dcbf23b48e760a203bad873ea34e8ccad6208879c99e43", kill_on_drop: false }` [INFO] [stdout] 586fc936d6474563b7dcbf23b48e760a203bad873ea34e8ccad6208879c99e43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eed3cbc0335144624f13f12741c5c2e5280685510486ec78278719b7a341318f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eed3cbc0335144624f13f12741c5c2e5280685510486ec78278719b7a341318f", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling yew-router-route-parser v0.15.0 [INFO] [stderr] Compiling js-sys v0.3.55 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling yew-router-macro v0.15.0 [INFO] [stderr] Compiling web-sys v0.3.55 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.28 [INFO] [stderr] Compiling gloo-events v0.1.1 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling gloo-console-timer v0.1.0 [INFO] [stderr] Compiling gloo-file v0.1.0 [INFO] [stderr] Compiling gloo v0.2.1 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Compiling yew-router v0.15.0 [INFO] [stderr] Compiling yewtil v0.4.0 [INFO] [stderr] Compiling ybc v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "eed3cbc0335144624f13f12741c5c2e5280685510486ec78278719b7a341318f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed3cbc0335144624f13f12741c5c2e5280685510486ec78278719b7a341318f", kill_on_drop: false }` [INFO] [stdout] eed3cbc0335144624f13f12741c5c2e5280685510486ec78278719b7a341318f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce028d6fafd8bd18b4749c59260e9aa858b9d0534849bd2bba56f64e4a3277b3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ce028d6fafd8bd18b4749c59260e9aa858b9d0534849bd2bba56f64e4a3277b3", kill_on_drop: false }` [INFO] [stderr] Compiling ybc v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.84s [INFO] running `Command { std: "docker" "inspect" "ce028d6fafd8bd18b4749c59260e9aa858b9d0534849bd2bba56f64e4a3277b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce028d6fafd8bd18b4749c59260e9aa858b9d0534849bd2bba56f64e4a3277b3", kill_on_drop: false }` [INFO] [stdout] ce028d6fafd8bd18b4749c59260e9aa858b9d0534849bd2bba56f64e4a3277b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 19f22f37df6327c926994bb29eec588d3d508a4acdb837739016aead29180991 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "19f22f37df6327c926994bb29eec588d3d508a4acdb837739016aead29180991", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ybc-6a74c5e96ee2cc07) [INFO] [stdout] [INFO] [stderr] Doc-tests ybc [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/components/modal.rs - components::modal::ModalCloser (line 231) ... FAILED [INFO] [stdout] test src/components/modal.rs - components::modal::ModalCloser (line 220) ... FAILED [INFO] [stdout] test src/components/modal.rs - components::modal::ModalCloser (line 245) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/components/modal.rs - components::modal::ModalCloser (line 231) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `>`, or `as`, found `id` [INFO] [stdout] --> src/components/modal.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 5 | src/components/modal.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_components_modal_rs_231_0() { [INFO] [stdout] | ------------------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | let closer = self.link.callback(|_| ModalCloseMsg("modal-0".into())); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ModalCloseMsg` in this scope [INFO] [stdout] --> src/components/modal.rs:232:37 [INFO] [stdout] | [INFO] [stdout] 3 | let closer = self.link.callback(|_| ModalCloseMsg("modal-0".into())); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 | use ybc::ModalCloseMsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/modal.rs - components::modal::ModalCloser (line 220) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Self` [INFO] [stdout] --> src/components/modal.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^ use of undeclared type `Self` [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/components/modal.rs:224:56 [INFO] [stdout] | [INFO] [stdout] 6 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | - ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/components/modal.rs:224:66 [INFO] [stdout] | [INFO] [stdout] 6 | fn create(props: Self::Properties, link: ComponentLink) -> Self { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ModalCloser` [INFO] [stdout] --> src/components/modal.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 7 | let bridge = ModalCloser::dispatcher(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use ybc::ModalCloser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find struct, variant or union type `Self` in this scope [INFO] [stdout] --> src/components/modal.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 8 | Self{link, props, bridge} [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0411, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/modal.rs - components::modal::ModalCloser (line 245) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/components/modal.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 3 | fn update(&mut self, msg: Self::Message) -> ShouldRender { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Self` [INFO] [stdout] --> src/components/modal.rs:246:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn update(&mut self, msg: Self::Message) -> ShouldRender { [INFO] [stdout] | ^^^^ use of undeclared type `Self` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShouldRender` in this scope [INFO] [stdout] --> src/components/modal.rs:246:45 [INFO] [stdout] | [INFO] [stdout] 3 | fn update(&mut self, msg: Self::Message) -> ShouldRender { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 | use yew::ShouldRender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [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/components/modal.rs - components::modal::ModalCloser (line 220) [INFO] [stdout] src/components/modal.rs - components::modal::ModalCloser (line 231) [INFO] [stdout] src/components/modal.rs - components::modal::ModalCloser (line 245) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.33s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "19f22f37df6327c926994bb29eec588d3d508a4acdb837739016aead29180991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19f22f37df6327c926994bb29eec588d3d508a4acdb837739016aead29180991", kill_on_drop: false }` [INFO] [stdout] 19f22f37df6327c926994bb29eec588d3d508a4acdb837739016aead29180991