[INFO] fetching crate include_js_codegen 0.1.0... [INFO] testing include_js_codegen-0.1.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate include_js_codegen 0.1.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate include_js_codegen 0.1.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddc3b3fceaf6213e36b85cc114428daa2d6ce2ce7add04d831e29092c482c421 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ddc3b3fceaf6213e36b85cc114428daa2d6ce2ce7add04d831e29092c482c421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddc3b3fceaf6213e36b85cc114428daa2d6ce2ce7add04d831e29092c482c421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddc3b3fceaf6213e36b85cc114428daa2d6ce2ce7add04d831e29092c482c421", kill_on_drop: false }` [INFO] [stdout] ddc3b3fceaf6213e36b85cc114428daa2d6ce2ce7add04d831e29092c482c421 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fe7a698ce30f885ee693ae398419f13a9731b894f75b367a2de41beca5870cf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0fe7a698ce30f885ee693ae398419f13a9731b894f75b367a2de41beca5870cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-general-category v0.3.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu-js v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling log v0.4.14 [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 indexmap v1.6.2 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling boa_unicode v0.11.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling gc_derive v0.3.6 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling gc v0.3.6 [INFO] [stderr] Compiling structopt v0.3.21 [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 47.68s [INFO] running `Command { std: "docker" "inspect" "0fe7a698ce30f885ee693ae398419f13a9731b894f75b367a2de41beca5870cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fe7a698ce30f885ee693ae398419f13a9731b894f75b367a2de41beca5870cf", kill_on_drop: false }` [INFO] [stdout] 0fe7a698ce30f885ee693ae398419f13a9731b894f75b367a2de41beca5870cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45687a06a9e7def0c42f5567e3d8aac76b47edf71e9b04bc205a053e3f40aa6a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "45687a06a9e7def0c42f5567e3d8aac76b47edf71e9b04bc205a053e3f40aa6a", kill_on_drop: false }` [INFO] [stderr] Compiling include_js_core v0.1.1 [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_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 1.00s [INFO] running `Command { std: "docker" "inspect" "45687a06a9e7def0c42f5567e3d8aac76b47edf71e9b04bc205a053e3f40aa6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45687a06a9e7def0c42f5567e3d8aac76b47edf71e9b04bc205a053e3f40aa6a", kill_on_drop: false }` [INFO] [stdout] 45687a06a9e7def0c42f5567e3d8aac76b47edf71e9b04bc205a053e3f40aa6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab2a724ce1ce079f398fbcb6e38456c375030e459469b06d66d200fa3320bb5b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ab2a724ce1ce079f398fbcb6e38456c375030e459469b06d66d200fa3320bb5b", 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: 2 warnings emitted [INFO] [stderr] [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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/include_js_codegen-f1dfa1d84a432a62) [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) ... FAILED [INFO] [stdout] test src/lib.rs - derive_js_template (line 82) ... 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] = note: consider importing this macro: [INFO] [stdout] include_js_codegen::include_js [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.24s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ab2a724ce1ce079f398fbcb6e38456c375030e459469b06d66d200fa3320bb5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2a724ce1ce079f398fbcb6e38456c375030e459469b06d66d200fa3320bb5b", kill_on_drop: false }` [INFO] [stdout] ab2a724ce1ce079f398fbcb6e38456c375030e459469b06d66d200fa3320bb5b