[INFO] cloning repository https://github.com/yasuyuky/sectora [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yasuyuky/sectora" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasuyuky%2Fsectora", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasuyuky%2Fsectora'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3522df54f708d120a747b372ef4f51d2a017fd4 [INFO] testing yasuyuky/sectora against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasuyuky%2Fsectora" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yasuyuky/sectora [INFO] finished tweaking git repo https://github.com/yasuyuky/sectora [INFO] tweaked toml for git repo https://github.com/yasuyuky/sectora written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yasuyuky/sectora on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yasuyuky/sectora 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-util v0.1.13 [INFO] [stderr] Downloaded openssl-sys v0.9.107 [INFO] [stderr] Downloaded sd-notify v0.4.5 [INFO] [stderr] Downloaded clap_complete v4.5.57 [INFO] [stderr] Downloaded tower-http v0.6.5 [INFO] [stderr] Downloaded syslog v7.0.0 [INFO] [stderr] Downloaded reqwest v0.12.23 [INFO] [stderr] Downloaded openssl v0.10.72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65a9dc0a1d94a983bc11558096506ff29e66aa03bbca5abf4e1f07a11092a256 [INFO] running `Command { std: "docker" "start" "-a" "65a9dc0a1d94a983bc11558096506ff29e66aa03bbca5abf4e1f07a11092a256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65a9dc0a1d94a983bc11558096506ff29e66aa03bbca5abf4e1f07a11092a256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a9dc0a1d94a983bc11558096506ff29e66aa03bbca5abf4e1f07a11092a256", kill_on_drop: false }` [INFO] [stdout] 65a9dc0a1d94a983bc11558096506ff29e66aa03bbca5abf4e1f07a11092a256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ed15e95fee4a9f5b3bd2066dbbeac9f835b072af301e2df596c8e314c8349cd [INFO] running `Command { std: "docker" "start" "-a" "5ed15e95fee4a9f5b3bd2066dbbeac9f835b072af301e2df596c8e314c8349cd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling deranged v0.4.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling sectora v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap_complete v4.5.57 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling sd-notify v0.4.5 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling syslog v7.0.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling tower-http v0.6.5 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | Serde(serde_json::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 3 - Serde(serde_json::Error), [INFO] [stdout] 3 + Serde(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 4 - Io(std::io::Error), [INFO] [stdout] 4 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 5 - Toml(toml::de::Error), [INFO] [stdout] 5 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | ParseMsg(ParseMessageError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 6 - ParseMsg(ParseMessageError), [INFO] [stdout] 6 + ParseMsg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | Id(std::num::ParseIntError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorError` 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] 26 - Id(std::num::ParseIntError), [INFO] [stdout] 26 + Id(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | Sector(ParseSectorError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 33 - Sector(ParseSectorError), [INFO] [stdout] 33 + Sector(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Gid(std::num::ParseIntError), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 34 - Gid(std::num::ParseIntError), [INFO] [stdout] 34 + Gid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | Member(std::num::ParseIntError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 35 - Member(std::num::ParseIntError), [INFO] [stdout] 35 + Member(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/structs.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub org: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | #[serde(default = "default_team")] [INFO] [stdout] 15 | pub team: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | #[serde(default = "default_repo")] [INFO] [stdout] 17 | pub repo: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | #[serde(default = "default_endpoint")] [INFO] [stdout] 19 | pub endpoint: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | #[serde(default = "default_home")] [INFO] [stdout] 21 | pub home: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | #[serde(default = "default_sh")] [INFO] [stdout] 23 | pub sh: String, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | #[serde(default = "default_cache_duration")] [INFO] [stdout] 25 | pub cache_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | #[serde(default = "default_cert_path")] [INFO] [stdout] 27 | pub cert_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | #[serde(default = "default_user_conf_path")] [INFO] [stdout] 29 | pub user_conf_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(default = "default_cache_dir")] [INFO] [stdout] 31 | pub cache_dir: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub proxy_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKey` is never constructed [INFO] [stdout] --> src/structs.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct PublicKey { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rate` is never constructed [INFO] [stdout] --> src/structs.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct Rate { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimit` is never constructed [INFO] [stdout] --> src/structs.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub struct RateLimit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 91 | let conn = try_unwrap!(Connection::new("_nss_sectora_getpwnam_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / pub unsafe extern "C" fn _nss_sectora_getpwnam_r(cnameptr: *const libc::c_char, pwptr: *mut Passwd, [INFO] [stdout] 87 | | buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 88 | | errnop: *mut libc::c_int) [INFO] [stdout] 89 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 92 | let msg = try_unwrap!(conn.communicate(CMsg::Pw(Pw::Nam(string_from(cnameptr)))), errnop); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | match { (*pwptr).pack_args(&mut buffer, &login, uid, gid, &home, &sh) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 101 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 104 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 115 | let conn = try_unwrap!(Connection::new("_nss_sectora_getpwuid_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / pub unsafe extern "C" fn _nss_sectora_getpwuid_r(uid: libc::uid_t, pwptr: *mut Passwd, buf: *mut libc::c_char, [INFO] [stdout] 112 | | buflen: libc::size_t, errnop: *mut libc::c_int) [INFO] [stdout] 113 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 116 | let msg = try_unwrap!(conn.communicate(CMsg::Pw(Pw::Uid(uid as u64))), errnop); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | match { (*pwptr).pack_args(&mut buffer, &login, uid, gid, &home, &sh) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 125 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 128 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 152 | let conn = try_unwrap!(Connection::new("_nss_sectora_getpwent_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / pub unsafe extern "C" fn _nss_sectora_getpwent_r(pwptr: *mut Passwd, buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 149 | | errnop: *mut libc::c_int) [INFO] [stdout] 150 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 153 | let msg = try_unwrap!(conn.communicate(CMsg::Pw(Pw::Ent(Ent::Get(process::id())))), errnop); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | match { (*pwptr).pack_args(&mut buffer, &login, uid, gid, &home, &sh) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 162 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 165 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 190 | let conn = try_unwrap!(Connection::new("_nss_sectora_getspnam_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / pub unsafe extern "C" fn _nss_sectora_getspnam_r(cnameptr: *const libc::c_char, spptr: *mut Spwd, [INFO] [stdout] 186 | | buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 187 | | errnop: *mut libc::c_int) [INFO] [stdout] 188 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 191 | let msg = try_unwrap!(conn.communicate(CMsg::Sp(Sp::Nam(string_from(cnameptr)))), errnop); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | match { (*spptr).pack_args(&mut buffer, &login, &pass) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 195 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 198 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | let conn = try_unwrap!(Connection::new("_nss_sectora_getspent_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / pub unsafe extern "C" fn _nss_sectora_getspent_r(spptr: *mut Spwd, buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 219 | | errnop: *mut libc::c_int) [INFO] [stdout] 220 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | let msg = try_unwrap!(conn.communicate(CMsg::Sp(Sp::Ent(Ent::Get(process::id())))), errnop); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | match { (*spptr).pack_args(&mut buffer, &login, &pass) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 254 | let conn = try_unwrap!(Connection::new("_nss_sectora_getgrgid_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | / pub unsafe extern "C" fn _nss_sectora_getgrgid_r(gid: libc::gid_t, grptr: *mut Group, buf: *mut libc::c_char, [INFO] [stdout] 251 | | buflen: libc::size_t, errnop: *mut libc::c_int) [INFO] [stdout] 252 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 255 | let msg = try_unwrap!(conn.communicate(CMsg::Gr(Gr::Gid(gid as u64))), errnop); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | match { (*grptr).pack_args(&mut buffer, §or.get_group(), u64::from(gid), &members) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 260 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 263 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 275 | let conn = try_unwrap!(Connection::new("_nss_sectora_getgrnam_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:270:1 [INFO] [stdout] | [INFO] [stdout] 270 | / pub unsafe extern "C" fn _nss_sectora_getgrnam_r(cnameptr: *const libc::c_char, grptr: *mut Group, [INFO] [stdout] 271 | | buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 272 | | errnop: *mut libc::c_int) [INFO] [stdout] 273 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 276 | let msg = try_unwrap!(conn.communicate(CMsg::Gr(Gr::Nam(string_from(cnameptr)))), errnop); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | match { (*grptr).pack_args(&mut buffer, §or.get_group(), sector.get_gid(), &members) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 281 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 284 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 308 | let conn = try_unwrap!(Connection::new("_nss_sectora_getgrent_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | / pub unsafe extern "C" fn _nss_sectora_getgrent_r(grptr: *mut Group, buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 305 | | errnop: *mut libc::c_int) [INFO] [stdout] 306 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 309 | let msg = try_unwrap!(conn.communicate(CMsg::Gr(Gr::Ent(Ent::Get(process::id())))), errnop); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | match { (*grptr).pack_args(&mut buffer, §or.get_group(), sector.get_gid(), &members) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 314 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 317 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | Serde(serde_json::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 3 - Serde(serde_json::Error), [INFO] [stdout] 3 + Serde(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 4 - Io(std::io::Error), [INFO] [stdout] 4 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 5 - Toml(toml::de::Error), [INFO] [stdout] 5 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | ParseMsg(ParseMessageError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 6 - ParseMsg(ParseMessageError), [INFO] [stdout] 6 + ParseMsg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | Id(std::num::ParseIntError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorError` 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] 26 - Id(std::num::ParseIntError), [INFO] [stdout] 26 + Id(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | Sector(ParseSectorError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 33 - Sector(ParseSectorError), [INFO] [stdout] 33 + Sector(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Gid(std::num::ParseIntError), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 34 - Gid(std::num::ParseIntError), [INFO] [stdout] 34 + Gid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | Member(std::num::ParseIntError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 35 - Member(std::num::ParseIntError), [INFO] [stdout] 35 + Member(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/structs.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub org: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | #[serde(default = "default_team")] [INFO] [stdout] 15 | pub team: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | #[serde(default = "default_repo")] [INFO] [stdout] 17 | pub repo: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | #[serde(default = "default_endpoint")] [INFO] [stdout] 19 | pub endpoint: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | #[serde(default = "default_home")] [INFO] [stdout] 21 | pub home: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | #[serde(default = "default_sh")] [INFO] [stdout] 23 | pub sh: String, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | #[serde(default = "default_cache_duration")] [INFO] [stdout] 25 | pub cache_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | #[serde(default = "default_cert_path")] [INFO] [stdout] 27 | pub cert_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | #[serde(default = "default_user_conf_path")] [INFO] [stdout] 29 | pub user_conf_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(default = "default_cache_dir")] [INFO] [stdout] 31 | pub cache_dir: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub proxy_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKey` is never constructed [INFO] [stdout] --> src/structs.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct PublicKey { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rate` is never constructed [INFO] [stdout] --> src/structs.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct Rate { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimit` is never constructed [INFO] [stdout] --> src/structs.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub struct RateLimit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | Serde(serde_json::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 3 - Serde(serde_json::Error), [INFO] [stdout] 3 + Serde(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 4 - Io(std::io::Error), [INFO] [stdout] 4 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 5 - Toml(toml::de::Error), [INFO] [stdout] 5 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | ParseMsg(ParseMessageError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 6 - ParseMsg(ParseMessageError), [INFO] [stdout] 6 + ParseMsg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | Id(std::num::ParseIntError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorError` 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] 26 - Id(std::num::ParseIntError), [INFO] [stdout] 26 + Id(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | Sector(ParseSectorError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 33 - Sector(ParseSectorError), [INFO] [stdout] 33 + Sector(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Gid(std::num::ParseIntError), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 34 - Gid(std::num::ParseIntError), [INFO] [stdout] 34 + Gid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | Member(std::num::ParseIntError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 35 - Member(std::num::ParseIntError), [INFO] [stdout] 35 + Member(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `proxy_url` is never read [INFO] [stdout] --> src/structs.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub proxy_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.29s [INFO] running `Command { std: "docker" "inspect" "5ed15e95fee4a9f5b3bd2066dbbeac9f835b072af301e2df596c8e314c8349cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ed15e95fee4a9f5b3bd2066dbbeac9f835b072af301e2df596c8e314c8349cd", kill_on_drop: false }` [INFO] [stdout] 5ed15e95fee4a9f5b3bd2066dbbeac9f835b072af301e2df596c8e314c8349cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88ff38b53cba5bfd499d9d93b7e5ca9a95ef37e40078cea57369f283b52e3556 [INFO] running `Command { std: "docker" "start" "-a" "88ff38b53cba5bfd499d9d93b7e5ca9a95ef37e40078cea57369f283b52e3556", kill_on_drop: false }` [INFO] [stderr] Compiling sectora v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 91 | let conn = try_unwrap!(Connection::new("_nss_sectora_getpwnam_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / pub unsafe extern "C" fn _nss_sectora_getpwnam_r(cnameptr: *const libc::c_char, pwptr: *mut Passwd, [INFO] [stdout] 87 | | buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 88 | | errnop: *mut libc::c_int) [INFO] [stdout] 89 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 92 | let msg = try_unwrap!(conn.communicate(CMsg::Pw(Pw::Nam(string_from(cnameptr)))), errnop); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | match { (*pwptr).pack_args(&mut buffer, &login, uid, gid, &home, &sh) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 101 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 104 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 115 | let conn = try_unwrap!(Connection::new("_nss_sectora_getpwuid_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / pub unsafe extern "C" fn _nss_sectora_getpwuid_r(uid: libc::uid_t, pwptr: *mut Passwd, buf: *mut libc::c_char, [INFO] [stdout] 112 | | buflen: libc::size_t, errnop: *mut libc::c_int) [INFO] [stdout] 113 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 116 | let msg = try_unwrap!(conn.communicate(CMsg::Pw(Pw::Uid(uid as u64))), errnop); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | match { (*pwptr).pack_args(&mut buffer, &login, uid, gid, &home, &sh) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 125 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 128 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 152 | let conn = try_unwrap!(Connection::new("_nss_sectora_getpwent_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / pub unsafe extern "C" fn _nss_sectora_getpwent_r(pwptr: *mut Passwd, buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 149 | | errnop: *mut libc::c_int) [INFO] [stdout] 150 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 153 | let msg = try_unwrap!(conn.communicate(CMsg::Pw(Pw::Ent(Ent::Get(process::id())))), errnop); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | match { (*pwptr).pack_args(&mut buffer, &login, uid, gid, &home, &sh) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 162 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 165 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 190 | let conn = try_unwrap!(Connection::new("_nss_sectora_getspnam_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / pub unsafe extern "C" fn _nss_sectora_getspnam_r(cnameptr: *const libc::c_char, spptr: *mut Spwd, [INFO] [stdout] 186 | | buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 187 | | errnop: *mut libc::c_int) [INFO] [stdout] 188 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 191 | let msg = try_unwrap!(conn.communicate(CMsg::Sp(Sp::Nam(string_from(cnameptr)))), errnop); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | match { (*spptr).pack_args(&mut buffer, &login, &pass) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 195 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 198 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 222 | let conn = try_unwrap!(Connection::new("_nss_sectora_getspent_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / pub unsafe extern "C" fn _nss_sectora_getspent_r(spptr: *mut Spwd, buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 219 | | errnop: *mut libc::c_int) [INFO] [stdout] 220 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 223 | let msg = try_unwrap!(conn.communicate(CMsg::Sp(Sp::Ent(Ent::Get(process::id())))), errnop); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | match { (*spptr).pack_args(&mut buffer, &login, &pass) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 227 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 230 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 254 | let conn = try_unwrap!(Connection::new("_nss_sectora_getgrgid_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | / pub unsafe extern "C" fn _nss_sectora_getgrgid_r(gid: libc::gid_t, grptr: *mut Group, buf: *mut libc::c_char, [INFO] [stdout] 251 | | buflen: libc::size_t, errnop: *mut libc::c_int) [INFO] [stdout] 252 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 255 | let msg = try_unwrap!(conn.communicate(CMsg::Gr(Gr::Gid(gid as u64))), errnop); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | match { (*grptr).pack_args(&mut buffer, §or.get_group(), u64::from(gid), &members) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 260 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 263 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 275 | let conn = try_unwrap!(Connection::new("_nss_sectora_getgrnam_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:270:1 [INFO] [stdout] | [INFO] [stdout] 270 | / pub unsafe extern "C" fn _nss_sectora_getgrnam_r(cnameptr: *const libc::c_char, grptr: *mut Group, [INFO] [stdout] 271 | | buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 272 | | errnop: *mut libc::c_int) [INFO] [stdout] 273 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 276 | let msg = try_unwrap!(conn.communicate(CMsg::Gr(Gr::Nam(string_from(cnameptr)))), errnop); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | match { (*grptr).pack_args(&mut buffer, §or.get_group(), sector.get_gid(), &members) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 281 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 284 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 308 | let conn = try_unwrap!(Connection::new("_nss_sectora_getgrent_r"), errnop); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | / pub unsafe extern "C" fn _nss_sectora_getgrent_r(grptr: *mut Group, buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stdout] 305 | | errnop: *mut libc::c_int) [INFO] [stdout] 306 | | -> libc::c_int { [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 309 | let msg = try_unwrap!(conn.communicate(CMsg::Gr(Gr::Ent(Ent::Get(process::id())))), errnop); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | match { (*grptr).pack_args(&mut buffer, §or.get_group(), sector.get_gid(), &members) } { [INFO] [stdout] | ^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 314 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 317 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | Serde(serde_json::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 3 - Serde(serde_json::Error), [INFO] [stdout] 3 + Serde(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 4 - Io(std::io::Error), [INFO] [stdout] 4 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 5 - Toml(toml::de::Error), [INFO] [stdout] 5 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | ParseMsg(ParseMessageError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 6 - ParseMsg(ParseMessageError), [INFO] [stdout] 6 + ParseMsg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | Id(std::num::ParseIntError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorError` 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] 26 - Id(std::num::ParseIntError), [INFO] [stdout] 26 + Id(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | Sector(ParseSectorError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 33 - Sector(ParseSectorError), [INFO] [stdout] 33 + Sector(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Gid(std::num::ParseIntError), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 34 - Gid(std::num::ParseIntError), [INFO] [stdout] 34 + Gid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | Member(std::num::ParseIntError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 35 - Member(std::num::ParseIntError), [INFO] [stdout] 35 + Member(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/structs.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub org: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | #[serde(default = "default_team")] [INFO] [stdout] 15 | pub team: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | #[serde(default = "default_repo")] [INFO] [stdout] 17 | pub repo: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | #[serde(default = "default_endpoint")] [INFO] [stdout] 19 | pub endpoint: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | #[serde(default = "default_home")] [INFO] [stdout] 21 | pub home: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | #[serde(default = "default_sh")] [INFO] [stdout] 23 | pub sh: String, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | #[serde(default = "default_cache_duration")] [INFO] [stdout] 25 | pub cache_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | #[serde(default = "default_cert_path")] [INFO] [stdout] 27 | pub cert_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | #[serde(default = "default_user_conf_path")] [INFO] [stdout] 29 | pub user_conf_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(default = "default_cache_dir")] [INFO] [stdout] 31 | pub cache_dir: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub proxy_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKey` is never constructed [INFO] [stdout] --> src/structs.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct PublicKey { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rate` is never constructed [INFO] [stdout] --> src/structs.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct Rate { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimit` is never constructed [INFO] [stdout] --> src/structs.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub struct RateLimit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | Serde(serde_json::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 3 - Serde(serde_json::Error), [INFO] [stdout] 3 + Serde(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 4 - Io(std::io::Error), [INFO] [stdout] 4 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 5 - Toml(toml::de::Error), [INFO] [stdout] 5 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | ParseMsg(ParseMessageError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 6 - ParseMsg(ParseMessageError), [INFO] [stdout] 6 + ParseMsg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | Id(std::num::ParseIntError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorError` 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] 26 - Id(std::num::ParseIntError), [INFO] [stdout] 26 + Id(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | Sector(ParseSectorError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 33 - Sector(ParseSectorError), [INFO] [stdout] 33 + Sector(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Gid(std::num::ParseIntError), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 34 - Gid(std::num::ParseIntError), [INFO] [stdout] 34 + Gid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | Member(std::num::ParseIntError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 35 - Member(std::num::ParseIntError), [INFO] [stdout] 35 + Member(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/structs.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub org: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | #[serde(default = "default_team")] [INFO] [stdout] 15 | pub team: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | #[serde(default = "default_repo")] [INFO] [stdout] 17 | pub repo: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | #[serde(default = "default_endpoint")] [INFO] [stdout] 19 | pub endpoint: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | #[serde(default = "default_home")] [INFO] [stdout] 21 | pub home: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | #[serde(default = "default_sh")] [INFO] [stdout] 23 | pub sh: String, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | #[serde(default = "default_cache_duration")] [INFO] [stdout] 25 | pub cache_duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | #[serde(default = "default_cert_path")] [INFO] [stdout] 27 | pub cert_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | #[serde(default = "default_user_conf_path")] [INFO] [stdout] 29 | pub user_conf_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(default = "default_cache_dir")] [INFO] [stdout] 31 | pub cache_dir: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub proxy_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKey` is never constructed [INFO] [stdout] --> src/structs.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct PublicKey { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rate` is never constructed [INFO] [stdout] --> src/structs.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct Rate { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimit` is never constructed [INFO] [stdout] --> src/structs.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub struct RateLimit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | Serde(serde_json::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 3 - Serde(serde_json::Error), [INFO] [stdout] 3 + Serde(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 4 - Io(std::io::Error), [INFO] [stdout] 4 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 5 - Toml(toml::de::Error), [INFO] [stdout] 5 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | ParseMsg(ParseMessageError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 6 - ParseMsg(ParseMessageError), [INFO] [stdout] 6 + ParseMsg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | Id(std::num::ParseIntError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorError` 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] 26 - Id(std::num::ParseIntError), [INFO] [stdout] 26 + Id(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | Sector(ParseSectorError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 33 - Sector(ParseSectorError), [INFO] [stdout] 33 + Sector(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Gid(std::num::ParseIntError), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 34 - Gid(std::num::ParseIntError), [INFO] [stdout] 34 + Gid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | Member(std::num::ParseIntError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseSectorGroupError` 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] 35 - Member(std::num::ParseIntError), [INFO] [stdout] 35 + Member(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `proxy_url` is never read [INFO] [stdout] --> src/structs.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub proxy_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "88ff38b53cba5bfd499d9d93b7e5ca9a95ef37e40078cea57369f283b52e3556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ff38b53cba5bfd499d9d93b7e5ca9a95ef37e40078cea57369f283b52e3556", kill_on_drop: false }` [INFO] [stdout] 88ff38b53cba5bfd499d9d93b7e5ca9a95ef37e40078cea57369f283b52e3556 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 92c06c2d8512b8cbd0546ad9258f0218b7f4928fbeb55eef2d39fc0aea7ca93a [INFO] running `Command { std: "docker" "start" "-a" "92c06c2d8512b8cbd0546ad9258f0218b7f4928fbeb55eef2d39fc0aea7ca93a", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | Serde(serde_json::Error), [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 3 - Serde(serde_json::Error), [INFO] [stderr] 3 + Serde(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | Io(std::io::Error), [INFO] [stderr] | -- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 4 - Io(std::io::Error), [INFO] [stderr] 4 + Io(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | Toml(toml::de::Error), [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 5 - Toml(toml::de::Error), [INFO] [stderr] 5 + Toml(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | ParseMsg(ParseMessageError), [INFO] [stderr] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 6 - ParseMsg(ParseMessageError), [INFO] [stderr] 6 + ParseMsg(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | Id(std::num::ParseIntError), [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ParseSectorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 26 - Id(std::num::ParseIntError), [INFO] [stderr] 26 + Id(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | Sector(ParseSectorError), [INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ParseSectorGroupError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 33 - Sector(ParseSectorError), [INFO] [stderr] 33 + Sector(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | Gid(std::num::ParseIntError), [INFO] [stderr] | --- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ParseSectorGroupError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 34 - Gid(std::num::ParseIntError), [INFO] [stderr] 34 + Gid(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | Member(std::num::ParseIntError), [INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ParseSectorGroupError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 35 - Member(std::num::ParseIntError), [INFO] [stderr] 35 + Member(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `proxy_url` is never read [INFO] [stderr] --> src/structs.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 32 | pub proxy_url: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 91 | let conn = try_unwrap!(Connection::new("_nss_sectora_getpwnam_r"), errnop); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/lib.rs:86:1 [INFO] [stderr] | [INFO] [stderr] 86 | / pub unsafe extern "C" fn _nss_sectora_getpwnam_r(cnameptr: *const libc::c_char, pwptr: *mut Passwd, [INFO] [stderr] 87 | | buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stderr] 88 | | errnop: *mut libc::c_int) [INFO] [stderr] 89 | | -> libc::c_int { [INFO] [stderr] | |_______________________________________________________________^ [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 92 | let msg = try_unwrap!(conn.communicate(CMsg::Pw(Pw::Nam(string_from(cnameptr)))), errnop); [INFO] [stderr] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:99:17 [INFO] [stderr] | [INFO] [stderr] 99 | match { (*pwptr).pack_args(&mut buffer, &login, uid, gid, &home, &sh) } { [INFO] [stderr] | ^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 101 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 104 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 115 | let conn = try_unwrap!(Connection::new("_nss_sectora_getpwuid_r"), errnop); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/lib.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | / pub unsafe extern "C" fn _nss_sectora_getpwuid_r(uid: libc::uid_t, pwptr: *mut Passwd, buf: *mut libc::c_char, [INFO] [stderr] 112 | | buflen: libc::size_t, errnop: *mut libc::c_int) [INFO] [stderr] 113 | | -> libc::c_int { [INFO] [stderr] | |_______________________________________________________________^ [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 116 | let msg = try_unwrap!(conn.communicate(CMsg::Pw(Pw::Uid(uid as u64))), errnop); [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:123:17 [INFO] [stderr] | [INFO] [stderr] 123 | match { (*pwptr).pack_args(&mut buffer, &login, uid, gid, &home, &sh) } { [INFO] [stderr] | ^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 125 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 128 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 152 | let conn = try_unwrap!(Connection::new("_nss_sectora_getpwent_r"), errnop); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/lib.rs:148:1 [INFO] [stderr] | [INFO] [stderr] 148 | / pub unsafe extern "C" fn _nss_sectora_getpwent_r(pwptr: *mut Passwd, buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stderr] 149 | | errnop: *mut libc::c_int) [INFO] [stderr] 150 | | -> libc::c_int { [INFO] [stderr] | |_______________________________________________________________^ [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 153 | let msg = try_unwrap!(conn.communicate(CMsg::Pw(Pw::Ent(Ent::Get(process::id())))), errnop); [INFO] [stderr] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:160:17 [INFO] [stderr] | [INFO] [stderr] 160 | match { (*pwptr).pack_args(&mut buffer, &login, uid, gid, &home, &sh) } { [INFO] [stderr] | ^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 162 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 165 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 190 | let conn = try_unwrap!(Connection::new("_nss_sectora_getspnam_r"), errnop); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/lib.rs:185:1 [INFO] [stderr] | [INFO] [stderr] 185 | / pub unsafe extern "C" fn _nss_sectora_getspnam_r(cnameptr: *const libc::c_char, spptr: *mut Spwd, [INFO] [stderr] 186 | | buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stderr] 187 | | errnop: *mut libc::c_int) [INFO] [stderr] 188 | | -> libc::c_int { [INFO] [stderr] | |_______________________________________________________________^ [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 191 | let msg = try_unwrap!(conn.communicate(CMsg::Sp(Sp::Nam(string_from(cnameptr)))), errnop); [INFO] [stderr] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:193:17 [INFO] [stderr] | [INFO] [stderr] 193 | match { (*spptr).pack_args(&mut buffer, &login, &pass) } { [INFO] [stderr] | ^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 195 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 198 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 222 | let conn = try_unwrap!(Connection::new("_nss_sectora_getspent_r"), errnop); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/lib.rs:218:1 [INFO] [stderr] | [INFO] [stderr] 218 | / pub unsafe extern "C" fn _nss_sectora_getspent_r(spptr: *mut Spwd, buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stderr] 219 | | errnop: *mut libc::c_int) [INFO] [stderr] 220 | | -> libc::c_int { [INFO] [stderr] | |_______________________________________________________________^ [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 223 | let msg = try_unwrap!(conn.communicate(CMsg::Sp(Sp::Ent(Ent::Get(process::id())))), errnop); [INFO] [stderr] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:225:17 [INFO] [stderr] | [INFO] [stderr] 225 | match { (*spptr).pack_args(&mut buffer, &login, &pass) } { [INFO] [stderr] | ^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 227 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 230 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 254 | let conn = try_unwrap!(Connection::new("_nss_sectora_getgrgid_r"), errnop); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/lib.rs:250:1 [INFO] [stderr] | [INFO] [stderr] 250 | / pub unsafe extern "C" fn _nss_sectora_getgrgid_r(gid: libc::gid_t, grptr: *mut Group, buf: *mut libc::c_char, [INFO] [stderr] 251 | | buflen: libc::size_t, errnop: *mut libc::c_int) [INFO] [stderr] 252 | | -> libc::c_int { [INFO] [stderr] | |_______________________________________________________________^ [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 255 | let msg = try_unwrap!(conn.communicate(CMsg::Gr(Gr::Gid(gid as u64))), errnop); [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:258:17 [INFO] [stderr] | [INFO] [stderr] 258 | match { (*grptr).pack_args(&mut buffer, §or.get_group(), u64::from(gid), &members) } { [INFO] [stderr] | ^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 260 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 263 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 275 | let conn = try_unwrap!(Connection::new("_nss_sectora_getgrnam_r"), errnop); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/lib.rs:270:1 [INFO] [stderr] | [INFO] [stderr] 270 | / pub unsafe extern "C" fn _nss_sectora_getgrnam_r(cnameptr: *const libc::c_char, grptr: *mut Group, [INFO] [stderr] 271 | | buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stderr] 272 | | errnop: *mut libc::c_int) [INFO] [stderr] 273 | | -> libc::c_int { [INFO] [stderr] | |_______________________________________________________________^ [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 276 | let msg = try_unwrap!(conn.communicate(CMsg::Gr(Gr::Nam(string_from(cnameptr)))), errnop); [INFO] [stderr] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:279:17 [INFO] [stderr] | [INFO] [stderr] 279 | match { (*grptr).pack_args(&mut buffer, §or.get_group(), sector.get_gid(), &members) } { [INFO] [stderr] | ^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 281 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 284 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 308 | let conn = try_unwrap!(Connection::new("_nss_sectora_getgrent_r"), errnop); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/lib.rs:304:1 [INFO] [stderr] | [INFO] [stderr] 304 | / pub unsafe extern "C" fn _nss_sectora_getgrent_r(grptr: *mut Group, buf: *mut libc::c_char, buflen: libc::size_t, [INFO] [stderr] 305 | | errnop: *mut libc::c_int) [INFO] [stderr] 306 | | -> libc::c_int { [INFO] [stderr] | |_______________________________________________________________^ [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *$err_no_p = Errno::EAGAIN as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 309 | let msg = try_unwrap!(conn.communicate(CMsg::Gr(Gr::Ent(Ent::Get(process::id())))), errnop); [INFO] [stderr] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `try_unwrap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:312:17 [INFO] [stderr] | [INFO] [stderr] 312 | match { (*grptr).pack_args(&mut buffer, §or.get_group(), sector.get_gid(), &members) } { [INFO] [stderr] | ^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 314 | Err(_) => fail!(errnop, Errno::ERANGE, NssStatus::TryAgain), [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | *$err_no_p = $err_no as libc::c_int; [INFO] [stderr] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] ... [INFO] [stderr] 317 | fail!(errnop, Errno::ENOENT, NssStatus::NotFound) [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/structs.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 12 | pub token: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 13 | pub org: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 14 | #[serde(default = "default_team")] [INFO] [stderr] 15 | pub team: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 16 | #[serde(default = "default_repo")] [INFO] [stderr] 17 | pub repo: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 18 | #[serde(default = "default_endpoint")] [INFO] [stderr] 19 | pub endpoint: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 20 | #[serde(default = "default_home")] [INFO] [stderr] 21 | pub home: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 22 | #[serde(default = "default_sh")] [INFO] [stderr] 23 | pub sh: String, [INFO] [stderr] | ^^ [INFO] [stderr] 24 | #[serde(default = "default_cache_duration")] [INFO] [stderr] 25 | pub cache_duration: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 26 | #[serde(default = "default_cert_path")] [INFO] [stderr] 27 | pub cert_path: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 28 | #[serde(default = "default_user_conf_path")] [INFO] [stderr] 29 | pub user_conf_path: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 30 | #[serde(default = "default_cache_dir")] [INFO] [stderr] 31 | pub cache_dir: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 32 | pub proxy_url: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `PublicKey` is never constructed [INFO] [stderr] --> src/structs.rs:289:12 [INFO] [stderr] | [INFO] [stderr] 289 | pub struct PublicKey { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Rate` is never constructed [INFO] [stderr] --> src/structs.rs:295:12 [INFO] [stderr] | [INFO] [stderr] 295 | pub struct Rate { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RateLimit` is never constructed [INFO] [stderr] --> src/structs.rs:302:12 [INFO] [stderr] | [INFO] [stderr] 302 | pub struct RateLimit { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `sectora` (bin "sectorad" test) generated 9 warnings [INFO] [stderr] warning: `sectora` (lib test) generated 52 warnings (8 duplicates) (run `cargo fix --lib -p sectora --tests` to apply 8 suggestions) [INFO] [stderr] warning: `sectora` (bin "sectora" test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nss_sectora-faf49e9218ea628f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sectora-7c18c581f2158089) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/daemon.rs (/opt/rustwide/target/debug/deps/sectorad-6ae8173c9bf56dd9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "92c06c2d8512b8cbd0546ad9258f0218b7f4928fbeb55eef2d39fc0aea7ca93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c06c2d8512b8cbd0546ad9258f0218b7f4928fbeb55eef2d39fc0aea7ca93a", kill_on_drop: false }` [INFO] [stdout] 92c06c2d8512b8cbd0546ad9258f0218b7f4928fbeb55eef2d39fc0aea7ca93a