[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcjkenn%2Fkolga" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cjkenn/kolga on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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/source/Cargo.toml [INFO] crate git repo https://github.com/cjkenn/kolga already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.21 [INFO] [stderr] Downloaded llvm-sys v100.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b700ffaec176492c0707ad5a4ccc6d8d826f7da2f65e5c514e196a8679d70268 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b700ffaec176492c0707ad5a4ccc6d8d826f7da2f65e5c514e196a8679d70268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b700ffaec176492c0707ad5a4ccc6d8d826f7da2f65e5c514e196a8679d70268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b700ffaec176492c0707ad5a4ccc6d8d826f7da2f65e5c514e196a8679d70268", kill_on_drop: false }` [INFO] [stdout] b700ffaec176492c0707ad5a4ccc6d8d826f7da2f65e5c514e196a8679d70268 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 433b2f397195a3c4b04fc5b81c13d5e19ea515faf13ae41438b0162ddd7bd316 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "433b2f397195a3c4b04fc5b81c13d5e19ea515faf13ae41438b0162ddd7bd316", kill_on_drop: false }` [INFO] [stderr] Checking kolgac_errors v0.1.0 (/opt/rustwide/workdir/kolgac_errors) [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling lazy_static v1.0.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v2.3.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking kolgac v0.1.0 (/opt/rustwide/workdir/kolgac) [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking atty v0.2.14 [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 heck v0.3.1 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking kolgac_ir v0.1.0 (/opt/rustwide/workdir/kolgac_ir) [INFO] [stderr] Checking kolgac_types v0.1.0 (/opt/rustwide/workdir/kolgac_types) [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [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 aho-corasick v0.7.13 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling llvm-sys v100.2.0 [INFO] [stderr] Checking kolgac_llvm v0.1.0 (/opt/rustwide/workdir/kolgac_llvm) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [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 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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: 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: getting the inner pointer of a temporary `CString` [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 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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stdout] warning: function is never used: `run` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `diff_files` [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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 [unoptimized + debuginfo] target(s) in 35.86s [INFO] running `Command { std: "docker" "inspect" "433b2f397195a3c4b04fc5b81c13d5e19ea515faf13ae41438b0162ddd7bd316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "433b2f397195a3c4b04fc5b81c13d5e19ea515faf13ae41438b0162ddd7bd316", kill_on_drop: false }` [INFO] [stdout] 433b2f397195a3c4b04fc5b81c13d5e19ea515faf13ae41438b0162ddd7bd316