[INFO] cloning repository https://github.com/ocelot-project/olman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ocelot-project/olman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focelot-project%2Folman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focelot-project%2Folman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0703afaaf514d38d56f809909fd56b3b11eb52f4 [INFO] testing ocelot-project/olman against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focelot-project%2Folman" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ocelot-project/olman [INFO] finished tweaking git repo https://github.com/ocelot-project/olman [INFO] tweaked toml for git repo https://github.com/ocelot-project/olman written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ocelot-project/olman on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ocelot-project/olman 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.5.7 [INFO] [stderr] Downloaded pwd v1.3.0 [INFO] [stderr] Downloaded syslog v3.3.0 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded unix_socket v0.5.0 [INFO] [stderr] Downloaded users v0.9.1 [INFO] [stderr] Downloaded pam-sys v0.5.6 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.17 [INFO] [stderr] Downloaded serde_derive v1.0.117 [INFO] [stderr] Downloaded serde v1.0.117 [INFO] [stderr] Downloaded backtrace v0.3.53 [INFO] [stderr] Downloaded aho-corasick v0.7.14 [INFO] [stderr] Downloaded object v0.21.1 [INFO] [stderr] Downloaded nix v0.13.1 [INFO] [stderr] Downloaded regex v1.4.1 [INFO] [stderr] Downloaded syn v1.0.45 [INFO] [stderr] Downloaded regex-syntax v0.6.20 [INFO] [stderr] Downloaded libc v0.2.79 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] [stderr] Downloaded slog-syslog v0.11.0 [INFO] [stderr] Downloaded nix v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7311391cb392175ff43604befc3b966431965ca75a0689185b2edb48842b7029 [INFO] running `Command { std: "docker" "start" "-a" "7311391cb392175ff43604befc3b966431965ca75a0689185b2edb48842b7029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7311391cb392175ff43604befc3b966431965ca75a0689185b2edb48842b7029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7311391cb392175ff43604befc3b966431965ca75a0689185b2edb48842b7029", kill_on_drop: false }` [INFO] [stdout] 7311391cb392175ff43604befc3b966431965ca75a0689185b2edb48842b7029 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 240b31847c6f37e5cb4e1c53847f9b90f772f0afa5a9186c5ae24544f4694217 [INFO] running `Command { std: "docker" "start" "-a" "240b31847c6f37e5cb4e1c53847f9b90f772f0afa5a9186c5ae24544f4694217", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling rustc-demangle v0.1.17 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling object v0.21.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling pam-sys v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling unix_socket v0.5.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling nix v0.8.1 [INFO] [stderr] Compiling users v0.9.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syslog v3.3.0 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling slog-syslog v0.11.0 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling backtrace v0.3.53 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pwd v1.3.0 [INFO] [stderr] Compiling utmpx v0.1.0 (/opt/rustwide/workdir/utmpx) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> utmpx/src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(FromPrimitive, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> utmpx/src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(FromPrimitive, PartialEq, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UTMPXType` [INFO] [stdout] 18 | pub enum UTMPXType { [INFO] [stdout] | --------- `UTMPXType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling olman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pam.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | Failed(String) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 26 - Failed(String) [INFO] [stdout] 26 + Failed(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | Err(e) => panic!(e.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 166 | Err(e) => panic!("{}", e.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "240b31847c6f37e5cb4e1c53847f9b90f772f0afa5a9186c5ae24544f4694217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "240b31847c6f37e5cb4e1c53847f9b90f772f0afa5a9186c5ae24544f4694217", kill_on_drop: false }` [INFO] [stdout] 240b31847c6f37e5cb4e1c53847f9b90f772f0afa5a9186c5ae24544f4694217 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d217f94a07331c45d4ec3a3a6b2a9b7dd0d6b611c7c601f99ef00ab3e59c3e41 [INFO] running `Command { std: "docker" "start" "-a" "d217f94a07331c45d4ec3a3a6b2a9b7dd0d6b611c7c601f99ef00ab3e59c3e41", kill_on_drop: false }` [INFO] [stderr] Compiling olman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> utmpx/src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(FromPrimitive, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> utmpx/src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(FromPrimitive, PartialEq, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UTMPXType` [INFO] [stdout] 18 | pub enum UTMPXType { [INFO] [stdout] | --------- `UTMPXType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (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/pam.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | Failed(String) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 26 - Failed(String) [INFO] [stdout] 26 + Failed(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | Err(e) => panic!(e.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 166 | Err(e) => panic!("{}", e.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "d217f94a07331c45d4ec3a3a6b2a9b7dd0d6b611c7c601f99ef00ab3e59c3e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d217f94a07331c45d4ec3a3a6b2a9b7dd0d6b611c7c601f99ef00ab3e59c3e41", kill_on_drop: false }` [INFO] [stdout] d217f94a07331c45d4ec3a3a6b2a9b7dd0d6b611c7c601f99ef00ab3e59c3e41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 80d944849b8755652be7e3154756a8557b2dcd22ef14bab2f1f049c02d0691f1 [INFO] running `Command { std: "docker" "start" "-a" "80d944849b8755652be7e3154756a8557b2dcd22ef14bab2f1f049c02d0691f1", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> utmpx/src/lib.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(FromPrimitive, PartialEq, Debug)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> utmpx/src/lib.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(FromPrimitive, PartialEq, Debug)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UTMPXType` [INFO] [stderr] 18 | pub enum UTMPXType { [INFO] [stderr] | --------- `UTMPXType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `utmpx` (lib) generated 2 warnings [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/pam.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | Failed(String) [INFO] [stderr] | ------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` 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] 26 - Failed(String) [INFO] [stderr] 26 + Failed(()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:166:26 [INFO] [stderr] | [INFO] [stderr] 166 | Err(e) => panic!(e.to_string()), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 166 | Err(e) => panic!("{}", e.to_string()), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `olman` (bin "olman" test) generated 2 warnings (run `cargo fix --bin "olman" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/olman-d2cbc703c6612153) [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" "80d944849b8755652be7e3154756a8557b2dcd22ef14bab2f1f049c02d0691f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80d944849b8755652be7e3154756a8557b2dcd22ef14bab2f1f049c02d0691f1", kill_on_drop: false }` [INFO] [stdout] 80d944849b8755652be7e3154756a8557b2dcd22ef14bab2f1f049c02d0691f1