[INFO] cloning repository https://github.com/mohe2015/zero-cost-templating [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mohe2015/zero-cost-templating" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohe2015%2Fzero-cost-templating", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohe2015%2Fzero-cost-templating'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b920cb41e523231cbe4002330e831dd9f4d4979c [INFO] checking mohe2015/zero-cost-templating against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohe2015%2Fzero-cost-templating" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mohe2015/zero-cost-templating on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/mohe2015/zero-cost-templating [INFO] finished tweaking git repo https://github.com/mohe2015/zero-cost-templating [INFO] tweaked toml for git repo https://github.com/mohe2015/zero-cost-templating written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mohe2015/zero-cost-templating 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mohe2015/syn.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/mohe2015/trybuild.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iai-callgrind-macros v0.1.0 [INFO] [stderr] Downloaded iai-callgrind-runner v0.8.0 [INFO] [stderr] Downloaded iai-callgrind v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5621aedf5dee1173e8817167e5e58be2270861dc1e761c947356ea634d2d5c18 [INFO] running `Command { std: "docker" "start" "-a" "5621aedf5dee1173e8817167e5e58be2270861dc1e761c947356ea634d2d5c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5621aedf5dee1173e8817167e5e58be2270861dc1e761c947356ea634d2d5c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5621aedf5dee1173e8817167e5e58be2270861dc1e761c947356ea634d2d5c18", kill_on_drop: false }` [INFO] [stdout] 5621aedf5dee1173e8817167e5e58be2270861dc1e761c947356ea634d2d5c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c39fa7c1680bfb5c2c5e94f3ca3a899c00ad923fecb993e1ee2b537d19594e4 [INFO] running `Command { std: "docker" "start" "-a" "8c39fa7c1680bfb5c2c5e94f3ca3a899c00ad923fecb993e1ee2b537d19594e4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling syn v2.0.41 (https://github.com/mohe2015/syn.git?branch=gen#2a7a721f) [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling trybuild v1.0.85 (https://github.com/mohe2015/trybuild.git?branch=edition-2024#ee0a5625) [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling iai-callgrind-macros v0.1.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking zero-cost-templating-lib v0.1.0 (/opt/rustwide/workdir/zero-cost-templating-lib) [INFO] [stderr] Checking zero-cost-templating-macros v0.1.0 (/opt/rustwide/workdir/zero-cost-templating-macros) [INFO] [stderr] Checking zero-cost-templating v0.1.0 (/opt/rustwide/workdir/zero-cost-templating) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> zero-cost-templating/src/bin/simple.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[template_stream("templates")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tp` in this scope [INFO] [stdout] --> zero-cost-templating/src/bin/simple.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn inner(template: Tp) -> After { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tpg_partial_block2` in this scope [INFO] [stdout] --> zero-cost-templating/src/bin/simple.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn inner(template: Tp) -> After { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn inner(template: Tp) -> After { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found attribute macro `test` [INFO] [stdout] --> zero-cost-templating/src/bin/simple.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | let stream = TheStream::new(test); [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Pin<&mut _>` [INFO] [stdout] --> zero-cost-templating/src/bin/simple.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut stream = pin!(stream); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | let mut stdout = std::io::stdout().lock(); [INFO] [stdout] 52 | while let Some(element) = stream.next().await { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `stream` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 50 | let mut stream: Pin<&mut _> = pin!(stream); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> zero-cost-templating/src/bin/simple.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | while let Some(element) = stream.next().await { [INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> zero-cost-templating/src/bin/simple.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | while let Some(element) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> zero-cost-templating/src/bin/simple.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | while let Some(element) = stream.next().await { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:571:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0412, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zero-cost-templating` (bin "simple") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8c39fa7c1680bfb5c2c5e94f3ca3a899c00ad923fecb993e1ee2b537d19594e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c39fa7c1680bfb5c2c5e94f3ca3a899c00ad923fecb993e1ee2b537d19594e4", kill_on_drop: false }` [INFO] [stdout] 8c39fa7c1680bfb5c2c5e94f3ca3a899c00ad923fecb993e1ee2b537d19594e4