[INFO] cloning repository https://github.com/vsl-lang/vsl-objc-bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vsl-lang/vsl-objc-bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvsl-lang%2Fvsl-objc-bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvsl-lang%2Fvsl-objc-bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e892e2a495abfb8aea3613090db5a5769381318 [INFO] checking vsl-lang/vsl-objc-bindgen against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvsl-lang%2Fvsl-objc-bindgen" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vsl-lang/vsl-objc-bindgen on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vsl-lang/vsl-objc-bindgen [INFO] finished tweaking git repo https://github.com/vsl-lang/vsl-objc-bindgen [INFO] tweaked toml for git repo https://github.com/vsl-lang/vsl-objc-bindgen written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/vsl-lang/vsl-objc-bindgen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_env_logger v0.2.2 [INFO] [stderr] Downloaded clang-sys v0.22.0 [INFO] [stderr] Downloaded clang v0.19.0 [INFO] [stderr] Downloaded atty v0.2.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80ebc079042657230fc05ae242f99cf7129a17abafa87e8f9fbeae01f2533ec7 [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" "80ebc079042657230fc05ae242f99cf7129a17abafa87e8f9fbeae01f2533ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80ebc079042657230fc05ae242f99cf7129a17abafa87e8f9fbeae01f2533ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80ebc079042657230fc05ae242f99cf7129a17abafa87e8f9fbeae01f2533ec7", kill_on_drop: false }` [INFO] [stdout] 80ebc079042657230fc05ae242f99cf7129a17abafa87e8f9fbeae01f2533ec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d90df7296df25051e0a1875bcc5594cf500762475da6ebd37648a0a4e05264f [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" "4d90df7296df25051e0a1875bcc5594cf500762475da6ebd37648a0a4e05264f", kill_on_drop: false }` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking atty v0.2.9 [INFO] [stderr] Compiling clang-sys v0.22.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking colored v1.6.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking regex-syntax v0.5.5 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking clang v0.19.0 [INFO] [stderr] Checking regex v0.2.10 [INFO] [stderr] Checking env_logger v0.5.9 [INFO] [stderr] Checking pretty_env_logger v0.2.2 [INFO] [stderr] Checking vsl_objc_bindgen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::symbol_status::SymbolStatus` [INFO] [stdout] --> src/commands/gen/interface_decl.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::symbol_status::SymbolStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::symbol_status::SymbolStatus` [INFO] [stdout] --> src/commands/gen/objc_instance_method.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::symbol_status::SymbolStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compile_entity_children` [INFO] [stdout] --> src/commands/gen/objc_instance_method.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::compile_entity_children; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::CType` [INFO] [stdout] --> src/commands/gen/objc_instance_method.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::CType; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::symbol_status::SymbolStatus` [INFO] [stdout] --> src/commands/gen/objc_static_method.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::symbol_status::SymbolStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compile_entity_children` [INFO] [stdout] --> src/commands/gen/objc_static_method.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::compile_entity_children; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::symbol_status::SymbolStatus` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::symbol_status::SymbolStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compile_entity_children` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::compile_entity_children; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/commands/gen/typedef_decl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::symbol_status::SymbolStatus` [INFO] [stdout] --> src/commands/gen/typedef_decl.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::symbol_status::SymbolStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::symbol_status::SymbolStatus` [INFO] [stdout] --> src/commands/gen/interface_decl.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::symbol_status::SymbolStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::symbol_status::SymbolStatus` [INFO] [stdout] --> src/commands/gen/objc_instance_method.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::symbol_status::SymbolStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compile_entity_children` [INFO] [stdout] --> src/commands/gen/objc_instance_method.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::compile_entity_children; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::CType` [INFO] [stdout] --> src/commands/gen/objc_instance_method.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::CType; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::symbol_status::SymbolStatus` [INFO] [stdout] --> src/commands/gen/objc_static_method.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::symbol_status::SymbolStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compile_entity_children` [INFO] [stdout] --> src/commands/gen/objc_static_method.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::compile_entity_children; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::symbol_status::SymbolStatus` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::symbol_status::SymbolStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compile_entity_children` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::compile_entity_children; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/commands/gen/typedef_decl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::symbol_status::SymbolStatus` [INFO] [stdout] --> src/commands/gen/typedef_decl.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::symbol_status::SymbolStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sdk_path` [INFO] [stdout] --> src/commands/compile.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let sdk_path = artifact.get_sdk_path(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sdk_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform_path` [INFO] [stdout] --> src/commands/compile.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let platform_path = artifact.get_platform_path(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/commands/create.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn cli(matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | gen_fmt!(gen_context, get_itf, "@interface {} : {} {{\n", GenContext::get_class_name(&entity_name), entity_name); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | gen_fmt!(gen_context, get_itf, " {}* vtable;\n}}\n\n", GenContext::get_vtable_name(&entity_name)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | gen_all!(gen_context, get_vtable, b"typedef struct {\n"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | gen_fmt!(gen_context, get_impl, "@implementation {}\n\n", GenContext::get_class_name(&entity_name)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | gen_fmt!(gen_context, get_vsl, "public class {} {{\n", entity_name); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | gen_all!(gen_context, get_itf, b"@end\n\n"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | gen_fmt!(gen_context, get_impl, "@end\n\n"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | gen_fmt!(gen_context, get_vtable, "}} {};\n\n", GenContext::get_vtable_name(&entity_name)); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | gen_all!(gen_context, get_vsl, b"}\n\n"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initializer_name` [INFO] [stdout] --> src/commands/gen/objc_instance_method.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let initializer_name = entity_name.replacen("init", "", 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initializer_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | gen_fmt!(gen_context, get_vtable, " {}(*{})({});\n", ret_ty_cstr, fn_name, fn_arg_cstrs); [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | gen_fmt!(gen_context, get_impl, "- ({}){} {{\n ", ret_ty_cstr, proto); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | gen_fmt!(gen_context, get_impl, "[super {}];\n ", super_call); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | gen_all!(gen_context, get_impl, b"return "); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | gen_fmt!(gen_context, get_impl, "vtable->{}({});\n", fn_name, arg_names); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | gen_all!(gen_context, get_impl, b"}\n\n"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | gen_fmt!(gen_context, get_abi, "// {}\n", entity_name); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | gen_fmt!(gen_context, get_abi, "inline {} {}({}* __vsl_ocpp_self) {{\n ", ret_ty_cstr, mangled_name, parent_ty); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | ... gen_fmt!(gen_context, get_abi, "inline {} {}({}* __vsl_ocpp_self, {}) {{\n ", ret_ty_cstr, mangled_name, parent_ty, mangled_args); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | gen_all!(gen_context, get_abi, b"return ") [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | gen_fmt!(gen_context, get_abi, "[__vsl_ocpp_self {} /* (void) */];\n", fn_name); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | gen_fmt!(gen_context, get_abi, "[__vsl_ocpp_self {}];\n", pub_name_mappings); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | gen_all!(gen_context, get_abi, b"}\n\n"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_abi_vtable_args` [INFO] [stdout] --> src/commands/gen/objc_static_method.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let fn_abi_vtable_args = fn_args [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_abi_vtable_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | gen_fmt!(gen_context, get_abi, "// {}\n", entity_name); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | gen_fmt!(gen_context, get_abi, "inline {} {}() {{\n ", ret_ty.to_string(), mangled_name); [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | gen_fmt!(gen_context, get_abi, "inline {} {}({}) {{\n ", ret_ty.to_string(), mangled_name, mangled_args); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | gen_all!(gen_context, get_abi, b"return ") [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | gen_fmt!(gen_context, get_abi, "[{} {} /* (void) */];\n", parent_ty.to_string(), fn_name); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | gen_fmt!(gen_context, get_abi, "[{} {}];\n", parent_ty.to_string(), fn_abi_call); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | gen_all!(gen_context, get_abi, b"}\n\n"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / gen_fmt!( [INFO] [stdout] 133 | | gen_context, get_vsl, [INFO] [stdout] 134 | | " static func {}({}) -> {} external({})\n", [INFO] [stdout] 135 | | fn_name, [INFO] [stdout] ... | [INFO] [stdout] 138 | | mangled_name [INFO] [stdout] 139 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_name` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | if let Some(entity_name) = entity.get_name() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_ty` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | if let Some(enum_ty) = entity.get_enum_underlying_type() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gen_context` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn gen(gen_context: &mut GenContext, entity: Entity) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/gen/ctype.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn to_string_named(&self, name: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/ctype.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | clamp_error!(self.clang_type.get_sizeof(), "could not get sizeof {:?}", self.clang_type) [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sdk_path` [INFO] [stdout] --> src/commands/compile.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let sdk_path = artifact.get_sdk_path(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sdk_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform_path` [INFO] [stdout] --> src/commands/compile.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let platform_path = artifact.get_platform_path(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/commands/create.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn cli(matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | gen_fmt!(gen_context, get_itf, "@interface {} : {} {{\n", GenContext::get_class_name(&entity_name), entity_name); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | gen_fmt!(gen_context, get_itf, " {}* vtable;\n}}\n\n", GenContext::get_vtable_name(&entity_name)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | gen_all!(gen_context, get_vtable, b"typedef struct {\n"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | gen_fmt!(gen_context, get_impl, "@implementation {}\n\n", GenContext::get_class_name(&entity_name)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | gen_fmt!(gen_context, get_vsl, "public class {} {{\n", entity_name); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | gen_all!(gen_context, get_itf, b"@end\n\n"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | gen_fmt!(gen_context, get_impl, "@end\n\n"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | gen_fmt!(gen_context, get_vtable, "}} {};\n\n", GenContext::get_vtable_name(&entity_name)); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/interface_decl.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | gen_all!(gen_context, get_vsl, b"}\n\n"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initializer_name` [INFO] [stdout] --> src/commands/gen/objc_instance_method.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let initializer_name = entity_name.replacen("init", "", 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initializer_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | gen_fmt!(gen_context, get_vtable, " {}(*{})({});\n", ret_ty_cstr, fn_name, fn_arg_cstrs); [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | gen_fmt!(gen_context, get_impl, "- ({}){} {{\n ", ret_ty_cstr, proto); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | gen_fmt!(gen_context, get_impl, "[super {}];\n ", super_call); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | gen_all!(gen_context, get_impl, b"return "); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | gen_fmt!(gen_context, get_impl, "vtable->{}({});\n", fn_name, arg_names); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | gen_all!(gen_context, get_impl, b"}\n\n"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | gen_fmt!(gen_context, get_abi, "// {}\n", entity_name); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | gen_fmt!(gen_context, get_abi, "inline {} {}({}* __vsl_ocpp_self) {{\n ", ret_ty_cstr, mangled_name, parent_ty); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | ... gen_fmt!(gen_context, get_abi, "inline {} {}({}* __vsl_ocpp_self, {}) {{\n ", ret_ty_cstr, mangled_name, parent_ty, mangled_args); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | gen_all!(gen_context, get_abi, b"return ") [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | gen_fmt!(gen_context, get_abi, "[__vsl_ocpp_self {} /* (void) */];\n", fn_name); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | gen_fmt!(gen_context, get_abi, "[__vsl_ocpp_self {}];\n", pub_name_mappings); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | gen_all!(gen_context, get_abi, b"}\n\n"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_abi_vtable_args` [INFO] [stdout] --> src/commands/gen/objc_static_method.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let fn_abi_vtable_args = fn_args [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_abi_vtable_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | gen_fmt!(gen_context, get_abi, "// {}\n", entity_name); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | gen_fmt!(gen_context, get_abi, "inline {} {}() {{\n ", ret_ty.to_string(), mangled_name); [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | gen_fmt!(gen_context, get_abi, "inline {} {}({}) {{\n ", ret_ty.to_string(), mangled_name, mangled_args); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | gen_all!(gen_context, get_abi, b"return ") [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | gen_fmt!(gen_context, get_abi, "[{} {} /* (void) */];\n", parent_ty.to_string(), fn_name); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | gen_fmt!(gen_context, get_abi, "[{} {}];\n", parent_ty.to_string(), fn_abi_call); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | gen_all!(gen_context, get_abi, b"}\n\n"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_static_method.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / gen_fmt!( [INFO] [stdout] 133 | | gen_context, get_vsl, [INFO] [stdout] 134 | | " static func {}({}) -> {} external({})\n", [INFO] [stdout] 135 | | fn_name, [INFO] [stdout] ... | [INFO] [stdout] 138 | | mangled_name [INFO] [stdout] 139 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_name` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | if let Some(entity_name) = entity.get_name() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_ty` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | if let Some(enum_ty) = entity.get_enum_underlying_type() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gen_context` [INFO] [stdout] --> src/commands/gen/enum_decl.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn gen(gen_context: &mut GenContext, entity: Entity) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/gen/ctype.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn to_string_named(&self, name: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/macros.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | Err(err) => error_exit!($($arg)*) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/ctype.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | clamp_error!(self.clang_type.get_sizeof(), "could not get sizeof {:?}", self.clang_type) [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/gen/gen_context.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ty_str = match ty.map_or(TypeKind::Void, |t| t.get_kind()) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | .map(|arg_ty| ty_to_cstr!(arg_ty, entity)) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/gen/gen_context.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ty_str = match ty.map_or(TypeKind::Void, |t| t.get_kind()) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:82:83 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|((priv_name, pub_name), ty)| format!("{}:({}){}", pub_name, ty_to_cstr!(ty, entity), priv_name)) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/gen/gen_context.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ty_str = match ty.map_or(TypeKind::Void, |t| t.get_kind()) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | let ty_string = ty_to_cstr!(ty, entity); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/gen/gen_context.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ty_str = match ty.map_or(TypeKind::Void, |t| t.get_kind()) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | let ret_ty_cstr = ty_to_cstr!(ret_ty, entity); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/gen/ctype.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ty_str = match self.clang_type.get_kind() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_underlying_type` [INFO] [stdout] --> src/commands/gen/ctype.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_underlying_type(&self) -> &Type<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/commands/gen/interface_decl.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] use super::gen_context::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/commands/gen/enum_decl.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] use super::gen_context::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/commands/gen/typedef_decl.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] use super::gen_context::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/gen/gen_context.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ty_str = match ty.map_or(TypeKind::Void, |t| t.get_kind()) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | .map(|arg_ty| ty_to_cstr!(arg_ty, entity)) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/gen/gen_context.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ty_str = match ty.map_or(TypeKind::Void, |t| t.get_kind()) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:82:83 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|((priv_name, pub_name), ty)| format!("{}:({}){}", pub_name, ty_to_cstr!(ty, entity), priv_name)) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/gen/gen_context.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ty_str = match ty.map_or(TypeKind::Void, |t| t.get_kind()) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | let ty_string = ty_to_cstr!(ty, entity); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/gen/gen_context.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ty_str = match ty.map_or(TypeKind::Void, |t| t.get_kind()) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/gen/objc_instance_method.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | let ret_ty_cstr = ty_to_cstr!(ret_ty, entity); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/gen/ctype.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ty_str = match self.clang_type.get_kind() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | ctx.itf_out.write_fmt(format_args!("#include \"{}\"\n\n", &vtable_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | ctx.impl_out.write_fmt(format_args!("#include \"{}\"\n\n", &itf_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ctx.abi_out.write_fmt(format_args!("#include \"{}\"\n\n", &itf_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | ctx.vtable_out.write_fmt(format_args!("#import {}\n\n", include)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ctx.itf_out.write_fmt(format_args!("#import {}\n\n", include)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | ctx.abi_out.write_all(b"extern \"C\" {\n\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | self.abi_out.write_all(b"}\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_underlying_type` [INFO] [stdout] --> src/commands/gen/ctype.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_underlying_type(&self) -> &Type<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/commands/gen/interface_decl.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] use super::gen_context::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/commands/gen/enum_decl.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] use super::gen_context::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/commands/gen/typedef_decl.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] use super::gen_context::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | ctx.itf_out.write_fmt(format_args!("#include \"{}\"\n\n", &vtable_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | ctx.impl_out.write_fmt(format_args!("#include \"{}\"\n\n", &itf_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ctx.abi_out.write_fmt(format_args!("#include \"{}\"\n\n", &itf_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | ctx.vtable_out.write_fmt(format_args!("#import {}\n\n", include)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ctx.itf_out.write_fmt(format_args!("#import {}\n\n", include)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | ctx.abi_out.write_all(b"extern \"C\" {\n\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/gen/gen_context.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | self.abi_out.write_all(b"}\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.86s [INFO] running `Command { std: "docker" "inspect" "4d90df7296df25051e0a1875bcc5594cf500762475da6ebd37648a0a4e05264f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d90df7296df25051e0a1875bcc5594cf500762475da6ebd37648a0a4e05264f", kill_on_drop: false }` [INFO] [stdout] 4d90df7296df25051e0a1875bcc5594cf500762475da6ebd37648a0a4e05264f