[INFO] cloning repository https://github.com/cardinalcat/cppbuild [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cardinalcat/cppbuild" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcardinalcat%2Fcppbuild", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcardinalcat%2Fcppbuild'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87986a381d059dc692ada34590cc930c6fdab6d6 [INFO] testing cardinalcat/cppbuild against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcardinalcat%2Fcppbuild" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cardinalcat/cppbuild on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cardinalcat/cppbuild [INFO] finished tweaking git repo https://github.com/cardinalcat/cppbuild [INFO] tweaked toml for git repo https://github.com/cardinalcat/cppbuild written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/cardinalcat/cppbuild already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe4fe2899fe7d129ac68c7abe3d8c39ebe880a6144810113d9f640d8fa6b08b5 [INFO] running `Command { std: "docker" "start" "-a" "fe4fe2899fe7d129ac68c7abe3d8c39ebe880a6144810113d9f640d8fa6b08b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe4fe2899fe7d129ac68c7abe3d8c39ebe880a6144810113d9f640d8fa6b08b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4fe2899fe7d129ac68c7abe3d8c39ebe880a6144810113d9f640d8fa6b08b5", kill_on_drop: false }` [INFO] [stdout] fe4fe2899fe7d129ac68c7abe3d8c39ebe880a6144810113d9f640d8fa6b08b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3626d55d33e4be193d662300bf2799ba4da987f6d4a78689ec80073ed30d999a [INFO] running `Command { std: "docker" "start" "-a" "3626d55d33e4be193d662300bf2799ba4da987f6d4a78689ec80073ed30d999a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling libflate_lz77 v1.0.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling pkg-config v0.3.17 (/opt/rustwide/workdir/pkg-config) [INFO] [stderr] Compiling whoami v0.8.1 [INFO] [stderr] Compiling rust_info v0.3.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling filetime v0.2.9 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling libflate v1.0.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling tokio v0.2.17 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling clang v0.23.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling llvm-sys v100.0.1 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling cppbuild v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clang::source::Location` [INFO] [stdout] --> src/compiler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clang::source::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `llvm_sys::core::*` [INFO] [stdout] --> src/runtime.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/runtime.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | let mut engine = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/program.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/program.rs:132:63 [INFO] [stdout] | [INFO] [stdout] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/compiler.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn generate_module(entry: T){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errorcode` [INFO] [stdout] --> src/runtime.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let errorcode = LLVMCreateExecutionEngineForModule(&mut engine, module, &mut err); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errorcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source_files` [INFO] [stdout] --> src/compiler.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | source_files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/compiler.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | context: LLVMContextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `modules` [INFO] [stdout] --> src/compiler.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | modules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arguments` [INFO] [stdout] --> src/compiler.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `engine` [INFO] [stdout] --> src/runtime.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | engine: *mut LLVMExecutionEngineRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `err` [INFO] [stdout] --> src/runtime.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | err: *mut *mut c_char, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clang::source::Location` [INFO] [stdout] --> src/compiler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clang::source::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compiler` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use compiler::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/program.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/program.rs:132:63 [INFO] [stdout] | [INFO] [stdout] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/compiler.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn generate_module(entry: T){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source_files` [INFO] [stdout] --> src/compiler.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | source_files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/compiler.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | context: LLVMContextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `modules` [INFO] [stdout] --> src/compiler.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | modules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arguments` [INFO] [stdout] --> src/compiler.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.83s [INFO] running `Command { std: "docker" "inspect" "3626d55d33e4be193d662300bf2799ba4da987f6d4a78689ec80073ed30d999a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3626d55d33e4be193d662300bf2799ba4da987f6d4a78689ec80073ed30d999a", kill_on_drop: false }` [INFO] [stdout] 3626d55d33e4be193d662300bf2799ba4da987f6d4a78689ec80073ed30d999a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 589108f85a72693f46662c71fa99b3ed50460e01aeafd068af09898daf6114ce [INFO] running `Command { std: "docker" "start" "-a" "589108f85a72693f46662c71fa99b3ed50460e01aeafd068af09898daf6114ce", kill_on_drop: false }` [INFO] [stderr] Compiling cppbuild v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clang::source::Location` [INFO] [stdout] --> src/compiler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clang::source::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `llvm_sys::core::*` [INFO] [stdout] --> src/runtime.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/runtime.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | let mut engine = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/program.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/program.rs:132:63 [INFO] [stdout] | [INFO] [stdout] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/compiler.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn generate_module(entry: T){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errorcode` [INFO] [stdout] --> src/runtime.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let errorcode = LLVMCreateExecutionEngineForModule(&mut engine, module, &mut err); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errorcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source_files` [INFO] [stdout] --> src/compiler.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | source_files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/compiler.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | context: LLVMContextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `modules` [INFO] [stdout] --> src/compiler.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | modules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arguments` [INFO] [stdout] --> src/compiler.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `engine` [INFO] [stdout] --> src/runtime.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | engine: *mut LLVMExecutionEngineRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `err` [INFO] [stdout] --> src/runtime.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | err: *mut *mut c_char, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clang::source::Location` [INFO] [stdout] --> src/compiler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clang::source::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `llvm_sys::core::*` [INFO] [stdout] --> src/runtime.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use llvm_sys::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clang::source::Location` [INFO] [stdout] --> src/compiler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clang::source::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/runtime.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | let mut engine = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compiler` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use compiler::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/program.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/program.rs:132:63 [INFO] [stdout] | [INFO] [stdout] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/compiler.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn generate_module(entry: T){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/program.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/program.rs:132:63 [INFO] [stdout] | [INFO] [stdout] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/compiler.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn generate_module(entry: T){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errorcode` [INFO] [stdout] --> src/runtime.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let errorcode = LLVMCreateExecutionEngineForModule(&mut engine, module, &mut err); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errorcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source_files` [INFO] [stdout] --> src/compiler.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | source_files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/compiler.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | context: LLVMContextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `modules` [INFO] [stdout] --> src/compiler.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | modules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arguments` [INFO] [stdout] --> src/compiler.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source_files` [INFO] [stdout] --> src/compiler.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | source_files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/compiler.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | context: LLVMContextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `modules` [INFO] [stdout] --> src/compiler.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | modules: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arguments` [INFO] [stdout] --> src/compiler.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `engine` [INFO] [stdout] --> src/runtime.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | engine: *mut LLVMExecutionEngineRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `err` [INFO] [stdout] --> src/runtime.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | err: *mut *mut c_char, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "589108f85a72693f46662c71fa99b3ed50460e01aeafd068af09898daf6114ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "589108f85a72693f46662c71fa99b3ed50460e01aeafd068af09898daf6114ce", kill_on_drop: false }` [INFO] [stdout] 589108f85a72693f46662c71fa99b3ed50460e01aeafd068af09898daf6114ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 52f3b11f6bf116a5fdf0d9f2c23b26ae0b5f0ff4b488085673d245fe79892b5f [INFO] running `Command { std: "docker" "start" "-a" "52f3b11f6bf116a5fdf0d9f2c23b26ae0b5f0ff4b488085673d245fe79892b5f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> src/compiler.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `clang::source::Location` [INFO] [stderr] --> src/compiler.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use clang::source::Location; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `llvm_sys::core::*` [INFO] [stderr] --> src/runtime.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use llvm_sys::core::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/runtime.rs:14:35 [INFO] [stderr] | [INFO] [stderr] 14 | let mut engine = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mode` [INFO] [stderr] --> src/program.rs:132:46 [INFO] [stderr] | [INFO] [stderr] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/program.rs:132:63 [INFO] [stderr] | [INFO] [stderr] 132 | fn create(project: &Project, path: &str, mode: BuildMode, file: Option<&str>) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entry` [INFO] [stderr] --> src/compiler.rs:76:41 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn generate_module(entry: T){ [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errorcode` [INFO] [stderr] --> src/runtime.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | let errorcode = LLVMCreateExecutionEngineForModule(&mut engine, module, &mut err); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errorcode` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `source_files` [INFO] [stderr] --> src/compiler.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | source_files: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `context` [INFO] [stderr] --> src/compiler.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | context: LLVMContextRef, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `modules` [INFO] [stderr] --> src/compiler.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | modules: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `arguments` [INFO] [stderr] --> src/compiler.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | arguments: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `engine` [INFO] [stderr] --> src/runtime.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | engine: *mut LLVMExecutionEngineRef, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `err` [INFO] [stderr] --> src/runtime.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | err: *mut *mut c_char, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cppbuild` (lib) generated 14 warnings [INFO] [stderr] warning: `cppbuild` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] warning: unused import: `compiler` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use compiler::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cppbuild` (bin "cppbuild" test) generated 10 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cppbuild-8de0b2b5b54d5c5b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cppbuild-afe07f8e911e16e9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cppbuild [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "52f3b11f6bf116a5fdf0d9f2c23b26ae0b5f0ff4b488085673d245fe79892b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f3b11f6bf116a5fdf0d9f2c23b26ae0b5f0ff4b488085673d245fe79892b5f", kill_on_drop: false }` [INFO] [stdout] 52f3b11f6bf116a5fdf0d9f2c23b26ae0b5f0ff4b488085673d245fe79892b5f