[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 try#c4ca24658d934444a28db36abebef17a8651701a for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdan-t%2Fcpp-typecheck" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dan-t/cpp-typecheck on toolchain c4ca24658d934444a28db36abebef17a8651701a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "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" "+c4ca24658d934444a28db36abebef17a8651701a" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d315d49026450c9a0f1f710d7e51e34f9884f3e1743d29f14a368fa63f4f9e7 [INFO] running `Command { std: "docker" "start" "-a" "0d315d49026450c9a0f1f710d7e51e34f9884f3e1743d29f14a368fa63f4f9e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d315d49026450c9a0f1f710d7e51e34f9884f3e1743d29f14a368fa63f4f9e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d315d49026450c9a0f1f710d7e51e34f9884f3e1743d29f14a368fa63f4f9e7", kill_on_drop: false }` [INFO] [stdout] 0d315d49026450c9a0f1f710d7e51e34f9884f3e1743d29f14a368fa63f4f9e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 337b5638caa3eb5e4c313bc6669f0f19d55d17a5c0cc61c3fa4fb7bfd8d2c5cd [INFO] running `Command { std: "docker" "start" "-a" "337b5638caa3eb5e4c313bc6669f0f19d55d17a5c0cc61c3fa4fb7bfd8d2c5cd", 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] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.114 [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 remove_dir_all v0.5.3 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.6 [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 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 tempdir v0.3.5 [INFO] [stderr] Checking rand v0.7.3 [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] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetaJ6GlW1" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpp-typecheck` (bin "cpp-typecheck" test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "337b5638caa3eb5e4c313bc6669f0f19d55d17a5c0cc61c3fa4fb7bfd8d2c5cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "337b5638caa3eb5e4c313bc6669f0f19d55d17a5c0cc61c3fa4fb7bfd8d2c5cd", kill_on_drop: false }` [INFO] [stdout] 337b5638caa3eb5e4c313bc6669f0f19d55d17a5c0cc61c3fa4fb7bfd8d2c5cd