[INFO] cloning repository https://github.com/Daniel1989/grrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Daniel1989/grrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaniel1989%2Fgrrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaniel1989%2Fgrrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0da9e331500b413024939465182f5e0d5cf71168 [INFO] checking Daniel1989/grrs/0da9e331500b413024939465182f5e0d5cf71168 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaniel1989%2Fgrrs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Daniel1989/grrs on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Daniel1989/grrs [INFO] finished tweaking git repo https://github.com/Daniel1989/grrs [INFO] tweaked toml for git repo https://github.com/Daniel1989/grrs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Daniel1989/grrs 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f96b230d04f38f6bb658d6ecb610ad40567ead569b350222797cf7feba4daf14 [INFO] running `Command { std: "docker" "start" "-a" "f96b230d04f38f6bb658d6ecb610ad40567ead569b350222797cf7feba4daf14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f96b230d04f38f6bb658d6ecb610ad40567ead569b350222797cf7feba4daf14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96b230d04f38f6bb658d6ecb610ad40567ead569b350222797cf7feba4daf14", kill_on_drop: false }` [INFO] [stdout] f96b230d04f38f6bb658d6ecb610ad40567ead569b350222797cf7feba4daf14 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9087b49f6ebe4b85698a5a824c4120f9b12d862d86f94b913e5f20ac23a64ee1 [INFO] running `Command { std: "docker" "start" "-a" "9087b49f6ebe4b85698a5a824c4120f9b12d862d86f94b913e5f20ac23a64ee1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking anstyle-query v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.8.18 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking winnow v0.5.34 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking anstream v0.6.7 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking ctrlc v3.4.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking ignore v0.4.21 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking assert_fs v1.1.0 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking os_info v3.7.0 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking confy v0.6.0 [INFO] [stderr] Checking human-panic v1.2.3 [INFO] [stderr] Checking grrs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | let f = File::open("./big.txt") [INFO] [stdout] | _____________- [INFO] [stdout] 11 | | .with_context(|| format!("could not read file `{}`", "test")) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grrs` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Migrating tests/cli.rs from 2021 edition to 2024 [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | setup_panic!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | setup_panic!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomError` is never constructed [INFO] [stdout] --> src/main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct CustomError(String); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | setup_panic!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | setup_panic!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomError` is never constructed [INFO] [stdout] --> src/main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct CustomError(String); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9087b49f6ebe4b85698a5a824c4120f9b12d862d86f94b913e5f20ac23a64ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9087b49f6ebe4b85698a5a824c4120f9b12d862d86f94b913e5f20ac23a64ee1", kill_on_drop: false }` [INFO] [stdout] 9087b49f6ebe4b85698a5a824c4120f9b12d862d86f94b913e5f20ac23a64ee1