[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcardinalcat%2Fcppbuild" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cardinalcat/cppbuild on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-22/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03e72a229a9acfda6e9d8c7aaf36f433d60ba2afd8cb6a4bdf14f756968278a9 [INFO] running `Command { std: "docker" "start" "-a" "03e72a229a9acfda6e9d8c7aaf36f433d60ba2afd8cb6a4bdf14f756968278a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03e72a229a9acfda6e9d8c7aaf36f433d60ba2afd8cb6a4bdf14f756968278a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e72a229a9acfda6e9d8c7aaf36f433d60ba2afd8cb6a4bdf14f756968278a9", kill_on_drop: false }` [INFO] [stdout] 03e72a229a9acfda6e9d8c7aaf36f433d60ba2afd8cb6a4bdf14f756968278a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e13caeea8c9e63f86231b65f37251ff550ef7619cdd7eac0fc056f2f162963a [INFO] running `Command { std: "docker" "start" "-a" "7e13caeea8c9e63f86231b65f37251ff550ef7619cdd7eac0fc056f2f162963a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling libflate_lz77 v1.0.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling rust_info v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.17 (/opt/rustwide/workdir/pkg-config) [INFO] [stderr] Compiling whoami v0.8.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling libflate v1.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling clang v0.23.0 [INFO] [stderr] Compiling tokio v0.2.17 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling llvm-sys v100.0.1 [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 tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling h2 v0.2.4 [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 18.92s [INFO] running `Command { std: "docker" "inspect" "7e13caeea8c9e63f86231b65f37251ff550ef7619cdd7eac0fc056f2f162963a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e13caeea8c9e63f86231b65f37251ff550ef7619cdd7eac0fc056f2f162963a", kill_on_drop: false }` [INFO] [stdout] 7e13caeea8c9e63f86231b65f37251ff550ef7619cdd7eac0fc056f2f162963a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2835568e59faa70aab81c2b4710718260aab675f50df38a21e21c3b371704017 [INFO] running `Command { std: "docker" "start" "-a" "2835568e59faa70aab81c2b4710718260aab675f50df38a21e21c3b371704017", kill_on_drop: false }` [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] [stderr] Compiling cppbuild v0.1.1 (/opt/rustwide/workdir) [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: `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 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 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: 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: 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: 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.41s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cppbuild-a0484e7df37b68d0) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cppbuild-f90fbb998d2b3f6f) [INFO] running `Command { std: "docker" "inspect" "2835568e59faa70aab81c2b4710718260aab675f50df38a21e21c3b371704017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2835568e59faa70aab81c2b4710718260aab675f50df38a21e21c3b371704017", kill_on_drop: false }` [INFO] [stdout] 2835568e59faa70aab81c2b4710718260aab675f50df38a21e21c3b371704017 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9fa2cd2e47ab6cdcc71d545b4b905934f3a5dd8ca07cfa8e0c86d97140d195a [INFO] running `Command { std: "docker" "start" "-a" "e9fa2cd2e47ab6cdcc71d545b4b905934f3a5dd8ca07cfa8e0c86d97140d195a", 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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cppbuild-a0484e7df37b68d0) [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 src/main.rs (/opt/rustwide/target/debug/deps/cppbuild-f90fbb998d2b3f6f) [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" "e9fa2cd2e47ab6cdcc71d545b4b905934f3a5dd8ca07cfa8e0c86d97140d195a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9fa2cd2e47ab6cdcc71d545b4b905934f3a5dd8ca07cfa8e0c86d97140d195a", kill_on_drop: false }` [INFO] [stdout] e9fa2cd2e47ab6cdcc71d545b4b905934f3a5dd8ca07cfa8e0c86d97140d195a