[INFO] cloning repository https://github.com/CarbonSmasher/dpc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CarbonSmasher/dpc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarbonSmasher%2Fdpc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarbonSmasher%2Fdpc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 046de5378f865068517f4aa193f0566ea0e0b331 [INFO] checking CarbonSmasher/dpc against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarbonSmasher%2Fdpc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CarbonSmasher/dpc [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/CarbonSmasher/dpc [INFO] tweaked toml for git repo https://github.com/CarbonSmasher/dpc written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CarbonSmasher/dpc on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CarbonSmasher/dpc 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c57b92d8e364bc7cf327faa958a1d3b6e5bf25c8404ee255d76c94b291554e85 [INFO] running `Command { std: "docker" "start" "-a" "c57b92d8e364bc7cf327faa958a1d3b6e5bf25c8404ee255d76c94b291554e85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c57b92d8e364bc7cf327faa958a1d3b6e5bf25c8404ee255d76c94b291554e85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c57b92d8e364bc7cf327faa958a1d3b6e5bf25c8404ee255d76c94b291554e85", kill_on_drop: false }` [INFO] [stdout] c57b92d8e364bc7cf327faa958a1d3b6e5bf25c8404ee255d76c94b291554e85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31ca7a0ce71ea19231ec7ce169f413ad4c445e9f87b19cb1548b3ef1695ef6f6 [INFO] running `Command { std: "docker" "start" "-a" "31ca7a0ce71ea19231ec7ce169f413ad4c445e9f87b19cb1548b3ef1695ef6f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.112 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Checking intset v1.0.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Checking include_dir v0.7.3 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling color-print-proc-macro v0.3.5 [INFO] [stderr] Checking color-print v0.3.5 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking dpc v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `EqFloat` is never constructed [INFO] [stdout] --> src/util/mod.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct EqFloat(pub f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `only_mut` is never used [INFO] [stdout] --> src/util/mod.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub trait Only { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 181 | fn only_mut(&mut self) -> Option<&mut Self::Item>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | fn iter_fns(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | fn iter_fns(&self) -> std::collections::hash_map::Iter<'_, ResourceLocation, Self::FunctionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 116 | ) -> std::collections::hash_map::IterMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | ) -> std::collections::hash_map::IterMut<'_, ResourceLocation, Self::FunctionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EqFloat` is never constructed [INFO] [stdout] --> src/util/mod.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct EqFloat(pub f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `only_mut` is never used [INFO] [stdout] --> src/util/mod.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub trait Only { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 181 | fn only_mut(&mut self) -> Option<&mut Self::Item>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | fn iter_fns(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | fn iter_fns(&self) -> std::collections::hash_map::Iter<'_, ResourceLocation, Self::FunctionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/mod.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 116 | ) -> std::collections::hash_map::IterMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | ) -> std::collections::hash_map::IterMut<'_, ResourceLocation, Self::FunctionType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dpc_py v0.2.5 (/opt/rustwide/workdir/bind/py) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> test/codegen/mod.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | static TESTS: Dir<'_> = include_dir!("$CARGO_MANIFEST_DIR/test/codegen/tests"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dpc` (test "codegen") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bind/py/src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 68 | impl PyCodegenIRSettings { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | `PyCodegenIRSettings` is not local [INFO] [stdout] | `PyCodegenIRSettings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bind/py/src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 104 | impl PyProjectSettings { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `PyProjectSettings` is not local [INFO] [stdout] | `PyProjectSettings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bind/py/src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 68 | impl PyCodegenIRSettings { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | `PyCodegenIRSettings` is not local [INFO] [stdout] | `PyCodegenIRSettings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bind/py/src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 104 | impl PyProjectSettings { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `PyProjectSettings` is not local [INFO] [stdout] | `PyProjectSettings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "31ca7a0ce71ea19231ec7ce169f413ad4c445e9f87b19cb1548b3ef1695ef6f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ca7a0ce71ea19231ec7ce169f413ad4c445e9f87b19cb1548b3ef1695ef6f6", kill_on_drop: false }` [INFO] [stdout] 31ca7a0ce71ea19231ec7ce169f413ad4c445e9f87b19cb1548b3ef1695ef6f6