[INFO] fetching crate ybc 0.1.6... [INFO] testing ybc-0.1.6 against beta-2021-01-01 for beta-1.50-1 [INFO] extracting crate ybc 0.1.6 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate ybc 0.1.6 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ybc 0.1.6 [INFO] finished tweaking crates.io crate ybc 0.1.6 [INFO] tweaked toml for crates.io crate ybc 0.1.6 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yew-router v0.14.0 [INFO] [stderr] Downloaded yewtil v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 373f472187ae2905ff3897ce161fe976b880839efb67411417e5c5e256b53016 [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" "373f472187ae2905ff3897ce161fe976b880839efb67411417e5c5e256b53016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "373f472187ae2905ff3897ce161fe976b880839efb67411417e5c5e256b53016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "373f472187ae2905ff3897ce161fe976b880839efb67411417e5c5e256b53016", kill_on_drop: false }` [INFO] [stdout] 373f472187ae2905ff3897ce161fe976b880839efb67411417e5c5e256b53016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26a38150484dfd9743adff781074d4e6841781af0c84783b2cff8475f92904d7 [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" "26a38150484dfd9743adff781074d4e6841781af0c84783b2cff8475f92904d7", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen v0.2.69 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling js-sys v0.3.46 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.46 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.19 [INFO] [stderr] Compiling yew-router-route-parser v0.14.0 [INFO] [stderr] Compiling yew-router-macro v0.14.0 [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.17.4 [INFO] [stderr] Compiling yew-router v0.14.0 [INFO] [stderr] Compiling yewtil v0.3.2 [INFO] [stderr] Compiling ybc v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "26a38150484dfd9743adff781074d4e6841781af0c84783b2cff8475f92904d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26a38150484dfd9743adff781074d4e6841781af0c84783b2cff8475f92904d7", kill_on_drop: false }` [INFO] [stdout] 26a38150484dfd9743adff781074d4e6841781af0c84783b2cff8475f92904d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a3a853cbc0045fecd1185dd8997ba10f65b07dde9178497d0a37ad114d69b97 [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" "0a3a853cbc0045fecd1185dd8997ba10f65b07dde9178497d0a37ad114d69b97", kill_on_drop: false }` [INFO] [stderr] Compiling ybc v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.17s [INFO] running `Command { std: "docker" "inspect" "0a3a853cbc0045fecd1185dd8997ba10f65b07dde9178497d0a37ad114d69b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a3a853cbc0045fecd1185dd8997ba10f65b07dde9178497d0a37ad114d69b97", kill_on_drop: false }` [INFO] [stdout] 0a3a853cbc0045fecd1185dd8997ba10f65b07dde9178497d0a37ad114d69b97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a5dd0d2b0f5fe1b9ceef5ac1951a7d514e6140b2e910ed1e65bee95f028a181d [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" "a5dd0d2b0f5fe1b9ceef5ac1951a7d514e6140b2e910ed1e65bee95f028a181d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ybc-4bad0575ef6dc1d4 [INFO] [stdout] [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] [stderr] Doc-tests ybc [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/components/modal.rs - components::modal::ModalCloser (line 245) ... FAILED [INFO] [stdout] test src/components/modal.rs - components::modal::ModalCloser (line 234) ... FAILED [INFO] [stdout] test src/components/modal.rs - components::modal::ModalCloser (line 259) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/components/modal.rs - components::modal::ModalCloser (line 245) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `>`, or `as`, found `id` [INFO] [stdout] --> src/components/modal.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 5 | src/components/modal.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_components_modal_rs_245_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:246: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 234) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Self` [INFO] [stdout] --> src/components/modal.rs:238: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:238: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:238: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:239: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:240: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 259) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/components/modal.rs:260: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:260: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:260: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 234) [INFO] [stdout] src/components/modal.rs - components::modal::ModalCloser (line 245) [INFO] [stdout] src/components/modal.rs - components::modal::ModalCloser (line 259) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "a5dd0d2b0f5fe1b9ceef5ac1951a7d514e6140b2e910ed1e65bee95f028a181d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5dd0d2b0f5fe1b9ceef5ac1951a7d514e6140b2e910ed1e65bee95f028a181d", kill_on_drop: false }` [INFO] [stdout] a5dd0d2b0f5fe1b9ceef5ac1951a7d514e6140b2e910ed1e65bee95f028a181d