[INFO] cloning repository https://github.com/krishpranav/fronty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krishpranav/fronty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishpranav%2Ffronty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishpranav%2Ffronty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 518d2596d40e01400c80187393eff092a5ef8b7d [INFO] checking krishpranav/fronty against try#fafe42c59556a4233f03dd0d900b575a9afeece8 for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishpranav%2Ffronty" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/krishpranav/fronty [INFO] finished tweaking git repo https://github.com/krishpranav/fronty [INFO] tweaked toml for git repo https://github.com/krishpranav/fronty written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/krishpranav/fronty on toolchain fafe42c59556a4233f03dd0d900b575a9afeece8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/krishpranav/fronty 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" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95a79facd7ae6ccb728899098a1485f80d687de8d548ea34553bbbda40c37be9 [INFO] running `Command { std: "docker" "start" "-a" "95a79facd7ae6ccb728899098a1485f80d687de8d548ea34553bbbda40c37be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95a79facd7ae6ccb728899098a1485f80d687de8d548ea34553bbbda40c37be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a79facd7ae6ccb728899098a1485f80d687de8d548ea34553bbbda40c37be9", kill_on_drop: false }` [INFO] [stdout] 95a79facd7ae6ccb728899098a1485f80d687de8d548ea34553bbbda40c37be9 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f244c1ea4f81998559ef524ea616820174f3ed082ba2e9ce285542f806063b25 [INFO] running `Command { std: "docker" "start" "-a" "f244c1ea4f81998559ef524ea616820174f3ed082ba2e9ce285542f806063b25", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking fronty v0.1.0 (/opt/rustwide/workdir/fronty) [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> fronty/src/vdom.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) type HandlerFunction = Box Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) type HandlerFunction = Box Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> fronty/src/vdom.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) type HandlerFunction = Box Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) type HandlerFunction = Box Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | Child::View(v.into()) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the enum `Child` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 267 | Child::::View(v.into()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | Child::ViewList(iter.into_iter().collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the enum `Child` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 276 | Child::::ViewList(iter.into_iter().collect()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | View::null() [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the struct `View` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 336 | View::::null() [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | View::text(s) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the struct `View` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 342 | View::::text(s) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | View::text(s.to_owned()) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the struct `View` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 348 | View::::text(s.to_owned()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:357:28 [INFO] [stdout] | [INFO] [stdout] 357 | option.map_or_else(View::null, |v| v.into()) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the struct `View` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 357 | option.map_or_else(View::::null, |v| v.into()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | Child::View(v.into()) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the enum `Child` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 267 | Child::::View(v.into()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | Child::ViewList(iter.into_iter().collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the enum `Child` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 276 | Child::::ViewList(iter.into_iter().collect()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fronty` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | View::null() [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the struct `View` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 336 | View::::null() [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | View::text(s) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the struct `View` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 342 | View::::text(s) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | View::text(s.to_owned()) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the struct `View` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 348 | View::::text(s.to_owned()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> fronty/src/vdom.rs:357:28 [INFO] [stdout] | [INFO] [stdout] 357 | option.map_or_else(View::null, |v| v.into()) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `A` declared on the struct `View` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 357 | option.map_or_else(View::::null, |v| v.into()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fronty` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "f244c1ea4f81998559ef524ea616820174f3ed082ba2e9ce285542f806063b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f244c1ea4f81998559ef524ea616820174f3ed082ba2e9ce285542f806063b25", kill_on_drop: false }` [INFO] [stdout] f244c1ea4f81998559ef524ea616820174f3ed082ba2e9ce285542f806063b25