[INFO] fetching crate include_js_codegen 0.1.0... [INFO] testing include_js_codegen-0.1.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate include_js_codegen 0.1.0 into /workspace/builds/worker-31/source [INFO] validating manifest of crates.io crate include_js_codegen 0.1.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate include_js_codegen 0.1.0 [INFO] finished tweaking crates.io crate include_js_codegen 0.1.0 [INFO] tweaked toml for crates.io crate include_js_codegen 0.1.0 written to /workspace/builds/worker-31/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28b032429af1049a436e7b77dbe4c1cfed47f1f7911da28a5c3becf15484bf60 [INFO] running `Command { std: "docker" "start" "-a" "28b032429af1049a436e7b77dbe4c1cfed47f1f7911da28a5c3becf15484bf60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28b032429af1049a436e7b77dbe4c1cfed47f1f7911da28a5c3becf15484bf60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28b032429af1049a436e7b77dbe4c1cfed47f1f7911da28a5c3becf15484bf60", kill_on_drop: false }` [INFO] [stdout] 28b032429af1049a436e7b77dbe4c1cfed47f1f7911da28a5c3becf15484bf60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fe34dbdba266a0f74e42314016c53cbece5b7f573eac2c04a6c9055db298329 [INFO] running `Command { std: "docker" "start" "-a" "3fe34dbdba266a0f74e42314016c53cbece5b7f573eac2c04a6c9055db298329", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling unicode-general-category v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling ryu-js v0.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling gc_derive v0.3.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling gc v0.3.6 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling boa_unicode v0.11.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling regress v0.2.0 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling Boa v0.11.0 [INFO] [stderr] Compiling include_js_codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `attr_name` [INFO] [stdout] --> src/template.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(super) attr_name: kw::template, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `eq` [INFO] [stdout] --> src/template.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) eq: Token![=], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.81s [INFO] running `Command { std: "docker" "inspect" "3fe34dbdba266a0f74e42314016c53cbece5b7f573eac2c04a6c9055db298329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe34dbdba266a0f74e42314016c53cbece5b7f573eac2c04a6c9055db298329", kill_on_drop: false }` [INFO] [stdout] 3fe34dbdba266a0f74e42314016c53cbece5b7f573eac2c04a6c9055db298329 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88493413d971c798cfe75a8bb01e0090678a8388f5b750f695285908ca542f79 [INFO] running `Command { std: "docker" "start" "-a" "88493413d971c798cfe75a8bb01e0090678a8388f5b750f695285908ca542f79", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `attr_name` [INFO] [stdout] --> src/template.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(super) attr_name: kw::template, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `eq` [INFO] [stdout] --> src/template.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) eq: Token![=], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling include_js_core v0.1.1 [INFO] [stderr] Compiling include_js_codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `attr_name` [INFO] [stdout] --> src/template.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(super) attr_name: kw::template, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `eq` [INFO] [stdout] --> src/template.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) eq: Token![=], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.43s [INFO] running `Command { std: "docker" "inspect" "88493413d971c798cfe75a8bb01e0090678a8388f5b750f695285908ca542f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88493413d971c798cfe75a8bb01e0090678a8388f5b750f695285908ca542f79", kill_on_drop: false }` [INFO] [stdout] 88493413d971c798cfe75a8bb01e0090678a8388f5b750f695285908ca542f79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3cfd2aa26987af3b91c4b04dbb06e17c64aa20b7008ef4e5f0b0b883c3e82c9e [INFO] running `Command { std: "docker" "start" "-a" "3cfd2aa26987af3b91c4b04dbb06e17c64aa20b7008ef4e5f0b0b883c3e82c9e", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `attr_name` [INFO] [stderr] --> src/template.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub(super) attr_name: kw::template, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `eq` [INFO] [stderr] --> src/template.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub(super) eq: Token![=], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `include_js_codegen` (lib) generated 2 warnings [INFO] [stderr] warning: `include_js_codegen` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/include_js_codegen-a616ff7829dfee19) [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] [stderr] error: test failed, to rerun pass '--doc' [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 imports `include_js`, `include_js::JSStr` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 3 | use include_js::{JSStr, include_js}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `include_js` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `include_js` [INFO] [stdout] --> src/lib.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 5 | const JS: &JSStr = include_js!("src/js/some_script.js"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JSStr` in this scope [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 5 | const JS: &JSStr = include_js!("src/js/some_script.js"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use include_js_core::JSStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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 undeclared crate or module `include_js` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JSTemplate` [INFO] [stdout] --> src/lib.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(JSTemplate)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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 [INFO] [stdout] ... [INFO] [stdout] 21 | }.render_template(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `MoveWindowCommand` [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 4 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.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3cfd2aa26987af3b91c4b04dbb06e17c64aa20b7008ef4e5f0b0b883c3e82c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cfd2aa26987af3b91c4b04dbb06e17c64aa20b7008ef4e5f0b0b883c3e82c9e", kill_on_drop: false }` [INFO] [stdout] 3cfd2aa26987af3b91c4b04dbb06e17c64aa20b7008ef4e5f0b0b883c3e82c9e