[INFO] cloning repository https://github.com/alexander-koch/loopc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexander-koch/loopc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexander-koch%2Floopc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexander-koch%2Floopc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c762687509415f7553d6c05a037d401a0a874e19 [INFO] checking alexander-koch/loopc against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexander-koch%2Floopc" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alexander-koch/loopc [INFO] finished tweaking git repo https://github.com/alexander-koch/loopc [INFO] tweaked toml for git repo https://github.com/alexander-koch/loopc written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexander-koch/loopc on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alexander-koch/loopc 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `loopc` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b838c4eaa9bb5892c98716ce19b56f6a6ed630a6149c0aadffad04fcededd04a [INFO] running `Command { std: "docker" "start" "b838c4eaa9bb5892c98716ce19b56f6a6ed630a6149c0aadffad04fcededd04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b838c4eaa9bb5892c98716ce19b56f6a6ed630a6149c0aadffad04fcededd04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b838c4eaa9bb5892c98716ce19b56f6a6ed630a6149c0aadffad04fcededd04a" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b838c4eaa9bb5892c98716ce19b56f6a6ed630a6149c0aadffad04fcededd04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b838c4eaa9bb5892c98716ce19b56f6a6ed630a6149c0aadffad04fcededd04a" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `loopc` (manifest) generated 1 warning [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Checking num-traits v0.1.42 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking termcolor v0.3.3 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking clap v2.29.4 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Compiling llvm-sys v50.0.3 [INFO] [stderr] Checking env_logger v0.5.3 [INFO] [stderr] Checking loopc v0.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/codegen/mod.rs:253:63 [INFO] [stdout] | [INFO] [stdout] 253 | let sub = llvm::const_int(self.ctx.int64_ty(), usize::max_value(), false); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/codegen/mod.rs:253:63 [INFO] [stdout] | [INFO] [stdout] 253 | let sub = llvm::const_int(self.ctx.int64_ty(), usize::max_value(), false); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `*mut LLVMBasicBlock` [INFO] [stdout] --> src/codegen/llvm.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe { LLVMGetInsertBlock(self.into()).into() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 198 - unsafe { LLVMGetInsertBlock(self.into()).into() } [INFO] [stdout] 198 + unsafe { LLVMGetInsertBlock(self.into()) } [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 198 - unsafe { LLVMGetInsertBlock(self.into()).into() } [INFO] [stdout] 198 + unsafe { <*mut LLVMBasicBlock as Into<_>>::into(LLVMGetInsertBlock(self.into())) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexer/mod.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(src: &str) -> Lexer { [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] 105 | pub fn new(src: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `loopc` (bin "loopc") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `*mut LLVMBasicBlock` [INFO] [stdout] --> src/codegen/llvm.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe { LLVMGetInsertBlock(self.into()).into() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 198 - unsafe { LLVMGetInsertBlock(self.into()).into() } [INFO] [stdout] 198 + unsafe { LLVMGetInsertBlock(self.into()) } [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 198 - unsafe { LLVMGetInsertBlock(self.into()).into() } [INFO] [stdout] 198 + unsafe { <*mut LLVMBasicBlock as Into<_>>::into(LLVMGetInsertBlock(self.into())) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexer/mod.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(src: &str) -> Lexer { [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] 105 | pub fn new(src: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `loopc` (bin "loopc" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b838c4eaa9bb5892c98716ce19b56f6a6ed630a6149c0aadffad04fcededd04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b838c4eaa9bb5892c98716ce19b56f6a6ed630a6149c0aadffad04fcededd04a", kill_on_drop: false }` [INFO] [stdout] b838c4eaa9bb5892c98716ce19b56f6a6ed630a6149c0aadffad04fcededd04a