[INFO] cloning repository https://github.com/qiuzhanghua/cot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qiuzhanghua/cot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiuzhanghua%2Fcot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiuzhanghua%2Fcot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b68c056f759dcb53307a78eec7e062e39c1c1116 [INFO] checking qiuzhanghua/cot against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiuzhanghua%2Fcot" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/qiuzhanghua/cot [INFO] finished tweaking git repo https://github.com/qiuzhanghua/cot [INFO] tweaked toml for git repo https://github.com/qiuzhanghua/cot written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qiuzhanghua/cot 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/qiuzhanghua/cot 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 89a6a947337848c1323a6f8d62c258d02d2aeef62750f1b83554dabfced831ce [INFO] running `Command { std: "docker" "start" "-a" "89a6a947337848c1323a6f8d62c258d02d2aeef62750f1b83554dabfced831ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89a6a947337848c1323a6f8d62c258d02d2aeef62750f1b83554dabfced831ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a6a947337848c1323a6f8d62c258d02d2aeef62750f1b83554dabfced831ce", kill_on_drop: false }` [INFO] [stdout] 89a6a947337848c1323a6f8d62c258d02d2aeef62750f1b83554dabfced831ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3edf92e6d84dbb8c0b048afc7f00e1f92db3c5af3ae1187ae9e597e0319523ca [INFO] running `Command { std: "docker" "start" "-a" "3edf92e6d84dbb8c0b048afc7f00e1f92db3c5af3ae1187ae9e597e0319523ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling zip v2.2.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking thiserror v2.0.11 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking xattr v1.4.0 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking serde_json v1.0.135 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking tar v0.4.43 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking cot v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[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/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/main.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[folder = "static/"] [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] 16 + #[derive(RustEmbed)] [INFO] [stdout] 17 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prefix` in this scope [INFO] [stdout] --> src/main.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[prefix = ""] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `prefix` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(RustEmbed)] [INFO] [stdout] 17 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [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: `std::io` [INFO] [stdout] --> src/util/unzip.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::repl::*` [INFO] [stdout] --> src/util/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::repl::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[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/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/main.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[folder = "static/"] [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] 16 + #[derive(RustEmbed)] [INFO] [stdout] 17 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/main.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 16 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | let log4rs_yaml = Asset::get("log4rs.yaml").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [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] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prefix` in this scope [INFO] [stdout] --> src/main.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[prefix = ""] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `prefix` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(RustEmbed)] [INFO] [stdout] 17 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [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: `std::io` [INFO] [stdout] --> src/util/unzip.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::repl::*` [INFO] [stdout] --> src/util/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::repl::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/main.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 16 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | let log4rs_yaml = Asset::get("log4rs.yaml").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [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] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cot` (bin "cot") due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cot` (bin "cot" test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3edf92e6d84dbb8c0b048afc7f00e1f92db3c5af3ae1187ae9e597e0319523ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3edf92e6d84dbb8c0b048afc7f00e1f92db3c5af3ae1187ae9e597e0319523ca", kill_on_drop: false }` [INFO] [stdout] 3edf92e6d84dbb8c0b048afc7f00e1f92db3c5af3ae1187ae9e597e0319523ca