[INFO] fetching crate mu-cli 0.0.2... [INFO] checking mu-cli-0.0.2 against try#2278ef25f90817c20d6dd0d2da58a990eb6f53cb for pr-145108-1 [INFO] extracting crate mu-cli 0.0.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate mu-cli 0.0.2 [INFO] finished tweaking crates.io crate mu-cli 0.0.2 [INFO] tweaked toml for crates.io crate mu-cli 0.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mu-cli 0.0.2 on toolchain 2278ef25f90817c20d6dd0d2da58a990eb6f53cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mu-cli 0.0.2 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" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba8bb2bcd73977bdd9b09626517610ddf31ed05a94dde260d724639d7dbc9270 [INFO] running `Command { std: "docker" "start" "-a" "ba8bb2bcd73977bdd9b09626517610ddf31ed05a94dde260d724639d7dbc9270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba8bb2bcd73977bdd9b09626517610ddf31ed05a94dde260d724639d7dbc9270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba8bb2bcd73977bdd9b09626517610ddf31ed05a94dde260d724639d7dbc9270", kill_on_drop: false }` [INFO] [stdout] ba8bb2bcd73977bdd9b09626517610ddf31ed05a94dde260d724639d7dbc9270 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fbe7136cb4ab7ad0db32314ca4a2e43d6a96eadff0eb7643fc42800d8ead210 [INFO] running `Command { std: "docker" "start" "-a" "8fbe7136cb4ab7ad0db32314ca4a2e43d6a96eadff0eb7643fc42800d8ead210", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking anstyle v1.0.9 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking anstream v0.6.17 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking notify-types v1.0.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking rust-embed-utils v8.5.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking notify v7.0.0 [INFO] [stderr] Checking terminal_size v0.4.0 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking handlebars v6.1.0 [INFO] [stderr] Checking candid v0.10.10 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling candid_parser v0.1.4 [INFO] [stderr] Checking mu-cli v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/backends/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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/backends/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/backends/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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/backends/mod.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/backends/mod.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[folder = "src/backends/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 Templates; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/backends/mod.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[folder = "src/backends/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 Templates; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `Templates` in the current scope [INFO] [stdout] --> src/backends/mod.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 11 | struct Templates; [INFO] [stdout] | ---------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | let templates = Templates::iter() [INFO] [stdout] | ^^^^ function or associated item not found in `Templates` [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 traits define an item `iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `bitflags::traits::Flags` [INFO] [stdout] candidate #3: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/backends/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | .filter(|x| x.starts_with(template_name)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 17 | .filter(|x: /* Type */| x.starts_with(template_name)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/backends/mod.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let relative_path = path.strip_prefix(&template_name).unwrap().to_str().unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Templates` in the current scope [INFO] [stdout] --> src/backends/mod.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 11 | struct Templates; [INFO] [stdout] | ---------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | let template_raw = Templates::get(path.to_str().unwrap()).unwrap().data; [INFO] [stdout] | ^^^ function or associated item not found in `Templates` [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 traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `Templates` in the current scope [INFO] [stdout] --> src/backends/mod.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 11 | struct Templates; [INFO] [stdout] | ---------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | let templates = Templates::iter() [INFO] [stdout] | ^^^^ function or associated item not found in `Templates` [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 traits define an item `iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `bitflags::traits::Flags` [INFO] [stdout] candidate #3: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/backends/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | .filter(|x| x.starts_with(template_name)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 17 | .filter(|x: /* Type */| x.starts_with(template_name)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/backends/mod.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let relative_path = path.strip_prefix(&template_name).unwrap().to_str().unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Templates` in the current scope [INFO] [stdout] --> src/backends/mod.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 11 | struct Templates; [INFO] [stdout] | ---------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | let template_raw = Templates::get(path.to_str().unwrap()).unwrap().data; [INFO] [stdout] | ^^^ function or associated item not found in `Templates` [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 traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mu-cli` (bin "mu") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mu-cli` (bin "mu" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "8fbe7136cb4ab7ad0db32314ca4a2e43d6a96eadff0eb7643fc42800d8ead210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fbe7136cb4ab7ad0db32314ca4a2e43d6a96eadff0eb7643fc42800d8ead210", kill_on_drop: false }` [INFO] [stdout] 8fbe7136cb4ab7ad0db32314ca4a2e43d6a96eadff0eb7643fc42800d8ead210