[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] checking cardinalcat/cppbuild against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcardinalcat%2Fcppbuild" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cardinalcat/cppbuild on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cardinalcat/cppbuild [INFO] removed path dependency pkg-config from 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-5/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 970a28d1f0e72b774bd55439f9b1c4d620b51a916d7b6e6c78b524b3c5809b03 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "970a28d1f0e72b774bd55439f9b1c4d620b51a916d7b6e6c78b524b3c5809b03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "970a28d1f0e72b774bd55439f9b1c4d620b51a916d7b6e6c78b524b3c5809b03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "970a28d1f0e72b774bd55439f9b1c4d620b51a916d7b6e6c78b524b3c5809b03", kill_on_drop: false }` [INFO] [stdout] 970a28d1f0e72b774bd55439f9b1c4d620b51a916d7b6e6c78b524b3c5809b03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aeb6adfa227857b50fa15058c4db4e1409e32a538a3e660b0252b0bf4dbaefb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5aeb6adfa227857b50fa15058c4db4e1409e32a538a3e660b0252b0bf4dbaefb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking whoami v0.8.1 [INFO] [stderr] Checking rust_info v0.3.0 [INFO] [stderr] Checking pkg-config v0.3.17 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.22 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking libflate v1.0.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking mime_guess v2.0.3 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking filetime v0.2.9 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tar v0.4.26 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking clang v0.23.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.17 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling llvm-sys v100.0.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking 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:30 [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 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:30 [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: 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: 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: `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: 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] [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 1m 28s [INFO] running `Command { std: "docker" "inspect" "5aeb6adfa227857b50fa15058c4db4e1409e32a538a3e660b0252b0bf4dbaefb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aeb6adfa227857b50fa15058c4db4e1409e32a538a3e660b0252b0bf4dbaefb", kill_on_drop: false }` [INFO] [stdout] 5aeb6adfa227857b50fa15058c4db4e1409e32a538a3e660b0252b0bf4dbaefb