[INFO] fetching crate include_js_codegen 0.1.1... [INFO] testing include_js_codegen-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate include_js_codegen 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate include_js_codegen 0.1.1 [INFO] finished tweaking crates.io crate include_js_codegen 0.1.1 [INFO] tweaked toml for crates.io crate include_js_codegen 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate include_js_codegen 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 99 packages to latest compatible versions [INFO] [stderr] Adding Boa v0.11.0 (available: v0.13.1) [INFO] [stderr] Adding handlebars v3.5.5 (available: v6.3.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a46d95f17047d0506713074b24fbe7931f80bfaff70aa7edbc69d083216aba8 [INFO] running `Command { std: "docker" "start" "-a" "1a46d95f17047d0506713074b24fbe7931f80bfaff70aa7edbc69d083216aba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a46d95f17047d0506713074b24fbe7931f80bfaff70aa7edbc69d083216aba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a46d95f17047d0506713074b24fbe7931f80bfaff70aa7edbc69d083216aba8", kill_on_drop: false }` [INFO] [stdout] 1a46d95f17047d0506713074b24fbe7931f80bfaff70aa7edbc69d083216aba8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1f8d777db09a4937ebe4396e84fc3cebb77a0fa5b17a065369675f01b69b47d [INFO] running `Command { std: "docker" "start" "-a" "c1f8d777db09a4937ebe4396e84fc3cebb77a0fa5b17a065369675f01b69b47d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling unicode-general-category v0.3.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling ryu-js v0.2.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling boa_unicode v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling gc_derive v0.3.6 [INFO] [stderr] Compiling gc v0.3.6 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling regress v0.2.0 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling Boa v0.11.0 [INFO] [stderr] Compiling include_js_codegen v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `attr_name` and `eq` are never read [INFO] [stdout] --> src/template.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) struct TemplatePathInput { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 8 | pub(super) attr_name: kw::template, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | pub(super) eq: Token![=], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: regress v0.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c1f8d777db09a4937ebe4396e84fc3cebb77a0fa5b17a065369675f01b69b47d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1f8d777db09a4937ebe4396e84fc3cebb77a0fa5b17a065369675f01b69b47d", kill_on_drop: false }` [INFO] [stdout] c1f8d777db09a4937ebe4396e84fc3cebb77a0fa5b17a065369675f01b69b47d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2abdf5fdd76c06c4d96d77efb49c444a5c18d188acfab40dc591748f920d09ad [INFO] running `Command { std: "docker" "start" "-a" "2abdf5fdd76c06c4d96d77efb49c444a5c18d188acfab40dc591748f920d09ad", kill_on_drop: false }` [INFO] [stderr] Compiling include_js_core v0.1.2 [INFO] [stderr] Compiling include_js_codegen v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `attr_name` and `eq` are never read [INFO] [stdout] --> src/template.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) struct TemplatePathInput { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 8 | pub(super) attr_name: kw::template, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | pub(super) eq: Token![=], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attr_name` and `eq` are never read [INFO] [stdout] --> src/template.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) struct TemplatePathInput { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 8 | pub(super) attr_name: kw::template, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | pub(super) eq: Token![=], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: regress v0.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2abdf5fdd76c06c4d96d77efb49c444a5c18d188acfab40dc591748f920d09ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2abdf5fdd76c06c4d96d77efb49c444a5c18d188acfab40dc591748f920d09ad", kill_on_drop: false }` [INFO] [stdout] 2abdf5fdd76c06c4d96d77efb49c444a5c18d188acfab40dc591748f920d09ad [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 380fef52970371dc96e4c317767aec49fa5defd0e58fe14a01e8ba484472e1c0 [INFO] running `Command { std: "docker" "start" "-a" "380fef52970371dc96e4c317767aec49fa5defd0e58fe14a01e8ba484472e1c0", kill_on_drop: false }` [INFO] [stderr] warning: fields `attr_name` and `eq` are never read [INFO] [stderr] --> src/template.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 7 | pub(super) struct TemplatePathInput { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 8 | pub(super) attr_name: kw::template, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 9 | pub(super) eq: Token![=], [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `include_js_codegen` (lib) generated 1 warning [INFO] [stderr] warning: `include_js_codegen` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: regress v0.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/include_js_codegen-e3c297d7e90389a7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests include_js_codegen [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - include_js (line 35) - compile ... FAILED [INFO] [stdout] test src/lib.rs - derive_js_template (line 82) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - include_js (line 35) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `include_js` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 3 | use include_js::{JSStr, include_js}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `include_js` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `include_js`, use `cargo add include_js` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_js_template (line 82) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `include_js` [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 3 | use include_js::{JSString, JSTemplate}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `include_js` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `include_js`, use `cargo add include_js` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `include_js` in this scope [INFO] [stdout] --> src/lib.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[include_js(template = "src/js/move_window.js.handlebars")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_template` found for struct `MoveWindowCommand` in the current scope [INFO] [stdout] --> src/lib.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 7 | struct MoveWindowCommand { [INFO] [stdout] | ------------------------ method `render_template` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | let js: JSString = MoveWindowCommand { [INFO] [stdout] | ____________________- [INFO] [stdout] 16 | | x: 0, [INFO] [stdout] 17 | | y: 5, [INFO] [stdout] 18 | | width: 100, [INFO] [stdout] 19 | | height: 200, [INFO] [stdout] 20 | | window_class: "org.gnome.Nautilus".to_owned(), [INFO] [stdout] 21 | | }.render_template(); [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `MoveWindowCommand` [INFO] [stdout] | |__| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `render_template`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `include_js_core::JSTemplate` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_js_template (line 82) [INFO] [stdout] src/lib.rs - include_js (line 35) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "380fef52970371dc96e4c317767aec49fa5defd0e58fe14a01e8ba484472e1c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "380fef52970371dc96e4c317767aec49fa5defd0e58fe14a01e8ba484472e1c0", kill_on_drop: false }` [INFO] [stdout] 380fef52970371dc96e4c317767aec49fa5defd0e58fe14a01e8ba484472e1c0