[INFO] cloning repository https://github.com/dan-t/cpp-typecheck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dan-t/cpp-typecheck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdan-t%2Fcpp-typecheck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdan-t%2Fcpp-typecheck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a561f1c44e2fc621bb27bfb697746e3f8defa4e [INFO] checking dan-t/cpp-typecheck against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdan-t%2Fcpp-typecheck" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dan-t/cpp-typecheck [INFO] finished tweaking git repo https://github.com/dan-t/cpp-typecheck [INFO] tweaked toml for git repo https://github.com/dan-t/cpp-typecheck written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dan-t/cpp-typecheck on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dan-t/cpp-typecheck 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomicwrites v0.2.5 [INFO] [stderr] Downloaded error-type v0.1.2 [INFO] [stderr] Downloaded dirs v3.0.0 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.2 [INFO] [stderr] Downloaded rand v0.3.19 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a98e52109de317f83b3a67d6827ed98b1b586627f328f901dade2b8258bc0aa [INFO] running `Command { std: "docker" "start" "-a" "2a98e52109de317f83b3a67d6827ed98b1b586627f328f901dade2b8258bc0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a98e52109de317f83b3a67d6827ed98b1b586627f328f901dade2b8258bc0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a98e52109de317f83b3a67d6827ed98b1b586627f328f901dade2b8258bc0aa", kill_on_drop: false }` [INFO] [stdout] 2a98e52109de317f83b3a67d6827ed98b1b586627f328f901dade2b8258bc0aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 002642bd9f70059414aab224f63257db8a75ab9e80ad95e0694655b0c1b3fc76 [INFO] running `Command { std: "docker" "start" "-a" "002642bd9f70059414aab224f63257db8a75ab9e80ad95e0694655b0c1b3fc76", 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 ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking error-type v0.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand v0.3.19 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs v3.0.0 [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 6.31s [INFO] running `Command { std: "docker" "inspect" "002642bd9f70059414aab224f63257db8a75ab9e80ad95e0694655b0c1b3fc76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002642bd9f70059414aab224f63257db8a75ab9e80ad95e0694655b0c1b3fc76", kill_on_drop: false }` [INFO] [stdout] 002642bd9f70059414aab224f63257db8a75ab9e80ad95e0694655b0c1b3fc76