[INFO] cloning repository https://github.com/mmbednarek/perun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmbednarek/perun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmbednarek%2Fperun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmbednarek%2Fperun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05193124259cb39a1c43e49786cece55210d4273 [INFO] checking mmbednarek/perun against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmbednarek%2Fperun" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mmbednarek/perun [INFO] finished tweaking git repo https://github.com/mmbednarek/perun [INFO] tweaked toml for git repo https://github.com/mmbednarek/perun written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmbednarek/perun on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mmbednarek/perun 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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9be8c3ef3624cbdbf6cd0fb9d74e989feb704fbacc4f891fac0fc266155dbe5f [INFO] running `Command { std: "docker" "start" "-a" "9be8c3ef3624cbdbf6cd0fb9d74e989feb704fbacc4f891fac0fc266155dbe5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9be8c3ef3624cbdbf6cd0fb9d74e989feb704fbacc4f891fac0fc266155dbe5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9be8c3ef3624cbdbf6cd0fb9d74e989feb704fbacc4f891fac0fc266155dbe5f", kill_on_drop: false }` [INFO] [stdout] 9be8c3ef3624cbdbf6cd0fb9d74e989feb704fbacc4f891fac0fc266155dbe5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51a67877639562687a3da06006aff4e48abf893e1dfd13f77e6b54b196680b88 [INFO] running `Command { std: "docker" "start" "-a" "51a67877639562687a3da06006aff4e48abf893e1dfd13f77e6b54b196680b88", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling inkwell v0.5.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Compiling llvm-sys v180.0.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling inkwell_internals v0.10.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking perun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StructValue` [INFO] [stdout] --> src/ast_passes/compile_time_evaluation_pass.rs:10:75 [INFO] [stdout] | [INFO] [stdout] 10 | use inkwell::values::{BasicValueEnum, FloatValue, IntValue, PointerValue, StructValue}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::CompilerResultErrorMapperWithDesc` [INFO] [stdout] --> src/ast_passes/export_module_pass.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::CompilerResultErrorMapperWithDesc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::typing::DataSize::Bits64` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::typing::DataSize::Bits64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnyType` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use inkwell::types::{AnyType, AnyTypeEnum, BasicMetadataTypeEnum, BasicType, BasicTypeEnum}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StructValue` [INFO] [stdout] --> src/ast_passes/compile_time_evaluation_pass.rs:10:75 [INFO] [stdout] | [INFO] [stdout] 10 | use inkwell::values::{BasicValueEnum, FloatValue, IntValue, PointerValue, StructValue}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::CompilerResultErrorMapperWithDesc` [INFO] [stdout] --> src/ast_passes/export_module_pass.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::CompilerResultErrorMapperWithDesc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::typing::DataSize::Bits64` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::typing::DataSize::Bits64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnyType` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use inkwell::types::{AnyType, AnyTypeEnum, BasicMetadataTypeEnum, BasicType, BasicTypeEnum}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ast_passes/compile_time_evaluation_pass.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | / return compiler_err!( [INFO] [stdout] 205 | | node.location, [INFO] [stdout] 206 | | "invalid number of constructor arguments, expected {} args", [INFO] [stdout] 207 | | *count [INFO] [stdout] 208 | | ); [INFO] [stdout] | |_____________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | return Err($crate::error::CompilerError{location: $loc, message: format!($($args), *)}); [INFO] [stdout] | --------------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:1957:13 [INFO] [stdout] | [INFO] [stdout] 1957 | ... return compiler_err!(node.location, "Error while compiling a call to function \"{}\", its return value is used as an l-value", node.name.value.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | return Err($crate::error::CompilerError{location: $loc, message: format!($($args), *)}); [INFO] [stdout] | --------------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ast_passes/compile_time_evaluation_pass.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | / return compiler_err!( [INFO] [stdout] 205 | | node.location, [INFO] [stdout] 206 | | "invalid number of constructor arguments, expected {} args", [INFO] [stdout] 207 | | *count [INFO] [stdout] 208 | | ); [INFO] [stdout] | |_____________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | return Err($crate::error::CompilerError{location: $loc, message: format!($($args), *)}); [INFO] [stdout] | --------------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:1957:13 [INFO] [stdout] | [INFO] [stdout] 1957 | ... return compiler_err!(node.location, "Error while compiling a call to function \"{}\", its return value is used as an l-value", node.name.value.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | return Err($crate::error::CompilerError{location: $loc, message: format!($($args), *)}); [INFO] [stdout] | --------------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/ast.rs:979:37 [INFO] [stdout] | [INFO] [stdout] 979 | } else if let Type::Slice { element_type } = &obj_type { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `element_type: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/ast.rs:979:37 [INFO] [stdout] | [INFO] [stdout] 979 | } else if let Type::Slice { element_type } = &obj_type { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `element_type: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:1126:31 [INFO] [stdout] | [INFO] [stdout] 1126 | fn visit_union(&mut self, node: &UnionNode, pd: &Self::Payload) -> Self::VisitResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:1126:49 [INFO] [stdout] | [INFO] [stdout] 1126 | fn visit_union(&mut self, node: &UnionNode, pd: &Self::Payload) -> Self::VisitResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:1130:32 [INFO] [stdout] | [INFO] [stdout] 1130 | fn visit_module(&mut self, node: &ModuleNode, pd: &Self::Payload) -> Self::VisitResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:1130:51 [INFO] [stdout] | [INFO] [stdout] 1130 | fn visit_module(&mut self, node: &ModuleNode, pd: &Self::Payload) -> Self::VisitResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:2335:17 [INFO] [stdout] | [INFO] [stdout] 2335 | count, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `count: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:1126:31 [INFO] [stdout] | [INFO] [stdout] 1126 | fn visit_union(&mut self, node: &UnionNode, pd: &Self::Payload) -> Self::VisitResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:1126:49 [INFO] [stdout] | [INFO] [stdout] 1126 | fn visit_union(&mut self, node: &UnionNode, pd: &Self::Payload) -> Self::VisitResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:1130:32 [INFO] [stdout] | [INFO] [stdout] 1130 | fn visit_module(&mut self, node: &ModuleNode, pd: &Self::Payload) -> Self::VisitResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:1130:51 [INFO] [stdout] | [INFO] [stdout] 1130 | fn visit_module(&mut self, node: &ModuleNode, pd: &Self::Payload) -> Self::VisitResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/ast_passes/ir_translation_pass.rs:2335:17 [INFO] [stdout] | [INFO] [stdout] 2335 | count, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `count: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/symbols.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn iterate_path(&self, path: &SymbolPath) -> Range { [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] 191 | pub fn iterate_path(&self, path: &SymbolPath) -> Range<'_, SymbolPath, SymbolInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/symbols.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn iterate_path(&self, path: &SymbolPath) -> Range { [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] 191 | pub fn iterate_path(&self, path: &SymbolPath) -> Range<'_, SymbolPath, SymbolInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.93s [INFO] running `Command { std: "docker" "inspect" "51a67877639562687a3da06006aff4e48abf893e1dfd13f77e6b54b196680b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a67877639562687a3da06006aff4e48abf893e1dfd13f77e6b54b196680b88", kill_on_drop: false }` [INFO] [stdout] 51a67877639562687a3da06006aff4e48abf893e1dfd13f77e6b54b196680b88