[INFO] cloning repository https://github.com/awaken1988/backuptool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awaken1988/backuptool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawaken1988%2Fbackuptool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawaken1988%2Fbackuptool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a53e151a6fbafb8442655cf6dae21811afc9519 [INFO] checking awaken1988/backuptool against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawaken1988%2Fbackuptool" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/awaken1988/backuptool [INFO] finished tweaking git repo https://github.com/awaken1988/backuptool [INFO] tweaked toml for git repo https://github.com/awaken1988/backuptool written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/awaken1988/backuptool 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/awaken1988/backuptool 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6717748ac8664de06ae76cd33b38a08a599bc77ad34fdea88d06f3eb69f5fb71 [INFO] running `Command { std: "docker" "start" "-a" "6717748ac8664de06ae76cd33b38a08a599bc77ad34fdea88d06f3eb69f5fb71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6717748ac8664de06ae76cd33b38a08a599bc77ad34fdea88d06f3eb69f5fb71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6717748ac8664de06ae76cd33b38a08a599bc77ad34fdea88d06f3eb69f5fb71", kill_on_drop: false }` [INFO] [stdout] 6717748ac8664de06ae76cd33b38a08a599bc77ad34fdea88d06f3eb69f5fb71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] aef6cf379c8c2d4e7a0b7ef423df60e4daac9bbb23644b476a622c37b623706b [INFO] running `Command { std: "docker" "start" "-a" "aef6cf379c8c2d4e7a0b7ef423df60e4daac9bbb23644b476a622c37b623706b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pad v0.1.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling iso8601 v0.1.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling locale v0.2.2 [INFO] [stderr] Compiling zerocopy v0.8.18 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling datetime v0.4.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling rust-embed-utils v8.7.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Compiling zoneinfo_parse v0.1.4 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking rand_core v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking libbz2-rs-sys v0.1.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking dir-diff v0.3.3 [INFO] [stderr] Compiling chrono-tz v0.1.2 [INFO] [stderr] Checking bzip2 v0.5.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rust-embed-impl v8.7.0 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Checking rust-embed v8.7.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking clap v4.5.28 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking backuptool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/test/mod.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | #[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/test/mod.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use rust_embed::{self, Embed, RustEmbed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/test/mod.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[folder = "examples/simple/"] [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] 107 + #[derive(RustEmbed)] [INFO] [stdout] 108 | struct SimpleAsset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `SimpleAsset` in the current scope [INFO] [stdout] --> src/test/mod.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | for path_str in SimpleAsset::iter() { [INFO] [stdout] | ^^^^ function or associated item not found in `SimpleAsset` [INFO] [stdout] ... [INFO] [stdout] 107 | struct SimpleAsset; [INFO] [stdout] | ------------------ function or associated item `iter` not found for this struct [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 `iter`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SimpleAsset: Embed` is not satisfied [INFO] [stdout] --> src/test/mod.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | .unpack::() [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 `SimpleAsset` [INFO] [stdout] --> src/test/mod.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | struct SimpleAsset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `TestDirs::unpack` [INFO] [stdout] --> src/test/mod.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | fn unpack(self) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `TestDirs::unpack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backuptool` (bin "backuptool" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "aef6cf379c8c2d4e7a0b7ef423df60e4daac9bbb23644b476a622c37b623706b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef6cf379c8c2d4e7a0b7ef423df60e4daac9bbb23644b476a622c37b623706b", kill_on_drop: false }` [INFO] [stdout] aef6cf379c8c2d4e7a0b7ef423df60e4daac9bbb23644b476a622c37b623706b