[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.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcardinalcat%2Fcppbuild" "/workspace/builds/worker-109/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-109/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cardinalcat/cppbuild on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-109/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.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libflate v1.0.0 [INFO] [stderr] Downloaded llvm-sys v100.0.1 [INFO] [stderr] Downloaded rust_info v0.3.0 [INFO] [stderr] Downloaded whoami v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 348bca55ce790a91b153bafa988d5c66e88c346293fa663bf23af6857bc3addb [INFO] running `Command { std: "docker" "start" "-a" "348bca55ce790a91b153bafa988d5c66e88c346293fa663bf23af6857bc3addb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "348bca55ce790a91b153bafa988d5c66e88c346293fa663bf23af6857bc3addb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "348bca55ce790a91b153bafa988d5c66e88c346293fa663bf23af6857bc3addb", kill_on_drop: false }` [INFO] [stdout] 348bca55ce790a91b153bafa988d5c66e88c346293fa663bf23af6857bc3addb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05b4c37e9ac1b19bb00e7499b1ad6c213a3f15d2091bbef2ba8e9827114f7a4a [INFO] running `Command { std: "docker" "start" "-a" "05b4c37e9ac1b19bb00e7499b1ad6c213a3f15d2091bbef2ba8e9827114f7a4a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling libflate_lz77 v1.0.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rust_info v0.3.0 [INFO] [stderr] Compiling whoami v0.8.1 [INFO] [stderr] Compiling pkg-config v0.3.17 (/opt/rustwide/workdir/pkg-config) [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [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 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 xattr v0.2.2 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling filetime v0.2.9 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling clang v0.23.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling tokio v0.2.17 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling llvm-sys v100.0.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.106 [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 37.58s [INFO] running `Command { std: "docker" "inspect" "05b4c37e9ac1b19bb00e7499b1ad6c213a3f15d2091bbef2ba8e9827114f7a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05b4c37e9ac1b19bb00e7499b1ad6c213a3f15d2091bbef2ba8e9827114f7a4a", kill_on_drop: false }` [INFO] [stdout] 05b4c37e9ac1b19bb00e7499b1ad6c213a3f15d2091bbef2ba8e9827114f7a4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22242a162072bd704df68f07821bef00de7a86368ade2d6d481edc4218e94378 [INFO] running `Command { std: "docker" "start" "-a" "22242a162072bd704df68f07821bef00de7a86368ade2d6d481edc4218e94378", 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] [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] [stderr] Compiling cppbuild v0.1.1 (/opt/rustwide/workdir) [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: 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: 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: `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: 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] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.99s [INFO] running `Command { std: "docker" "inspect" "22242a162072bd704df68f07821bef00de7a86368ade2d6d481edc4218e94378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22242a162072bd704df68f07821bef00de7a86368ade2d6d481edc4218e94378", kill_on_drop: false }` [INFO] [stdout] 22242a162072bd704df68f07821bef00de7a86368ade2d6d481edc4218e94378 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c0edf33cb9c3b96895e449bc7508fbcdf3d1c1f927e3a3b7040efa9989d2e617 [INFO] running `Command { std: "docker" "start" "-a" "c0edf33cb9c3b96895e449bc7508fbcdf3d1c1f927e3a3b7040efa9989d2e617", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.36s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cppbuild-549751b9584d7b4e) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cppbuild-9285fb16a10b792c) [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] [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" "c0edf33cb9c3b96895e449bc7508fbcdf3d1c1f927e3a3b7040efa9989d2e617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0edf33cb9c3b96895e449bc7508fbcdf3d1c1f927e3a3b7040efa9989d2e617", kill_on_drop: false }` [INFO] [stdout] c0edf33cb9c3b96895e449bc7508fbcdf3d1c1f927e3a3b7040efa9989d2e617