[INFO] cloning repository https://github.com/zxytim/rustflask [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zxytim/rustflask" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxytim%2Frustflask", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxytim%2Frustflask'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64d586cfaa3cff11b44049d003b13435dea0263f [INFO] testing zxytim/rustflask against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxytim%2Frustflask" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zxytim/rustflask [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/zxytim/rustflask [INFO] tweaked toml for git repo https://github.com/zxytim/rustflask written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zxytim/rustflask on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zxytim/rustflask 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44502fda722b8e393a7055b9a30c354ad312b9bd531bf86b8e1ee4566f3cb62a [INFO] running `Command { std: "docker" "start" "-a" "44502fda722b8e393a7055b9a30c354ad312b9bd531bf86b8e1ee4566f3cb62a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44502fda722b8e393a7055b9a30c354ad312b9bd531bf86b8e1ee4566f3cb62a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44502fda722b8e393a7055b9a30c354ad312b9bd531bf86b8e1ee4566f3cb62a", kill_on_drop: false }` [INFO] [stdout] 44502fda722b8e393a7055b9a30c354ad312b9bd531bf86b8e1ee4566f3cb62a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3ed44304ad265ef842e5a1ad00fe3f9120b79cb3430edfbf12082e900724297 [INFO] running `Command { std: "docker" "start" "-a" "f3ed44304ad265ef842e5a1ad00fe3f9120b79cb3430edfbf12082e900724297", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rust_flask v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.08s [INFO] running `Command { std: "docker" "inspect" "f3ed44304ad265ef842e5a1ad00fe3f9120b79cb3430edfbf12082e900724297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ed44304ad265ef842e5a1ad00fe3f9120b79cb3430edfbf12082e900724297", kill_on_drop: false }` [INFO] [stdout] f3ed44304ad265ef842e5a1ad00fe3f9120b79cb3430edfbf12082e900724297 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7414871a636b80d0a726d8747f79748f565bbe649b66b5c2d5e98dc64a80631a [INFO] running `Command { std: "docker" "start" "-a" "7414871a636b80d0a726d8747f79748f565bbe649b66b5c2d5e98dc64a80631a", kill_on_drop: false }` [INFO] [stderr] Compiling rust_flask v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Json` and `json_response` [INFO] [stdout] --> examples/enhanced_example.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use rust_flask::{FlaskApp, FlaskConfig, text_response, json_response, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body`, `Method`, `Response`, and `StatusCode` [INFO] [stdout] --> examples/enhanced_example.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::{Method, Response, Body, StatusCode}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::Method` [INFO] [stdout] --> examples/showcase.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Method; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> examples/enhanced_example.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> examples/showcase.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_flask` (example "homepage") due to 4 previous errors [INFO] [stdout] error: prefix `link` is unknown [INFO] [stdout] --> examples/homepage.rs:651:43 [INFO] [stdout] | [INFO] [stdout] 651 | 📚 Documentation [INFO] [stdout] | ^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 651 | 📚 Documentation [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: prefix `link` is unknown [INFO] [stdout] --> examples/homepage.rs:652:43 [INFO] [stdout] | [INFO] [stdout] 652 | 💬 Community [INFO] [stdout] | ^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 652 | 💬 Community [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: prefix `link` is unknown [INFO] [stdout] --> examples/homepage.rs:653:48 [INFO] [stdout] | [INFO] [stdout] 653 | 🔍 Health Status [INFO] [stdout] | ^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 653 | 🔍 Health Status [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected closing delimiter: `}` [INFO] [stdout] --> examples/homepage.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 128 | fn generate_combined_homepage() -> String { [INFO] [stdout] | - the nearest open delimiter [INFO] [stdout] ... [INFO] [stdout] 711 | "#)) [INFO] [stdout] | - missing open `(` for this delimiter [INFO] [stdout] 712 | } [INFO] [stdout] | ^ unexpected closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Method` [INFO] [stdout] --> examples/fancy_showcase.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::{Method, Response, Body}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7414871a636b80d0a726d8747f79748f565bbe649b66b5c2d5e98dc64a80631a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7414871a636b80d0a726d8747f79748f565bbe649b66b5c2d5e98dc64a80631a", kill_on_drop: false }` [INFO] [stdout] 7414871a636b80d0a726d8747f79748f565bbe649b66b5c2d5e98dc64a80631a