[INFO] cloning repository https://github.com/matt-allan/mooncats [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matt-allan/mooncats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-allan%2Fmooncats", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-allan%2Fmooncats'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdad8fcf6d303094836f4b2e348938a47ca83531 [INFO] checking matt-allan/mooncats against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-allan%2Fmooncats" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matt-allan/mooncats [INFO] finished tweaking git repo https://github.com/matt-allan/mooncats [INFO] tweaked toml for git repo https://github.com/matt-allan/mooncats written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matt-allan/mooncats on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matt-allan/mooncats already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a53c24789051a83fc959a1e2c2e7b85f154f840820dddf878b08ba6a5e2b9d4 [INFO] running `Command { std: "docker" "start" "-a" "1a53c24789051a83fc959a1e2c2e7b85f154f840820dddf878b08ba6a5e2b9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a53c24789051a83fc959a1e2c2e7b85f154f840820dddf878b08ba6a5e2b9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a53c24789051a83fc959a1e2c2e7b85f154f840820dddf878b08ba6a5e2b9d4", kill_on_drop: false }` [INFO] [stdout] 1a53c24789051a83fc959a1e2c2e7b85f154f840820dddf878b08ba6a5e2b9d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35032fb2400a8b82a95f82b5ffe79551a72fd711c9357e65e3eb9e680117350d [INFO] running `Command { std: "docker" "start" "-a" "35032fb2400a8b82a95f82b5ffe79551a72fd711c9357e65e3eb9e680117350d", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking object v0.36.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking pulldown-cmark-escape v0.10.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking topological-sort v0.2.2 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking notify-debouncer-mini v0.4.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling rust-embed-utils v8.4.0 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking clap_complete v4.5.7 [INFO] [stderr] Compiling rust-embed-impl v8.4.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking opener v0.7.1 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking rust-embed v8.4.0 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking nonempty v0.10.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking handlebars v5.1.2 [INFO] [stderr] Checking elasticlunr-rs v3.0.2 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking ammonia v4.0.0 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking mdbook v0.4.40 [INFO] [stderr] Checking mooncats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/markdown.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/markdown.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/markdown.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[folder = "templates"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(RustEmbed)] [INFO] [stdout] 12 | struct Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `include` in this scope [INFO] [stdout] --> src/markdown.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[include = "*.hbs"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `include` is in scope, but it is a function-like macro [INFO] [stdout] help: `include` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(RustEmbed)] [INFO] [stdout] 12 | struct Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExtendsType`, `Function`, and `NamedFunction` [INFO] [stdout] --> src/passes/parse_table_fields.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{doctree::{DocItemEnum, Field, Function, MetaFile, NamedFunction}, errors::*, json::{DefineType, ExtendsType}, workspace::... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mdbook.rs:9:105 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{doctree::{build_docs, MetaFile}, errors::*, json::Definition, location::FileUri, markdown::{self, MarkdownRenderer}, work... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/markdown.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/markdown.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/markdown.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[folder = "templates"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(RustEmbed)] [INFO] [stdout] 12 | struct Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `include` in this scope [INFO] [stdout] --> src/markdown.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[include = "*.hbs"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `include` is in scope, but it is a function-like macro [INFO] [stdout] help: `include` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(RustEmbed)] [INFO] [stdout] 12 | struct Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExtendsType`, `Function`, and `NamedFunction` [INFO] [stdout] --> src/passes/parse_table_fields.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{doctree::{DocItemEnum, Field, Function, MetaFile, NamedFunction}, errors::*, json::{DefineType, ExtendsType}, workspace::... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mdbook.rs:9:105 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{doctree::{build_docs, MetaFile}, errors::*, json::Definition, location::FileUri, markdown::{self, MarkdownRenderer}, work... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Assets: Embed` is not satisfied [INFO] [stdout] --> src/markdown.rs:80:55 [INFO] [stdout] | [INFO] [stdout] 80 | hbs.register_embed_templates_with_extension::(".hbs").expect("invalid templates"); [INFO] [stdout] | --------------------------------------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Embed` is not implemented for `Assets` [INFO] [stdout] --> src/markdown.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Assets; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Handlebars::<'reg>::register_embed_templates_with_extension` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/handlebars-5.1.2/src/registry.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn register_embed_templates_with_extension( [INFO] [stdout] | --------------------------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 440 | E: RustEmbed, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Handlebars::<'reg>::register_embed_templates_with_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Assets: Embed` is not satisfied [INFO] [stdout] --> src/markdown.rs:80:55 [INFO] [stdout] | [INFO] [stdout] 80 | hbs.register_embed_templates_with_extension::(".hbs").expect("invalid templates"); [INFO] [stdout] | --------------------------------------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Embed` is not implemented for `Assets` [INFO] [stdout] --> src/markdown.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Assets; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Handlebars::<'reg>::register_embed_templates_with_extension` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/handlebars-5.1.2/src/registry.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn register_embed_templates_with_extension( [INFO] [stdout] | --------------------------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 440 | E: RustEmbed, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Handlebars::<'reg>::register_embed_templates_with_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mooncats` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mooncats` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "35032fb2400a8b82a95f82b5ffe79551a72fd711c9357e65e3eb9e680117350d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35032fb2400a8b82a95f82b5ffe79551a72fd711c9357e65e3eb9e680117350d", kill_on_drop: false }` [INFO] [stdout] 35032fb2400a8b82a95f82b5ffe79551a72fd711c9357e65e3eb9e680117350d