[INFO] cloning repository https://github.com/alexandre-janniaux/vlc-module-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexandre-janniaux/vlc-module-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexandre-janniaux%2Fvlc-module-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexandre-janniaux%2Fvlc-module-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71eeb658ff5eb92e3429e509972958b69db44eae [INFO] checking alexandre-janniaux/vlc-module-tool against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexandre-janniaux%2Fvlc-module-tool" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alexandre-janniaux/vlc-module-tool [INFO] finished tweaking git repo https://github.com/alexandre-janniaux/vlc-module-tool [INFO] tweaked toml for git repo https://github.com/alexandre-janniaux/vlc-module-tool written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexandre-janniaux/vlc-module-tool on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alexandre-janniaux/vlc-module-tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 842adc4379cceeb2d45990b38ec72b6275e3d78a5ebc5dda3b1fb7e29782b80d [INFO] running `Command { std: "docker" "start" "-a" "842adc4379cceeb2d45990b38ec72b6275e3d78a5ebc5dda3b1fb7e29782b80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "842adc4379cceeb2d45990b38ec72b6275e3d78a5ebc5dda3b1fb7e29782b80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842adc4379cceeb2d45990b38ec72b6275e3d78a5ebc5dda3b1fb7e29782b80d", kill_on_drop: false }` [INFO] [stdout] 842adc4379cceeb2d45990b38ec72b6275e3d78a5ebc5dda3b1fb7e29782b80d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f8505134a9c82298f842508318caf0c418a74270ce3ad24b86925a41ab8d783 [INFO] running `Command { std: "docker" "start" "-a" "7f8505134a9c82298f842508318caf0c418a74270ce3ad24b86925a41ab8d783", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Checking dlopen v0.1.8 [INFO] [stderr] Checking vlc-module-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Symbol` [INFO] [stdout] --> src/main.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use dlopen::symbor::{Library, Symbol, SymBorApi}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VaList` [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ffi::{VaList, CStr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] 233 | VLC_CONFIG_REMOVED => Some(PluginProperty::ConfigRemoved), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] 233 | VLC_CONFIG_REMOVED => Some(PluginProperty::ConfigRemoved), [INFO] [stdout] 234 | VLC_CONFIG_CAPABILITY => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Symbol` [INFO] [stdout] --> src/main.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use dlopen::symbor::{Library, Symbol, SymBorApi}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VaList` [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ffi::{VaList, CStr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 240 | VLC_CONFIG_SHORTCUT => Some(PluginProperty::ConfigShortcut), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 241 | VLC_CONFIG_SAFE => Some(PluginProperty::ConfigSafe), [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 242 | VLC_CONFIG_DESC => Some(PluginProperty::ConfigDesc), [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 243 | VLC_CONFIG_LIST => Some(PluginProperty::ConfigList), [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 162 | VLC_MODULE_CREATE => Some(PluginProperty::ModuleCreate), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 163 | VLC_CONFIG_CREATE => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 176 | VLC_MODULE_SHORTCUT => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 187 | VLC_MODULE_CAPABILITY => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 244 | _ => None, [INFO] [stdout] | ^ ...and 13 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | context: *mut c_void, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | target: *mut c_void, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `VLC_CONFIG_VOLATILE` [INFO] [stdout] --> src/main.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VLC_CONFIG_VOLATIVE` [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + vlc::VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 232 | _VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | let mut plugin_interface = unsafe { vlc::PluginEntry::load(&plugin) }.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sym_copyright` and `sym_license` are never read [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PluginEntry<'a> [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | sym_copyright: Symbol<'a, MetaExportFunc>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | #[dlopen_name="vlc_entry_license"] [INFO] [stdout] 27 | sym_license: Symbol<'a, MetaExportFunc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_MODULE_CPU_REQUIREMENT` is never used [INFO] [stdout] --> src/main.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | const VLC_MODULE_CPU_REQUIREMENT : c_int = 0x100 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ADVANCED_RESERVED` is never used [INFO] [stdout] --> src/main.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | const VLC_CONFIG_ADVANCED_RESERVED : c_int = 0x1003 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_VOLATIVE` is never used [INFO] [stdout] --> src/main.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | const VLC_CONFIG_VOLATIVE : c_int = 0x1004 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_PERSISTENT_OBSOLETE` is never used [INFO] [stdout] --> src/main.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | const VLC_CONFIG_PERSISTENT_OBSOLETE : c_int = 0x1005 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_PRIVATE` is never used [INFO] [stdout] --> src/main.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | const VLC_CONFIG_PRIVATE : c_int = 0x1006 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_OLDNAME_OBSOLETE` is never used [INFO] [stdout] --> src/main.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | const VLC_CONFIG_OLDNAME_OBSOLETE : c_int = 0x100A ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_LIST_OBSOLETE` is never used [INFO] [stdout] --> src/main.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | const VLC_CONFIG_LIST_OBSOLETE : c_int = 0x100D ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ADD_ACTION_OBSOLETE` is never used [INFO] [stdout] --> src/main.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | const VLC_CONFIG_ADD_ACTION_OBSOLETE : c_int = 0x100E ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_LIST_CB_OBSOLETE` is never used [INFO] [stdout] --> src/main.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | const VLC_CONFIG_LIST_CB_OBSOLETE : c_int = 0x1010 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_RGB` is never used [INFO] [stdout] --> src/main.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | const VLC_CONFIG_ITEM_RGB : c_int = 0x41 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_PASSWORD` is never used [INFO] [stdout] --> src/main.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | const VLC_CONFIG_ITEM_PASSWORD : c_int = 0x81 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_KEY` is never used [INFO] [stdout] --> src/main.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | const VLC_CONFIG_ITEM_KEY : c_int = 0x82 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_MODULE` is never used [INFO] [stdout] --> src/main.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | const VLC_CONFIG_ITEM_MODULE : c_int = 0x84 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_MODULE_CAT` is never used [INFO] [stdout] --> src/main.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | const VLC_CONFIG_ITEM_MODULE_CAT : c_int = 0x85 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_MODULE_LIST` is never used [INFO] [stdout] --> src/main.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | const VLC_CONFIG_ITEM_MODULE_LIST : c_int = 0x86 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_MODULE_LIST_CAT` is never used [INFO] [stdout] --> src/main.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const VLC_CONFIG_ITEM_MODULE_LIST_CAT : c_int = 0x87 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_LOADFILE` is never used [INFO] [stdout] --> src/main.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | const VLC_CONFIG_ITEM_LOADFILE : c_int = 0x8C ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_SAVEFILE` is never used [INFO] [stdout] --> src/main.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | const VLC_CONFIG_ITEM_SAVEFILE : c_int = 0x8D ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_DIRECTORY` is never used [INFO] [stdout] --> src/main.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | const VLC_CONFIG_ITEM_DIRECTORY : c_int = 0x8E ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_FONT` is never used [INFO] [stdout] --> src/main.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | const VLC_CONFIG_ITEM_FONT : c_int = 0x8F ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | ConfigCreate(ConfigItemKind), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 120 - ConfigCreate(ConfigItemKind), [INFO] [stdout] 120 + ConfigCreate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | ModuleShortcut(Vec), [INFO] [stdout] | -------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 122 - ModuleShortcut(Vec), [INFO] [stdout] 122 + ModuleShortcut(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | ModuleCapability(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 123 - ModuleCapability(String), [INFO] [stdout] 123 + ModuleCapability(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | ModuleScore(i32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 124 - ModuleScore(i32), [INFO] [stdout] 124 + ModuleScore(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | ModuleName(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 128 - ModuleName(String), [INFO] [stdout] 128 + ModuleName(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | ModuleShortname(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 129 - ModuleShortname(String), [INFO] [stdout] 129 + ModuleShortname(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | ModuleDescription(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 130 - ModuleDescription(String), [INFO] [stdout] 130 + ModuleDescription(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | ModuleHelp(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 131 - ModuleHelp(String), [INFO] [stdout] 131 + ModuleHelp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | ConfigName(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 133 - ConfigName(String), [INFO] [stdout] 133 + ConfigName(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | ConfigCapability(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 141 - ConfigCapability(String), [INFO] [stdout] 141 + ConfigCapability(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 117 | enum PluginProperty [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 121 | ModuleCpuRequirement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ConfigAdvancedReserved, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | ConfigVolatile, [INFO] [stdout] 138 | ConfigPersistentObsolete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | ConfigPrivate, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | ConfigOldNameObsoleted, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | ConfigListObsolete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | ConfigAddActionObsolete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | ConfigList, [INFO] [stdout] 149 | ConfigListCbObsolete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VLC_CONFIG_VOLATILE` should have a snake case name [INFO] [stdout] --> src/main.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `vlc_config_volatile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] 233 | VLC_CONFIG_REMOVED => Some(PluginProperty::ConfigRemoved), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] 233 | VLC_CONFIG_REMOVED => Some(PluginProperty::ConfigRemoved), [INFO] [stdout] 234 | VLC_CONFIG_CAPABILITY => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 240 | VLC_CONFIG_SHORTCUT => Some(PluginProperty::ConfigShortcut), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 241 | VLC_CONFIG_SAFE => Some(PluginProperty::ConfigSafe), [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 242 | VLC_CONFIG_DESC => Some(PluginProperty::ConfigDesc), [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ------------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 243 | VLC_CONFIG_LIST => Some(PluginProperty::ConfigList), [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of similarly named constant `VLC_CONFIG_VOLATIVE` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 162 | VLC_MODULE_CREATE => Some(PluginProperty::ModuleCreate), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 163 | VLC_CONFIG_CREATE => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 176 | VLC_MODULE_SHORTCUT => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 187 | VLC_MODULE_CAPABILITY => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 244 | _ => None, [INFO] [stdout] | ^ ...and 13 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | context: *mut c_void, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | target: *mut c_void, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `VLC_CONFIG_VOLATILE` [INFO] [stdout] --> src/main.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VLC_CONFIG_VOLATIVE` [INFO] [stdout] | [INFO] [stdout] 232 - VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] 232 + vlc::VLC_CONFIG_VOLATIVE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 232 | _VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | let mut plugin_interface = unsafe { vlc::PluginEntry::load(&plugin) }.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sym_copyright` and `sym_license` are never read [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PluginEntry<'a> [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | sym_copyright: Symbol<'a, MetaExportFunc>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | #[dlopen_name="vlc_entry_license"] [INFO] [stdout] 27 | sym_license: Symbol<'a, MetaExportFunc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_MODULE_CPU_REQUIREMENT` is never used [INFO] [stdout] --> src/main.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | const VLC_MODULE_CPU_REQUIREMENT : c_int = 0x100 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ADVANCED_RESERVED` is never used [INFO] [stdout] --> src/main.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | const VLC_CONFIG_ADVANCED_RESERVED : c_int = 0x1003 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_VOLATIVE` is never used [INFO] [stdout] --> src/main.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | const VLC_CONFIG_VOLATIVE : c_int = 0x1004 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_PERSISTENT_OBSOLETE` is never used [INFO] [stdout] --> src/main.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | const VLC_CONFIG_PERSISTENT_OBSOLETE : c_int = 0x1005 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_PRIVATE` is never used [INFO] [stdout] --> src/main.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | const VLC_CONFIG_PRIVATE : c_int = 0x1006 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_OLDNAME_OBSOLETE` is never used [INFO] [stdout] --> src/main.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | const VLC_CONFIG_OLDNAME_OBSOLETE : c_int = 0x100A ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_LIST_OBSOLETE` is never used [INFO] [stdout] --> src/main.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | const VLC_CONFIG_LIST_OBSOLETE : c_int = 0x100D ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ADD_ACTION_OBSOLETE` is never used [INFO] [stdout] --> src/main.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | const VLC_CONFIG_ADD_ACTION_OBSOLETE : c_int = 0x100E ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_LIST_CB_OBSOLETE` is never used [INFO] [stdout] --> src/main.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | const VLC_CONFIG_LIST_CB_OBSOLETE : c_int = 0x1010 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_RGB` is never used [INFO] [stdout] --> src/main.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | const VLC_CONFIG_ITEM_RGB : c_int = 0x41 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_PASSWORD` is never used [INFO] [stdout] --> src/main.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | const VLC_CONFIG_ITEM_PASSWORD : c_int = 0x81 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_KEY` is never used [INFO] [stdout] --> src/main.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | const VLC_CONFIG_ITEM_KEY : c_int = 0x82 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_MODULE` is never used [INFO] [stdout] --> src/main.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | const VLC_CONFIG_ITEM_MODULE : c_int = 0x84 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_MODULE_CAT` is never used [INFO] [stdout] --> src/main.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | const VLC_CONFIG_ITEM_MODULE_CAT : c_int = 0x85 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_MODULE_LIST` is never used [INFO] [stdout] --> src/main.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | const VLC_CONFIG_ITEM_MODULE_LIST : c_int = 0x86 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_MODULE_LIST_CAT` is never used [INFO] [stdout] --> src/main.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const VLC_CONFIG_ITEM_MODULE_LIST_CAT : c_int = 0x87 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_LOADFILE` is never used [INFO] [stdout] --> src/main.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | const VLC_CONFIG_ITEM_LOADFILE : c_int = 0x8C ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_SAVEFILE` is never used [INFO] [stdout] --> src/main.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | const VLC_CONFIG_ITEM_SAVEFILE : c_int = 0x8D ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_DIRECTORY` is never used [INFO] [stdout] --> src/main.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | const VLC_CONFIG_ITEM_DIRECTORY : c_int = 0x8E ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VLC_CONFIG_ITEM_FONT` is never used [INFO] [stdout] --> src/main.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | const VLC_CONFIG_ITEM_FONT : c_int = 0x8F ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | ConfigCreate(ConfigItemKind), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 120 - ConfigCreate(ConfigItemKind), [INFO] [stdout] 120 + ConfigCreate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | ModuleShortcut(Vec), [INFO] [stdout] | -------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 122 - ModuleShortcut(Vec), [INFO] [stdout] 122 + ModuleShortcut(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | ModuleCapability(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 123 - ModuleCapability(String), [INFO] [stdout] 123 + ModuleCapability(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | ModuleScore(i32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 124 - ModuleScore(i32), [INFO] [stdout] 124 + ModuleScore(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | ModuleName(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 128 - ModuleName(String), [INFO] [stdout] 128 + ModuleName(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | ModuleShortname(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 129 - ModuleShortname(String), [INFO] [stdout] 129 + ModuleShortname(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | ModuleDescription(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 130 - ModuleDescription(String), [INFO] [stdout] 130 + ModuleDescription(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | ModuleHelp(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 131 - ModuleHelp(String), [INFO] [stdout] 131 + ModuleHelp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | ConfigName(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 133 - ConfigName(String), [INFO] [stdout] 133 + ConfigName(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | ConfigCapability(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 141 - ConfigCapability(String), [INFO] [stdout] 141 + ConfigCapability(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 117 | enum PluginProperty [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 121 | ModuleCpuRequirement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ConfigAdvancedReserved, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | ConfigVolatile, [INFO] [stdout] 138 | ConfigPersistentObsolete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | ConfigPrivate, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | ConfigOldNameObsoleted, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | ConfigListObsolete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | ConfigAddActionObsolete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | ConfigList, [INFO] [stdout] 149 | ConfigListCbObsolete, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VLC_CONFIG_VOLATILE` should have a snake case name [INFO] [stdout] --> src/main.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | VLC_CONFIG_VOLATILE => Some(PluginProperty::ConfigVolatile), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `vlc_config_volatile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.95s [INFO] running `Command { std: "docker" "inspect" "7f8505134a9c82298f842508318caf0c418a74270ce3ad24b86925a41ab8d783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f8505134a9c82298f842508318caf0c418a74270ce3ad24b86925a41ab8d783", kill_on_drop: false }` [INFO] [stdout] 7f8505134a9c82298f842508318caf0c418a74270ce3ad24b86925a41ab8d783