[INFO] cloning repository https://github.com/cjkenn/kolga
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cjkenn/kolga" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcjkenn%2Fkolga", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcjkenn%2Fkolga'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7997d30a823e26ac2e79a6b0f5a42ce4388b28ac
[INFO] checking cjkenn/kolga against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcjkenn%2Fkolga" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cjkenn/kolga
[INFO] finished tweaking git repo https://github.com/cjkenn/kolga
[INFO] tweaked toml for git repo https://github.com/cjkenn/kolga written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cjkenn/kolga on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cjkenn/kolga 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro-error-attr v0.4.12
[INFO] [stderr]   Downloaded proc-macro-error v0.4.12
[INFO] [stderr]   Downloaded os_str_bytes v2.3.1
[INFO] [stderr]   Downloaded llvm-sys v100.2.0
[INFO] [stderr]   Downloaded clap v3.0.0-beta.1
[INFO] [stderr]   Downloaded lazy_static v1.0.2
[INFO] [stderr]   Downloaded clap_derive v3.0.0-beta.1
[INFO] [stderr]   Downloaded syn v1.0.21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be7821751d315cd4f702aa3e358905385c3aa1197aae8fd4ccd1913c9d6bfb1e
[INFO] running `Command { std: "docker" "start" "-a" "be7821751d315cd4f702aa3e358905385c3aa1197aae8fd4ccd1913c9d6bfb1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be7821751d315cd4f702aa3e358905385c3aa1197aae8fd4ccd1913c9d6bfb1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be7821751d315cd4f702aa3e358905385c3aa1197aae8fd4ccd1913c9d6bfb1e", kill_on_drop: false }`
[INFO] [stdout] be7821751d315cd4f702aa3e358905385c3aa1197aae8fd4ccd1913c9d6bfb1e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 76d8a654a5c050ffa857b6048fae6f1db420ca7af3561cf9d77d9e3bc1243e28
[INFO] running `Command { std: "docker" "start" "-a" "76d8a654a5c050ffa857b6048fae6f1db420ca7af3561cf9d77d9e3bc1243e28", kill_on_drop: false }`
[INFO] [stderr]     Checking kolgac_errors v0.1.0 (/opt/rustwide/workdir/kolgac_errors)
[INFO] [stderr]    Compiling proc-macro2 v1.0.12
[INFO] [stderr]    Compiling lazy_static v1.0.2
[INFO] [stderr]    Compiling libc v0.2.70
[INFO] [stderr]    Compiling syn v1.0.21
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling proc-macro-error-attr v0.4.12
[INFO] [stderr]     Checking kolgac v0.1.0 (/opt/rustwide/workdir/kolgac)
[INFO] [stderr]    Compiling proc-macro-error v0.4.12
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking os_str_bytes v2.3.1
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> kolgac/src/symtab.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |         while curr >= 0 {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking kolgac_types v0.1.0 (/opt/rustwide/workdir/kolgac_types)
[INFO] [stderr]     Checking kolgac_ir v0.1.0 (/opt/rustwide/workdir/kolgac_ir)
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> kolgac_ir/src/irgen.rs:23:33
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new(ast: &'t Ast) -> IRGen {
[INFO] [stdout]    |                      --         ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is named 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: consistently use `'t`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new(ast: &'t Ast) -> IRGen<'t> {
[INFO] [stdout]    |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> kolgac/src/symtab.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |         while curr >= 0 {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quote v1.0.5
[INFO] [stdout] warning: fields `line` and `pos` are never read
[INFO] [stdout]   --> kolgac/tests/parser_test.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct ParseExpect {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 11 |     pub is_pass: bool,
[INFO] [stdout] 12 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 13 |     pub pos: usize,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> kolgac_ir/src/irgen.rs:23:33
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new(ast: &'t Ast) -> IRGen {
[INFO] [stdout]    |                      --         ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is named 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: consistently use `'t`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new(ast: &'t Ast) -> IRGen<'t> {
[INFO] [stdout]    |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling llvm-sys v100.2.0
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]     Checking kolgac_llvm v0.1.0 (/opt/rustwide/workdir/kolgac_llvm)
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<*mut LLVMValue>` will be dropped
[INFO] [stdout]    --> kolgac_llvm/src/llvm.rs:777:86
[INFO] [stdout]     |
[INFO] [stdout] 777 |             let llvm_params: *mut LLVMValueRef = Vec::with_capacity(param_tys.len()).as_mut_ptr();
[INFO] [stdout]     |                                                  ----------------------------------- ^^^^^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `Vec<*mut LLVMValue>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<*mut LLVMValue>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: you must make sure that the variable you bind the `Vec<*mut LLVMValue>` to lives at least as long as the pointer returned by the call to `as_mut_ptr`
[INFO] [stdout]     = help: in particular, if this pointer is returned from the current function, binding the `Vec<*mut LLVMValue>` inside the function will not suffice
[INFO] [stdout]     = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped
[INFO] [stdout]   --> kolgac_llvm/src/obj.rs:49:80
[INFO] [stdout]    |
[INFO] [stdout] 49 |             let mut err_str = CString::new("writing obj file failed").unwrap().as_ptr() as *mut _;
[INFO] [stdout]    |                               ------------------------------------------------ ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> kolgac_llvm/src/valtab.rs:39:15
[INFO] [stdout]    |
[INFO] [stdout] 39 |         while curr >= 0 {
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<*mut LLVMValue>` will be dropped
[INFO] [stdout]    --> kolgac_llvm/src/llvm.rs:777:86
[INFO] [stdout]     |
[INFO] [stdout] 777 |             let llvm_params: *mut LLVMValueRef = Vec::with_capacity(param_tys.len()).as_mut_ptr();
[INFO] [stdout]     |                                                  ----------------------------------- ^^^^^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `Vec<*mut LLVMValue>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<*mut LLVMValue>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: you must make sure that the variable you bind the `Vec<*mut LLVMValue>` to lives at least as long as the pointer returned by the call to `as_mut_ptr`
[INFO] [stdout]     = help: in particular, if this pointer is returned from the current function, binding the `Vec<*mut LLVMValue>` inside the function will not suffice
[INFO] [stdout]     = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped
[INFO] [stdout]   --> kolgac_llvm/src/obj.rs:49:80
[INFO] [stdout]    |
[INFO] [stdout] 49 |             let mut err_str = CString::new("writing obj file failed").unwrap().as_ptr() as *mut _;
[INFO] [stdout]    |                               ------------------------------------------------ ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> kolgac_llvm/src/valtab.rs:39:15
[INFO] [stdout]    |
[INFO] [stdout] 39 |         while curr >= 0 {
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> kolgac_llvm/tests/codegen_test.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn run(input_filename: &str, output_filename: &str, expected_filename: &str) {
[INFO] [stdout]   |    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `diff_files` is never used
[INFO] [stdout]   --> kolgac_llvm/tests/codegen_test.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn diff_files(filename1: String, filename2: String) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.1
[INFO] [stderr]     Checking clap v3.0.0-beta.1
[INFO] [stderr]     Checking kolgac_driver v0.1.0 (/opt/rustwide/workdir/kolgac_driver)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.27s
[INFO] running `Command { std: "docker" "inspect" "76d8a654a5c050ffa857b6048fae6f1db420ca7af3561cf9d77d9e3bc1243e28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76d8a654a5c050ffa857b6048fae6f1db420ca7af3561cf9d77d9e3bc1243e28", kill_on_drop: false }`
[INFO] [stdout] 76d8a654a5c050ffa857b6048fae6f1db420ca7af3561cf9d77d9e3bc1243e28
