[INFO] cloning repository https://github.com/YannikSc/askama_embed_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YannikSc/askama_embed_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYannikSc%2Faskama_embed_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYannikSc%2Faskama_embed_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98922511ff2e949f54f7e524b356f3aaedc56de7 [INFO] testing YannikSc/askama_embed_example against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYannikSc%2Faskama_embed_example" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/YannikSc/askama_embed_example [INFO] finished tweaking git repo https://github.com/YannikSc/askama_embed_example [INFO] tweaked toml for git repo https://github.com/YannikSc/askama_embed_example written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YannikSc/askama_embed_example on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/YannikSc/askama_embed_example 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/YannikSc/askama.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v1.11.1 [INFO] [stderr] Downloaded humansize v2.1.3 [INFO] [stderr] Downloaded serde_derive v1.0.189 [INFO] [stderr] Downloaded basic-toml v0.1.4 [INFO] [stderr] Downloaded serde v1.0.189 [INFO] [stderr] Downloaded serde_json v1.0.107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cd2d04cb779941f463903b2460ff2fab0aa3d61553e7904867f050430cbe5e1 [INFO] running `Command { std: "docker" "start" "-a" "0cd2d04cb779941f463903b2460ff2fab0aa3d61553e7904867f050430cbe5e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cd2d04cb779941f463903b2460ff2fab0aa3d61553e7904867f050430cbe5e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd2d04cb779941f463903b2460ff2fab0aa3d61553e7904867f050430cbe5e1", kill_on_drop: false }` [INFO] [stdout] 0cd2d04cb779941f463903b2460ff2fab0aa3d61553e7904867f050430cbe5e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28c0beb140a5999a2c4f07a4d94b3056343fe9e11b19f4b2e94f226a0a118298 [INFO] running `Command { std: "docker" "start" "-a" "28c0beb140a5999a2c4f07a4d94b3056343fe9e11b19f4b2e94f226a0a118298", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling askama_escape v0.10.3 (https://github.com/YannikSc/askama.git?branch=feature%2Fembed_block#693ad68a) [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling askama_parser v0.1.1 (https://github.com/YannikSc/askama.git?branch=feature%2Fembed_block#693ad68a) [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling basic-toml v0.1.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling askama_derive v0.12.2 (https://github.com/YannikSc/askama.git?branch=feature%2Fembed_block#693ad68a) [INFO] [stderr] Compiling askama v0.12.1 (https://github.com/YannikSc/askama.git?branch=feature%2Fembed_block#693ad68a) [INFO] [stderr] Compiling askama_embed_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: extend blocks only allowed at the top level [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(askama::Template)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `askama::Template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(askama::Template)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: no entry found for key [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NoEmbed: Template` is not satisfied [INFO] [stdout] --> src/main.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | async fn usual_inheritence() -> impl IntoResponse { [INFO] [stdout] | ___________________________________________________- [INFO] [stdout] 14 | | HtmlTemplate(NoEmbed) [INFO] [stdout] 15 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unsatisfied trait bound [INFO] [stdout] | return type was inferred to be `HtmlTemplate` here [INFO] [stdout] | [INFO] [stdout] help: the trait `Template` is not implemented for `NoEmbed` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct NoEmbed; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `IntoResponse` is implemented for `HtmlTemplate<T>` [INFO] [stdout] note: required for `HtmlTemplate<NoEmbed>` to implement `IntoResponse` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | impl<T> IntoResponse for HtmlTemplate<T> [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: Template, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NoEmbed: Template` is not satisfied [INFO] [stdout] --> src/main.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | async fn usual_inheritence() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Template` is not implemented for `NoEmbed` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct NoEmbed; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `IntoResponse` is implemented for `HtmlTemplate<T>` [INFO] [stdout] note: required for `HtmlTemplate<NoEmbed>` to implement `IntoResponse` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | impl<T> IntoResponse for HtmlTemplate<T> [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: Template, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `WithEmbed: Template` is not satisfied [INFO] [stdout] --> src/main.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | async fn embedded_templates() -> impl IntoResponse { [INFO] [stdout] | ____________________________________________________- [INFO] [stdout] 23 | | HtmlTemplate(WithEmbed) [INFO] [stdout] 24 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unsatisfied trait bound [INFO] [stdout] | return type was inferred to be `HtmlTemplate<WithEmbed>` here [INFO] [stdout] | [INFO] [stdout] help: the trait `Template` is not implemented for `WithEmbed` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | struct WithEmbed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `IntoResponse` is implemented for `HtmlTemplate<T>` [INFO] [stdout] note: required for `HtmlTemplate<WithEmbed>` to implement `IntoResponse` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | impl<T> IntoResponse for HtmlTemplate<T> [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: Template, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `WithEmbed: Template` is not satisfied [INFO] [stdout] --> src/main.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | async fn embedded_templates() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Template` is not implemented for `WithEmbed` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | struct WithEmbed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `IntoResponse` is implemented for `HtmlTemplate<T>` [INFO] [stdout] note: required for `HtmlTemplate<WithEmbed>` to implement `IntoResponse` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | impl<T> IntoResponse for HtmlTemplate<T> [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: Template, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `askama_embed_example` (bin "askama_embed_example") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "28c0beb140a5999a2c4f07a4d94b3056343fe9e11b19f4b2e94f226a0a118298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28c0beb140a5999a2c4f07a4d94b3056343fe9e11b19f4b2e94f226a0a118298", kill_on_drop: false }` [INFO] [stdout] 28c0beb140a5999a2c4f07a4d94b3056343fe9e11b19f4b2e94f226a0a118298