[INFO] fetching crate weft-erased 0.1.2... [INFO] checking weft-erased-0.1.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate weft-erased 0.1.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate weft-erased 0.1.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate weft-erased 0.1.2 [INFO] finished tweaking crates.io crate weft-erased 0.1.2 [INFO] tweaked toml for crates.io crate weft-erased 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding cssparser v0.27.2 (available: v0.34.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.5) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding html5ever v0.25.2 (available: v0.29.0) [INFO] [stderr] Adding html5ever v0.26.0 (available: v0.29.0) [INFO] [stderr] Adding itoa v0.4.8 (available: v1.0.11) [INFO] [stderr] Adding markup5ever v0.10.1 (available: v0.14.0) [INFO] [stderr] Adding markup5ever v0.11.0 (available: v0.14.0) [INFO] [stderr] Adding phf v0.8.0 (available: v0.11.2) [INFO] [stderr] Adding phf v0.10.1 (available: v0.11.2) [INFO] [stderr] Adding phf_codegen v0.8.0 (available: v0.11.2) [INFO] [stderr] Adding phf_codegen v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding phf_generator v0.8.0 (available: v0.11.2) [INFO] [stderr] Adding phf_generator v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding phf_macros v0.8.0 (available: v0.11.2) [INFO] [stderr] Adding phf_shared v0.8.0 (available: v0.11.2) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding rand_pcg v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding selectors v0.22.0 (available: v0.25.0) [INFO] [stderr] Adding servo_arc v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded weft v0.1.2 [INFO] [stderr] Downloaded weft_derive v0.1.2 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a77828f306065f226faffa8ff1f3c3ca99f4f6213890459e66b4d8875a5e646 [INFO] running `Command { std: "docker" "start" "-a" "8a77828f306065f226faffa8ff1f3c3ca99f4f6213890459e66b4d8875a5e646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a77828f306065f226faffa8ff1f3c3ca99f4f6213890459e66b4d8875a5e646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a77828f306065f226faffa8ff1f3c3ca99f4f6213890459e66b4d8875a5e646", kill_on_drop: false }` [INFO] [stdout] 8a77828f306065f226faffa8ff1f3c3ca99f4f6213890459e66b4d8875a5e646 [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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0a065dec218c509a0a4d248094d3c5129c5f2d2293443548af255fed1bf6ea4 [INFO] running `Command { std: "docker" "start" "-a" "b0a065dec218c509a0a4d248094d3c5129c5f2d2293443548af255fed1bf6ea4", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling kuchiki v0.8.1 [INFO] [stderr] Compiling weft_derive v0.1.2 [INFO] [stderr] Checking weft v0.1.2 [INFO] [stderr] Checking weft-erased v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/erased.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(WeftRenderable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Error: Parsing template from path "/opt/rustwide/workdir/../weft/tests/content.html" [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::with_context [INFO] [stdout] 2: weft_derive::parse_path [INFO] [stdout] 3: weft_derive::TemplateDerivation::load [INFO] [stdout] 4: weft_derive::make_template [INFO] [stdout] 5: weft_derive::derive_template [INFO] [stdout] 6: core::ops::function::Fn::call [INFO] [stdout] 7: proc_macro::bridge::client::Client::expand1::{{closure}}::{{closure}} [INFO] [stdout] 8: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] 9: proc_macro::bridge::client::state::set [INFO] [stdout] 10: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] 11: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] 12: std::panicking::try::do_call [INFO] [stdout] 13: __rust_try [INFO] [stdout] 14: proc_macro::bridge::client::run_client [INFO] [stdout] 15: proc_macro::bridge::client::Client::expand1::{{closure}} [INFO] [stdout] 16: proc_macro::bridge::selfless_reify::reify_to_extern_c_fn_hrt_bridge::wrapper [INFO] [stdout] 17: > as proc_macro::bridge::server::ExecutionStrategy>::run_bridge_and_client::>> [INFO] [stdout] 18: >::run::>> [INFO] [stdout] 19: ::expand [INFO] [stdout] 20: ::fully_expand_fragment [INFO] [stdout] 21: ::expand_crate [INFO] [stdout] 22: rustc_interface::passes::resolver_for_lowering_raw [INFO] [stdout] 23: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> [INFO] [stdout] 24: >::call_once [INFO] [stdout] 25: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false> [INFO] [stdout] 26: rustc_query_impl::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace [INFO] [stdout] 27: rustc_interface::interface::run_compiler::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} [INFO] [stdout] 28: std::sys::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> [INFO] [stdout] 29: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 30: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] 31: [INFO] [stdout] 32: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/erased.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(WeftRenderable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Error: Parsing template from path "/opt/rustwide/workdir/../weft/tests/content.html" [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::with_context [INFO] [stdout] 2: weft_derive::parse_path [INFO] [stdout] 3: weft_derive::TemplateDerivation::load [INFO] [stdout] 4: weft_derive::make_template [INFO] [stdout] 5: weft_derive::derive_template [INFO] [stdout] 6: core::ops::function::Fn::call [INFO] [stdout] 7: proc_macro::bridge::client::Client::expand1::{{closure}}::{{closure}} [INFO] [stdout] 8: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] 9: proc_macro::bridge::client::state::set [INFO] [stdout] 10: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] 11: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] 12: std::panicking::try::do_call [INFO] [stdout] 13: __rust_try [INFO] [stdout] 14: proc_macro::bridge::client::run_client [INFO] [stdout] 15: proc_macro::bridge::client::Client::expand1::{{closure}} [INFO] [stdout] 16: proc_macro::bridge::selfless_reify::reify_to_extern_c_fn_hrt_bridge::wrapper [INFO] [stdout] 17: > as proc_macro::bridge::server::ExecutionStrategy>::run_bridge_and_client::>> [INFO] [stdout] 18: >::run::>> [INFO] [stdout] 19: ::expand [INFO] [stdout] 20: ::fully_expand_fragment [INFO] [stdout] 21: ::expand_crate [INFO] [stdout] 22: rustc_interface::passes::resolver_for_lowering_raw [INFO] [stdout] 23: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> [INFO] [stdout] 24: >::call_once [INFO] [stdout] 25: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false> [INFO] [stdout] 26: rustc_query_impl::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace [INFO] [stdout] 27: rustc_interface::interface::run_compiler::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} [INFO] [stdout] 28: std::sys::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> [INFO] [stdout] 29: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 30: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] 31: [INFO] [stdout] 32: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `WithBoxedContent: WeftRenderable` is not satisfied [INFO] [stdout] --> tests/erased.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | let s = weft::render_to_string(view).expect("render_to_string"); [INFO] [stdout] | ---------------------- ^^^^ the trait `WeftRenderable` is not implemented for `WithBoxedContent` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `WeftRenderable`: [INFO] [stdout] &'a R [INFO] [stdout] &'a str [INFO] [stdout] (dyn ErasedRenderable + 'static) [INFO] [stdout] Displayer<'a, D> [INFO] [stdout] String [INFO] [stdout] weft_erased::template::FnRenderer [INFO] [stdout] note: required by a bound in `render_to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/weft-0.1.2/src/template.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn render_to_string(widget: R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `render_to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `WithPolyContent>: WeftRenderable` is not satisfied [INFO] [stdout] --> tests/erased.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | let s = weft::render_to_string(view).expect("render_to_string"); [INFO] [stdout] | ---------------------- ^^^^ the trait `WeftRenderable` is not implemented for `WithPolyContent>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `WeftRenderable`: [INFO] [stdout] &'a R [INFO] [stdout] &'a str [INFO] [stdout] (dyn ErasedRenderable + 'static) [INFO] [stdout] Displayer<'a, D> [INFO] [stdout] String [INFO] [stdout] weft_erased::template::FnRenderer [INFO] [stdout] note: required by a bound in `render_to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/weft-0.1.2/src/template.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn render_to_string(widget: R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `render_to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `weft-erased` (test "erased") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "b0a065dec218c509a0a4d248094d3c5129c5f2d2293443548af255fed1bf6ea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a065dec218c509a0a4d248094d3c5129c5f2d2293443548af255fed1bf6ea4", kill_on_drop: false }` [INFO] [stdout] b0a065dec218c509a0a4d248094d3c5129c5f2d2293443548af255fed1bf6ea4