[INFO] fetching crate include_js_codegen 0.1.1... [INFO] testing include_js_codegen-0.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate include_js_codegen 0.1.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate include_js_codegen 0.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 96 packages to latest compatible versions [INFO] [stderr] Adding Boa v0.11.0 (available: v0.13.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding handlebars v3.5.5 (available: v6.4.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.117) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b758e3d101520fa93bcb279809cb75be3624f9b9be55c9388bacc242f9cb7b6d [INFO] running `Command { std: "docker" "start" "-a" "b758e3d101520fa93bcb279809cb75be3624f9b9be55c9388bacc242f9cb7b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b758e3d101520fa93bcb279809cb75be3624f9b9be55c9388bacc242f9cb7b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b758e3d101520fa93bcb279809cb75be3624f9b9be55c9388bacc242f9cb7b6d", kill_on_drop: false }` [INFO] [stdout] b758e3d101520fa93bcb279809cb75be3624f9b9be55c9388bacc242f9cb7b6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3145f9012cfe15b45d2b7de1914dd63785faaeab7ae9d4d7ad513d50feb9f0dd [INFO] running `Command { std: "docker" "start" "-a" "3145f9012cfe15b45d2b7de1914dd63785faaeab7ae9d4d7ad513d50feb9f0dd", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-general-category v0.3.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ryu-js v0.2.2 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling boa_unicode v0.11.0 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling gc_derive v0.3.6 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling gc v0.3.6 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling regress v0.2.0 [INFO] [stderr] Compiling rand v0.8.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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.71s [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 3` [INFO] running `Command { std: "docker" "inspect" "3145f9012cfe15b45d2b7de1914dd63785faaeab7ae9d4d7ad513d50feb9f0dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3145f9012cfe15b45d2b7de1914dd63785faaeab7ae9d4d7ad513d50feb9f0dd", kill_on_drop: false }` [INFO] [stdout] 3145f9012cfe15b45d2b7de1914dd63785faaeab7ae9d4d7ad513d50feb9f0dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 818832e9a3f417994ff87797df047ba7f4417c7e3e6a7e698a2022df6011a47f [INFO] running `Command { std: "docker" "start" "-a" "818832e9a3f417994ff87797df047ba7f4417c7e3e6a7e698a2022df6011a47f", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.85s [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 3` [INFO] running `Command { std: "docker" "inspect" "818832e9a3f417994ff87797df047ba7f4417c7e3e6a7e698a2022df6011a47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "818832e9a3f417994ff87797df047ba7f4417c7e3e6a7e698a2022df6011a47f", kill_on_drop: false }` [INFO] [stdout] 818832e9a3f417994ff87797df047ba7f4417c7e3e6a7e698a2022df6011a47f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ac319ca7e7f40048156987d372ef8f57726187cdd84c33a42bfa1b6687bea7bb [INFO] running `Command { std: "docker" "start" "-a" "ac319ca7e7f40048156987d372ef8f57726187cdd84c33a42bfa1b6687bea7bb", 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)]` (part of `#[warn(unused)]`) 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.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 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/include_js_codegen-6381a9e6abc64b87) [INFO] [stdout] [INFO] [stderr] Doc-tests include_js_codegen [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] [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] 36 | 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] 83 | 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] 86 | #[include_js(template = "src/js/move_window.js.handlebars")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `include_js` is an attribute that can be used by the derive macro `JSTemplate`, you might be missing a `derive` attribute [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] 87 | struct MoveWindowCommand { [INFO] [stdout] | ------------------------ method `render_template` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 95 | let js: JSString = MoveWindowCommand { [INFO] [stdout] | ____________________- [INFO] [stdout] 96 | | x: 0, [INFO] [stdout] 97 | | y: 5, [INFO] [stdout] 98 | | width: 100, [INFO] [stdout] 99 | | height: 200, [INFO] [stdout] 100 | | window_class: "org.gnome.Nautilus".to_owned(), [INFO] [stdout] 101 | | }.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.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ac319ca7e7f40048156987d372ef8f57726187cdd84c33a42bfa1b6687bea7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac319ca7e7f40048156987d372ef8f57726187cdd84c33a42bfa1b6687bea7bb", kill_on_drop: false }` [INFO] [stdout] ac319ca7e7f40048156987d372ef8f57726187cdd84c33a42bfa1b6687bea7bb