[INFO] cloning repository https://github.com/simonask/exceptions-versus-results [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simonask/exceptions-versus-results" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonask%2Fexceptions-versus-results", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonask%2Fexceptions-versus-results'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23c889becf3f29bc06e820c1e100b8f59f6b6c42 [INFO] checking simonask/exceptions-versus-results against try#a75eafceea413a1b40c0e0769db85e08ec17160b for pr-133925 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonask%2Fexceptions-versus-results" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simonask/exceptions-versus-results on toolchain a75eafceea413a1b40c0e0769db85e08ec17160b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/simonask/exceptions-versus-results [INFO] finished tweaking git repo https://github.com/simonask/exceptions-versus-results [INFO] tweaked toml for git repo https://github.com/simonask/exceptions-versus-results written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/simonask/exceptions-versus-results 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" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32c2d34020cad264f99c697f5741305201f467f482a303e6b0428c93b8dc6a33 [INFO] running `Command { std: "docker" "start" "-a" "32c2d34020cad264f99c697f5741305201f467f482a303e6b0428c93b8dc6a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32c2d34020cad264f99c697f5741305201f467f482a303e6b0428c93b8dc6a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c2d34020cad264f99c697f5741305201f467f482a303e6b0428c93b8dc6a33", kill_on_drop: false }` [INFO] [stdout] 32c2d34020cad264f99c697f5741305201f467f482a303e6b0428c93b8dc6a33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be3afd23f60f66d62cf08b02920f2c429d583dddeb1c534bcec74e5052b58318 [INFO] running `Command { std: "docker" "start" "-a" "be3afd23f60f66d62cf08b02920f2c429d583dddeb1c534bcec74e5052b58318", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.1.7 [INFO] [stderr] Checking exceptions-versus-results-rustc v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | try!(self.expect_char(')')); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | let val = try!(self.expression()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | '0'...'9' => self.number(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | Ok(match try!(self.get_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let c = try!(self.get_char()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | match try!(self.get_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | for _ in (0..iterations) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - for _ in (0..iterations) { [INFO] [stdout] 35 + for _ in 0..iterations { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | let mut u: rusage = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | try!(self.expect_char(')')); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | let val = try!(self.expression()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | '0'...'9' => self.number(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | Ok(match try!(self.get_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let c = try!(self.get_char()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | match try!(self.get_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | for _ in (0..iterations) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - for _ in (0..iterations) { [INFO] [stdout] 35 + for _ in 0..iterations { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | let mut u: rusage = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `parser::Error` is more private than the item `ParserResult` [INFO] [stdout] --> src/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub type ParserResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ type alias `ParserResult` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `parser::Error` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `parser::Error` is more private than the item `ParserResult` [INFO] [stdout] --> src/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub type ParserResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ type alias `ParserResult` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `parser::Error` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rusage` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let mut u: rusage = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `rusage` does not permit being left uninitialized [INFO] [stdout] --> src/main.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let mut u: rusage = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "be3afd23f60f66d62cf08b02920f2c429d583dddeb1c534bcec74e5052b58318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3afd23f60f66d62cf08b02920f2c429d583dddeb1c534bcec74e5052b58318", kill_on_drop: false }` [INFO] [stdout] be3afd23f60f66d62cf08b02920f2c429d583dddeb1c534bcec74e5052b58318