[INFO] cloning repository https://github.com/Canop/bacon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Canop/bacon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCanop%2Fbacon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCanop%2Fbacon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b33747114a279bc2549094085399cfe54c588de [INFO] checking Canop/bacon against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCanop%2Fbacon" "/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/Canop/bacon [INFO] finished tweaking git repo https://github.com/Canop/bacon [INFO] tweaked toml for git repo https://github.com/Canop/bacon written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Canop/bacon on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Canop/bacon 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb4f3a564aeb10244b760d1f6fa2053cbd9f358aa3e62d629b15d09cd2244a4b [INFO] running `Command { std: "docker" "start" "-a" "fb4f3a564aeb10244b760d1f6fa2053cbd9f358aa3e62d629b15d09cd2244a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb4f3a564aeb10244b760d1f6fa2053cbd9f358aa3e62d629b15d09cd2244a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb4f3a564aeb10244b760d1f6fa2053cbd9f358aa3e62d629b15d09cd2244a4b", kill_on_drop: false }` [INFO] [stdout] fb4f3a564aeb10244b760d1f6fa2053cbd9f358aa3e62d629b15d09cd2244a4b [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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b67297bf027e6ec18f120e56e5d96bd58018b7e4b681b47cb3ebae33454ad5a [INFO] running `Command { std: "docker" "start" "-a" "0b67297bf027e6ec18f120e56e5d96bd58018b7e4b681b47cb3ebae33454ad5a", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking gix-trace v0.1.13 [INFO] [stderr] Checking zlib-rs v0.5.2 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking gix-utils v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Checking libz-rs-sys v0.5.2 [INFO] [stderr] Checking flate2 v1.1.4 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-bom v2.0.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling strict v0.2.0 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking sha1-checked v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking gix-sec v0.11.0 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Checking clru v0.6.2 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking minimad v0.13.1 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking prodash v29.0.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking serde-untagged v0.1.9 [INFO] [stderr] Checking notify-types v2.0.0 [INFO] [stderr] Checking is_executable v1.0.5 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking file-size v1.0.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking vte v0.15.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking ctrlc v3.5.0 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking xterm-query v0.5.2 [INFO] [stderr] Checking proc-status v0.1.1 [INFO] [stderr] Checking lazy-regex v3.4.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking cli-log v2.1.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking gix-validate v0.10.0 [INFO] [stderr] Checking gix-date v0.10.5 [INFO] [stderr] Checking gix-chunk v0.4.11 [INFO] [stderr] Checking gix-quote v0.6.0 [INFO] [stderr] Checking gix-bitmap v0.2.14 [INFO] [stderr] Checking gix-actor v0.35.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking coolor v1.1.0 [INFO] [stderr] Checking gix-path v0.10.20 [INFO] [stderr] Checking terminal-light v1.8.0 [INFO] [stderr] Checking gix-features v0.42.1 [INFO] [stderr] Checking gix-command v0.6.2 [INFO] [stderr] Checking gix-config-value v0.15.1 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Compiling crokey-proc_macros v1.3.0 [INFO] [stderr] Checking gix-fs v0.15.0 [INFO] [stderr] Checking gix-glob v0.20.1 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking clap_complete v4.5.58 [INFO] [stderr] Checking gix-tempfile v17.1.0 [INFO] [stderr] Checking gix-ignore v0.15.0 [INFO] [stderr] Checking gix-lock v17.1.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking faster-hex v0.10.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking crokey v1.3.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking cargo-platform v0.2.0 [INFO] [stderr] Checking iq v0.4.0 [INFO] [stderr] Checking termimad v0.34.0 [INFO] [stderr] Checking gix-hash v0.18.0 [INFO] [stderr] Checking gix-packetline v0.19.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking gix-hashtable v0.8.1 [INFO] [stderr] Checking gix-commitgraph v0.28.0 [INFO] [stderr] Checking gix-shallow v0.4.0 [INFO] [stderr] Checking gix-object v0.49.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking clap-help v1.5.0 [INFO] [stderr] Checking gix-url v0.31.0 [INFO] [stderr] Checking gix-revwalk v0.20.1 [INFO] [stderr] Checking gix-ref v0.52.1 [INFO] [stderr] Checking gix-pack v0.59.1 [INFO] [stderr] Checking gix-diff v0.52.1 [INFO] [stderr] Checking gix-transport v0.47.0 [INFO] [stderr] Checking gix-traverse v0.46.2 [INFO] [stderr] Checking gix-revision v0.34.1 [INFO] [stderr] Checking gix-refspec v0.30.1 [INFO] [stderr] Checking gix-index v0.40.1 [INFO] [stderr] Checking gix-config v0.45.1 [INFO] [stderr] Checking gix-discover v0.40.1 [INFO] [stderr] Checking gix-protocol v0.50.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking gix-odb v0.69.1 [INFO] [stderr] Checking cargo-util-schemas v0.8.2 [INFO] [stderr] Checking gix-worktree v0.41.0 [INFO] [stderr] Checking gix v0.72.1 [INFO] [stderr] Checking cargo_metadata v0.21.0 [INFO] [stderr] Checking bacon v3.19.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/conf/config.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 77 | let conf = toml::from_str::(&fs::read_to_string(path)?) [INFO] [stdout] | ____________________- [INFO] [stdout] 78 | | .with_context(|| format!("Failed to parse configuration file at {path:?}"))?; [INFO] [stdout] | |_____________-^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs:628:8 [INFO] [stdout] | [INFO] [stdout] 628 | fn with_context(self, f: F) -> Result [INFO] [stdout] | ------------ the method is available for `std::result::Result` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Context` which provides `with_context` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use anyhow::Context; [INFO] [stdout] | [INFO] [stdout] help: there is a method `context` with a similar name [INFO] [stdout] | [INFO] [stdout] 78 - .with_context(|| format!("Failed to parse configuration file at {path:?}"))?; [INFO] [stdout] 78 + .context(|| format!("Failed to parse configuration file at {path:?}"))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/conf/config.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 77 | let conf = toml::from_str::(&fs::read_to_string(path)?) [INFO] [stdout] | ____________________- [INFO] [stdout] 78 | | .with_context(|| format!("Failed to parse configuration file at {path:?}"))?; [INFO] [stdout] | |_____________-^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs:628:8 [INFO] [stdout] | [INFO] [stdout] 628 | fn with_context(self, f: F) -> Result [INFO] [stdout] | ------------ the method is available for `std::result::Result` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Context` which provides `with_context` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use anyhow::Context; [INFO] [stdout] | [INFO] [stdout] help: there is a method `context` with a similar name [INFO] [stdout] | [INFO] [stdout] 78 - .with_context(|| format!("Failed to parse configuration file at {path:?}"))?; [INFO] [stdout] 78 + .context(|| format!("Failed to parse configuration file at {path:?}"))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bacon` (lib test) due to 1 previous error [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 `bacon` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "0b67297bf027e6ec18f120e56e5d96bd58018b7e4b681b47cb3ebae33454ad5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b67297bf027e6ec18f120e56e5d96bd58018b7e4b681b47cb3ebae33454ad5a", kill_on_drop: false }` [INFO] [stdout] 0b67297bf027e6ec18f120e56e5d96bd58018b7e4b681b47cb3ebae33454ad5a