[INFO] cloning repository https://github.com/BookOwl/kaleidoscope-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BookOwl/kaleidoscope-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBookOwl%2Fkaleidoscope-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBookOwl%2Fkaleidoscope-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0a5bf9b7e47935cf74cd61cf88af74969dba876 [INFO] checking BookOwl/kaleidoscope-rs against master#893fadd11a52aa26fc19c67ee1b79f03d6a1bed3 for pr-77153 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBookOwl%2Fkaleidoscope-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BookOwl/kaleidoscope-rs on toolchain 893fadd11a52aa26fc19c67ee1b79f03d6a1bed3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BookOwl/kaleidoscope-rs [INFO] finished tweaking git repo https://github.com/BookOwl/kaleidoscope-rs [INFO] tweaked toml for git repo https://github.com/BookOwl/kaleidoscope-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/BookOwl/kaleidoscope-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/TomBebb/llvm-rs.git` [INFO] [stderr] Updating git repository `https://github.com/TomBebbington/llvm-sys.rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f974033430b23c72b7d39c246bd8140a56ad6de6c6050c5e4c971d228f6f29c [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" "8f974033430b23c72b7d39c246bd8140a56ad6de6c6050c5e4c971d228f6f29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f974033430b23c72b7d39c246bd8140a56ad6de6c6050c5e4c971d228f6f29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f974033430b23c72b7d39c246bd8140a56ad6de6c6050c5e4c971d228f6f29c", kill_on_drop: false }` [INFO] [stdout] 8f974033430b23c72b7d39c246bd8140a56ad6de6c6050c5e4c971d228f6f29c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 05a3ea6eb7018fd03f0779e2b4a9a5d5e006b1c458fa76a1f5471b05e66d94cc [INFO] running `Command { std: "docker" "start" "-a" "05a3ea6eb7018fd03f0779e2b4a9a5d5e006b1c458fa76a1f5471b05e66d94cc", 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] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Compiling llvm-alt v0.5.0 (https://github.com/TomBebb/llvm-rs.git#1aeff086) [INFO] [stderr] Checking cbox v0.3.0 [INFO] [stderr] Compiling llvm-sys v0.3.0 (https://github.com/TomBebbington/llvm-sys.rs#88a4f2da) [INFO] [stderr] Compiling kaleidoscope v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `llvm::Attribute::*` [INFO] [stdout] --> src/codegen.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm::Attribute::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/jit.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write, stdin, stdout}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `llvm::Attribute::*` [INFO] [stdout] --> src/jit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm::Attribute::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `llvm::Function` [INFO] [stdout] --> src/jit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llvm::Function; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `llvm::Attribute::*` [INFO] [stdout] --> src/codegen.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm::Attribute::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/jit.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, Write, stdin, stdout}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `llvm::Attribute::*` [INFO] [stdout] --> src/jit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use llvm::Attribute::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `llvm::Function` [INFO] [stdout] --> src/jit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use llvm::Function; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/jit.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | if input.trim_left() == "" { [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut func = module.get_function(&function_ast.prototype.name); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/jit.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/jit.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | codegen::generate_prototype(&proto, &module, &context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/jit.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | if input.trim_left() == "" { [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/codegen.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let func = generate_function(&ast, &builder, &module, &ctx).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/codegen.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let func = generate_function(&ast, &builder, &module, &ctx).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut func = module.get_function(&function_ast.prototype.name); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/jit.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/jit.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | codegen::generate_prototype(&proto, &module, &context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.35s [INFO] running `Command { std: "docker" "inspect" "05a3ea6eb7018fd03f0779e2b4a9a5d5e006b1c458fa76a1f5471b05e66d94cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05a3ea6eb7018fd03f0779e2b4a9a5d5e006b1c458fa76a1f5471b05e66d94cc", kill_on_drop: false }` [INFO] [stdout] 05a3ea6eb7018fd03f0779e2b4a9a5d5e006b1c458fa76a1f5471b05e66d94cc