[INFO] cloning repository https://github.com/JacobZwang/yew-todo-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JacobZwang/yew-todo-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobZwang%2Fyew-todo-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobZwang%2Fyew-todo-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d720a39d9b18e7abe42686310a16d7448eb86270 [INFO] documenting JacobZwang/yew-todo-app against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobZwang%2Fyew-todo-app" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JacobZwang/yew-todo-app on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JacobZwang/yew-todo-app [INFO] finished tweaking git repo https://github.com/JacobZwang/yew-todo-app [INFO] tweaked toml for git repo https://github.com/JacobZwang/yew-todo-app written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/JacobZwang/yew-todo-app already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4743182016e1bb04b6ec1e26706ce0fa421c07d0009fd3e83b8d67dfe13ec516 [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" "4743182016e1bb04b6ec1e26706ce0fa421c07d0009fd3e83b8d67dfe13ec516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4743182016e1bb04b6ec1e26706ce0fa421c07d0009fd3e83b8d67dfe13ec516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4743182016e1bb04b6ec1e26706ce0fa421c07d0009fd3e83b8d67dfe13ec516", kill_on_drop: false }` [INFO] [stdout] 4743182016e1bb04b6ec1e26706ce0fa421c07d0009fd3e83b8d67dfe13ec516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cafb694b626c96dd406bb3b9652fe264e6b9ee0851e7b39cacaee7430426fbdf [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" "cafb694b626c96dd406bb3b9652fe264e6b9ee0851e7b39cacaee7430426fbdf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.64 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Compiling yew v0.17.2 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling yew-macro v0.17.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking js-sys v0.3.41 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking web-sys v0.3.41 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.14 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Documenting todo_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: only one root html element is allowed (hint: you can wrap multiple html elements in a fragment `<>`) [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | /
[INFO] [stdout] 36 | | [INFO] [stdout] 37 | |
[INFO] [stdout] 38 | |
[INFO] [stdout] 39 | | [INFO] [stdout] 41 | |
[INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/main.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | fn update(_: &mut Context, model: &mut Model, msg: Msg) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 4 | use yew::worker::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `todo_app`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name todo_app src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern yew=/opt/rustwide/target/debug/deps/libyew-453e8bdafcca5941.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "cafb694b626c96dd406bb3b9652fe264e6b9ee0851e7b39cacaee7430426fbdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cafb694b626c96dd406bb3b9652fe264e6b9ee0851e7b39cacaee7430426fbdf", kill_on_drop: false }` [INFO] [stdout] cafb694b626c96dd406bb3b9652fe264e6b9ee0851e7b39cacaee7430426fbdf