[INFO] fetching crate cpp-typecheck 0.6.0... [INFO] checking cpp-typecheck-0.6.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cpp-typecheck 0.6.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate cpp-typecheck 0.6.0 [INFO] finished tweaking crates.io crate cpp-typecheck 0.6.0 [INFO] tweaked toml for crates.io crate cpp-typecheck 0.6.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cpp-typecheck 0.6.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cpp-typecheck 0.6.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02dd629a33d5d38849a89105dd4c030fc1d8722340de6cff26aba24b3a3c7900 [INFO] running `Command { std: "docker" "start" "-a" "02dd629a33d5d38849a89105dd4c030fc1d8722340de6cff26aba24b3a3c7900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02dd629a33d5d38849a89105dd4c030fc1d8722340de6cff26aba24b3a3c7900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02dd629a33d5d38849a89105dd4c030fc1d8722340de6cff26aba24b3a3c7900", kill_on_drop: false }` [INFO] [stdout] 02dd629a33d5d38849a89105dd4c030fc1d8722340de6cff26aba24b3a3c7900 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ad340fea746e62e5fdbe98bef84aeab05bc00d83d2865a2d7b347da7c5b3edb [INFO] running `Command { std: "docker" "start" "-a" "2ad340fea746e62e5fdbe98bef84aeab05bc00d83d2865a2d7b347da7c5b3edb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking error-type v0.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand v0.3.19 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking dirs v3.0.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempdir v0.3.5 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking atomicwrites v0.2.5 [INFO] [stderr] Checking cpp-typecheck v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/config.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | src_file.is_absolute().ok_or(format!("C++ source file '{}' has to have an absolute path!", [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `OkOr::ok_or(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(bool_to_result)]` to the crate attributes to enable `core::bool::::ok_or` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(bool_to_result)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/config.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | (!db_files.is_empty()).ok_or("Missing clang compilation database!")?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `OkOr::ok_or(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(bool_to_result)]` to the crate attributes to enable `core::bool::::ok_or` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(bool_to_result)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/config.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | dir.pop().ok_or(format!("Couldn't find 'compile_commands.json' starting at directory '{}'!", [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `OkOr::ok_or(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(bool_to_result)]` to the crate attributes to enable `core::bool::::ok_or` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(bool_to_result)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/cmd.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | (!cmd.is_empty()).ok_or(format!("Unexpected empty command in: {}!", cmd_str))?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `OkOr::ok_or(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(bool_to_result)]` to the crate attributes to enable `core::bool::::ok_or` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(bool_to_result)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/config.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | src_file.is_absolute().ok_or(format!("C++ source file '{}' has to have an absolute path!", [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `OkOr::ok_or(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(bool_to_result)]` to the crate attributes to enable `core::bool::::ok_or` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(bool_to_result)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/config.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | (!db_files.is_empty()).ok_or("Missing clang compilation database!")?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `OkOr::ok_or(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(bool_to_result)]` to the crate attributes to enable `core::bool::::ok_or` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(bool_to_result)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/config.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | dir.pop().ok_or(format!("Couldn't find 'compile_commands.json' starting at directory '{}'!", [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `OkOr::ok_or(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(bool_to_result)]` to the crate attributes to enable `core::bool::::ok_or` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(bool_to_result)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/cmd.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | (!cmd.is_empty()).ok_or(format!("Unexpected empty command in: {}!", cmd_str))?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `OkOr::ok_or(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(bool_to_result)]` to the crate attributes to enable `core::bool::::ok_or` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(bool_to_result)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.09s [INFO] running `Command { std: "docker" "inspect" "2ad340fea746e62e5fdbe98bef84aeab05bc00d83d2865a2d7b347da7c5b3edb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad340fea746e62e5fdbe98bef84aeab05bc00d83d2865a2d7b347da7c5b3edb", kill_on_drop: false }` [INFO] [stdout] 2ad340fea746e62e5fdbe98bef84aeab05bc00d83d2865a2d7b347da7c5b3edb