[INFO] [stdout] | |______________^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `proc_macro_call_0` which comes from the expansion of the macro `html` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[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] 40 | |
[INFO] [stdout] 41 | |
[INFO] [stdout] | |______________^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `proc_macro_call_0` which comes from the expansion of the macro `html` (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[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[E0107]: type alias takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout] --> src/main.rs:29:27
[INFO] [stdout] |
[INFO] [stdout] 29 | fn view(model: &Model) -> Html {
[INFO] [stdout] | ^^^^----- help: remove these generics
[INFO] [stdout] | |
[INFO] [stdout] | expected 0 generic arguments
[INFO] [stdout] |
[INFO] [stdout] note: type alias defined here, with 0 generic parameters
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/yew-0.17.2/src/html/mod.rs:131:10
[INFO] [stdout] |
[INFO] [stdout] 131 | pub type Html = VNode;
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0107]: type alias takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout] --> src/main.rs:29:27
[INFO] [stdout] |
[INFO] [stdout] 29 | fn view(model: &Model) -> Html {
[INFO] [stdout] | ^^^^----- help: remove these generics
[INFO] [stdout] | |
[INFO] [stdout] | expected 0 generic arguments
[INFO] [stdout] |
[INFO] [stdout] note: type alias defined here, with 0 generic parameters
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/yew-0.17.2/src/html/mod.rs:131:10
[INFO] [stdout] |
[INFO] [stdout] 131 | pub type Html = VNode;
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `program` in this scope
[INFO] [stdout] --> src/main.rs:50:5
[INFO] [stdout] |
[INFO] [stdout] 50 | program(model, update, view);
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `program` in this scope
[INFO] [stdout] --> src/main.rs:50:5
[INFO] [stdout] |
[INFO] [stdout] 50 | program(model, update, view);
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `todo_app` (bin "todo_app") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `todo_app` (bin "todo_app" test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "8d4ee40632dce48e62ba8858ed889d6cb038b2143d21fdce853cf426f8da7787", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d4ee40632dce48e62ba8858ed889d6cb038b2143d21fdce853cf426f8da7787", kill_on_drop: false }`
[INFO] [stdout] 8d4ee40632dce48e62ba8858ed889d6cb038b2143d21fdce853cf426f8da7787
[INFO] checking JacobZwang/yew-todo-app against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobZwang%2Fyew-todo-app" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JacobZwang/yew-todo-app on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6fe2309f304528c258b13d6db09698f5d3f7b390ef7a21441d2f1996d5cc08c7
[INFO] running `Command { std: "docker" "start" "-a" "6fe2309f304528c258b13d6db09698f5d3f7b390ef7a21441d2f1996d5cc08c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6fe2309f304528c258b13d6db09698f5d3f7b390ef7a21441d2f1996d5cc08c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fe2309f304528c258b13d6db09698f5d3f7b390ef7a21441d2f1996d5cc08c7", kill_on_drop: false }`
[INFO] [stdout] 6fe2309f304528c258b13d6db09698f5d3f7b390ef7a21441d2f1996d5cc08c7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5083614c7a489a9d9a5929394ce452100464d9f7babbe49776649e8ccef012b
[INFO] running `Command { std: "docker" "start" "-a" "c5083614c7a489a9d9a5929394ce452100464d9f7babbe49776649e8ccef012b", kill_on_drop: false }`
[INFO] [stderr] Copying to /tmp/fixit
[INFO] [stderr] skipping non-2021 edition `2018`
[INFO] running `Command { std: "docker" "inspect" "c5083614c7a489a9d9a5929394ce452100464d9f7babbe49776649e8ccef012b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5083614c7a489a9d9a5929394ce452100464d9f7babbe49776649e8ccef012b", kill_on_drop: false }`
[INFO] [stdout] c5083614c7a489a9d9a5929394ce452100464d9f7babbe49776649e8ccef012b