[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] testing JacobZwang/yew-todo-app against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobZwang%2Fyew-todo-app" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JacobZwang/yew-todo-app on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-11/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0e3d00767c9a58b2de98105e932401e2edfcc98cc68abc5ba3291f542b7211f [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" "b0e3d00767c9a58b2de98105e932401e2edfcc98cc68abc5ba3291f542b7211f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0e3d00767c9a58b2de98105e932401e2edfcc98cc68abc5ba3291f542b7211f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0e3d00767c9a58b2de98105e932401e2edfcc98cc68abc5ba3291f542b7211f", kill_on_drop: false }` [INFO] [stdout] b0e3d00767c9a58b2de98105e932401e2edfcc98cc68abc5ba3291f542b7211f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfc56f76668d8bb3401e346c720037bb2886fe40d1fb6b0f8e1954660ffe61c9 [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" "cfc56f76668d8bb3401e346c720037bb2886fe40d1fb6b0f8e1954660ffe61c9", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling yew-macro v0.17.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling js-sys v0.3.41 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.41 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.14 [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.2 [INFO] [stderr] Compiling 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[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[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/main.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn view(model: &Model) -> Html { [INFO] [stdout] | ^^^ unexpected type argument [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] [stderr] error: could not compile `todo_app`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cfc56f76668d8bb3401e346c720037bb2886fe40d1fb6b0f8e1954660ffe61c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc56f76668d8bb3401e346c720037bb2886fe40d1fb6b0f8e1954660ffe61c9", kill_on_drop: false }` [INFO] [stdout] cfc56f76668d8bb3401e346c720037bb2886fe40d1fb6b0f8e1954660ffe61c9