[INFO] fetching crate yew-nested-router 0.7.2... [INFO] testing yew-nested-router-0.7.2 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate yew-nested-router 0.7.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate yew-nested-router 0.7.2 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yew-nested-router 0.7.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate yew-nested-router 0.7.2 [INFO] tweaked toml for crates.io crate yew-nested-router 0.7.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 129 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 864e863c5f1635cf52e8652e688ada5dd9cbb5cfd16e7c6d6c26470bbb96b4af [INFO] running `Command { std: "docker" "start" "-a" "864e863c5f1635cf52e8652e688ada5dd9cbb5cfd16e7c6d6c26470bbb96b4af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "864e863c5f1635cf52e8652e688ada5dd9cbb5cfd16e7c6d6c26470bbb96b4af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864e863c5f1635cf52e8652e688ada5dd9cbb5cfd16e7c6d6c26470bbb96b4af", kill_on_drop: false }` [INFO] [stdout] 864e863c5f1635cf52e8652e688ada5dd9cbb5cfd16e7c6d6c26470bbb96b4af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 679a9ebce2edfc6d51a80e10934055c7b3426b36a8f508de3dd48876e8a86190 [INFO] running `Command { std: "docker" "start" "-a" "679a9ebce2edfc6d51a80e10934055c7b3426b36a8f508de3dd48876e8a86190", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.99 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling implicit-clone v0.4.9 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.99 [INFO] [stderr] Compiling wasm-bindgen v0.2.99 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling yew-nested-router-macros v0.7.2 [INFO] [stderr] Compiling js-sys v0.3.76 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling web-sys v0.3.76 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.49 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-events v0.2.0 [INFO] [stderr] Compiling gloo-render v0.2.0 [INFO] [stderr] Compiling gloo-dialogs v0.2.0 [INFO] [stderr] Compiling gloo-console v0.3.0 [INFO] [stderr] Compiling gloo-net v0.4.0 [INFO] [stderr] Compiling gloo-storage v0.3.0 [INFO] [stderr] Compiling gloo-worker v0.4.0 [INFO] [stderr] Compiling gloo-history v0.2.2 [INFO] [stderr] Compiling gloo-file v0.3.0 [INFO] [stderr] Compiling gloo v0.10.0 [INFO] [stderr] Compiling yew v0.21.0 [INFO] [stderr] Compiling yew-nested-router v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "679a9ebce2edfc6d51a80e10934055c7b3426b36a8f508de3dd48876e8a86190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679a9ebce2edfc6d51a80e10934055c7b3426b36a8f508de3dd48876e8a86190", kill_on_drop: false }` [INFO] [stdout] 679a9ebce2edfc6d51a80e10934055c7b3426b36a8f508de3dd48876e8a86190 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 125580b02dceca0acc97975a9f074f715c8c9841fbbb21634643d182c5472a71 [INFO] running `Command { std: "docker" "start" "-a" "125580b02dceca0acc97975a9f074f715c8c9841fbbb21634643d182c5472a71", kill_on_drop: false }` [INFO] [stderr] Compiling yew-nested-router v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/example1.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 60 | fn test_default_inherit() { [INFO] [stdout] | ------------------------- move the `impl` block outside of this function `test_default_inherit` [INFO] [stdout] ... [INFO] [stdout] 74 | impl Default for DetailsSection { [INFO] [stdout] | ^^^^^-------^^^^^-------------- [INFO] [stdout] | | | [INFO] [stdout] | | `DetailsSection` is not local [INFO] [stdout] | `Default` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.62s [INFO] running `Command { std: "docker" "inspect" "125580b02dceca0acc97975a9f074f715c8c9841fbbb21634643d182c5472a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "125580b02dceca0acc97975a9f074f715c8c9841fbbb21634643d182c5472a71", kill_on_drop: false }` [INFO] [stdout] 125580b02dceca0acc97975a9f074f715c8c9841fbbb21634643d182c5472a71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a0674bfb55323ac1efa09b90feb8eaf0f86c391ee1a1c77ccaa02e66db7d648 [INFO] running `Command { std: "docker" "start" "-a" "1a0674bfb55323ac1efa09b90feb8eaf0f86c391ee1a1c77ccaa02e66db7d648", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/example1.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 60 | fn test_default_inherit() { [INFO] [stderr] | ------------------------- move the `impl` block outside of this function `test_default_inherit` [INFO] [stderr] ... [INFO] [stderr] 74 | impl Default for DetailsSection { [INFO] [stderr] | ^^^^^-------^^^^^-------------- [INFO] [stderr] | | | [INFO] [stderr] | | `DetailsSection` is not local [INFO] [stderr] | `Default` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `yew-nested-router` (test "example1") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yew_nested_router-9689312e8feb4897) [INFO] [stdout] [INFO] [stderr] Running tests/example1.rs (/opt/rustwide/target/debug/deps/example1-d40a41ba1b997136) [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 test_default_explicit ... ok [INFO] [stdout] test test_default_inherit ... ok [INFO] [stderr] Running tests/example2.rs (/opt/rustwide/target/debug/deps/example2-3f80dce4f6d428d4) [INFO] [stdout] test test1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests yew_nested_router [INFO] [stdout] test test_names ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: DefId(0:0 ~ yew_nested_router[59e7]) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name yew_nested_router --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern gloo_events=/opt/rustwide/target/debug/deps/libgloo_events-3e1697ca82d6f06c.rlib --extern gloo_utils=/opt/rustwide/target/debug/deps/libgloo_utils-2580894fa0a59572.rlib --extern js_sys=/opt/rustwide/target/debug/deps/libjs_sys-f61106fbb2398361.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-5fb51f756c1191b0.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-d7ed78604d7d7556.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-f748e2fc8157c362.rlib --extern urlencoding=/opt/rustwide/target/debug/deps/liburlencoding-2e57689ab08a86e0.rlib --extern wasm_bindgen=/opt/rustwide/target/debug/deps/libwasm_bindgen-8be230f503f1247b.rlib --extern web_sys=/opt/rustwide/target/debug/deps/libweb_sys-3b08eb094d878e19.rlib --extern yew=/opt/rustwide/target/debug/deps/libyew-a5a0703d3eed38b4.rlib --extern yew_nested_router=/opt/rustwide/target/debug/deps/libyew_nested_router-856e2a87585c8603.rlib --extern yew_nested_router_macros=/opt/rustwide/target/debug/deps/libyew_nested_router_macros-75694b56c25839a8.so -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "1a0674bfb55323ac1efa09b90feb8eaf0f86c391ee1a1c77ccaa02e66db7d648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a0674bfb55323ac1efa09b90feb8eaf0f86c391ee1a1c77ccaa02e66db7d648", kill_on_drop: false }` [INFO] [stdout] 1a0674bfb55323ac1efa09b90feb8eaf0f86c391ee1a1c77ccaa02e66db7d648