[INFO] cloning repository https://github.com/adnelson/nix-browse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adnelson/nix-browse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadnelson%2Fnix-browse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadnelson%2Fnix-browse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 921245482ae7056849f6f575b7d630c170dc2a23 [INFO] testing adnelson/nix-browse against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadnelson%2Fnix-browse" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adnelson/nix-browse on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adnelson/nix-browse [INFO] finished tweaking git repo https://github.com/adnelson/nix-browse [INFO] tweaked toml for git repo https://github.com/adnelson/nix-browse written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/adnelson/nix-browse already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v0.11.9 [INFO] [stderr] Downloaded serde_codegen_internals v0.14.1 [INFO] [stderr] Downloaded serde_json v0.9.9 [INFO] [stderr] Downloaded aho-corasick v0.6.2 [INFO] [stderr] Downloaded clap v2.21.1 [INFO] [stderr] Downloaded term_size v0.2.3 [INFO] [stderr] Downloaded serde_derive v0.9.11 [INFO] [stderr] Downloaded serde v0.9.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55fbcec45cd7357e4ba8d95799c1d38331f1dd070070acdf6c443f97e660b408 [INFO] running `Command { std: "docker" "start" "-a" "55fbcec45cd7357e4ba8d95799c1d38331f1dd070070acdf6c443f97e660b408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55fbcec45cd7357e4ba8d95799c1d38331f1dd070070acdf6c443f97e660b408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55fbcec45cd7357e4ba8d95799c1d38331f1dd070070acdf6c443f97e660b408", kill_on_drop: false }` [INFO] [stdout] 55fbcec45cd7357e4ba8d95799c1d38331f1dd070070acdf6c443f97e660b408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ce6de4de48bc8b6210a94ac557db940f9930247165405f431f3d336fd3949fb [INFO] running `Command { std: "docker" "start" "-a" "0ce6de4de48bc8b6210a94ac557db940f9930247165405f431f3d336fd3949fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling bitflags v0.8.0 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling serde v0.9.11 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling unescape v0.1.0 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.9 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling term_size v0.2.3 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling clap v2.21.1 [INFO] [stderr] Compiling aho-corasick v0.6.2 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling serde_codegen_internals v0.14.1 [INFO] [stderr] Compiling serde_derive v0.9.11 [INFO] [stderr] Compiling serde_json v0.9.9 [INFO] [stderr] Compiling nix-browse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromIterator` [INFO] [stdout] --> src/parse_nix_instantiate.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::{Peekable, FromIterator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/parse_nix_instantiate.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parse_nix_instantiate.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | pub static ref NIX_INSTANTIATE_OUTPUT_RE: Regex = Regex::new(r#"(?x) [INFO] [stdout] 16 | | -?\d+ # Number [INFO] [stdout] 17 | | | [a-zA-Z][\w_\-']* # Identifier [INFO] [stdout] ... | [INFO] [stdout] 22 | | "#).unwrap(); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parse_nix_instantiate.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | pub static ref NIX_INSTANTIATE_OUTPUT_RE: Regex = Regex::new(r#"(?x) [INFO] [stdout] 16 | | -?\d+ # Number [INFO] [stdout] 17 | | | [a-zA-Z][\w_\-']* # Identifier [INFO] [stdout] ... | [INFO] [stdout] 22 | | "#).unwrap(); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parse_nix_instantiate.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parse_nix_instantiate.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `int_re` should have an upper case name [INFO] [stdout] --> src/parse_nix_instantiate.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `INT_RE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.14s [INFO] running `Command { std: "docker" "inspect" "0ce6de4de48bc8b6210a94ac557db940f9930247165405f431f3d336fd3949fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ce6de4de48bc8b6210a94ac557db940f9930247165405f431f3d336fd3949fb", kill_on_drop: false }` [INFO] [stdout] 0ce6de4de48bc8b6210a94ac557db940f9930247165405f431f3d336fd3949fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d6d0e3c059c6ff9cbf58019b3ebf67ea4eea0e7843353181f629709038b7d7f [INFO] running `Command { std: "docker" "start" "-a" "0d6d0e3c059c6ff9cbf58019b3ebf67ea4eea0e7843353181f629709038b7d7f", kill_on_drop: false }` [INFO] [stderr] Compiling nix-browse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/parse_nix_instantiate.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parse_nix_instantiate.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | pub static ref NIX_INSTANTIATE_OUTPUT_RE: Regex = Regex::new(r#"(?x) [INFO] [stdout] 16 | | -?\d+ # Number [INFO] [stdout] 17 | | | [a-zA-Z][\w_\-']* # Identifier [INFO] [stdout] ... | [INFO] [stdout] 22 | | "#).unwrap(); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parse_nix_instantiate.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static! { [INFO] [stdout] 15 | | pub static ref NIX_INSTANTIATE_OUTPUT_RE: Regex = Regex::new(r#"(?x) [INFO] [stdout] 16 | | -?\d+ # Number [INFO] [stdout] 17 | | | [a-zA-Z][\w_\-']* # Identifier [INFO] [stdout] ... | [INFO] [stdout] 22 | | "#).unwrap(); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parse_nix_instantiate.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/parse_nix_instantiate.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `int_re` should have an upper case name [INFO] [stdout] --> src/parse_nix_instantiate.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `INT_RE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "0d6d0e3c059c6ff9cbf58019b3ebf67ea4eea0e7843353181f629709038b7d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d6d0e3c059c6ff9cbf58019b3ebf67ea4eea0e7843353181f629709038b7d7f", kill_on_drop: false }` [INFO] [stdout] 0d6d0e3c059c6ff9cbf58019b3ebf67ea4eea0e7843353181f629709038b7d7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a6d89ba275a00eff1954be05840a5788bbd93320691239e057389a38ff43596b [INFO] running `Command { std: "docker" "start" "-a" "a6d89ba275a00eff1954be05840a5788bbd93320691239e057389a38ff43596b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `regex::Regex` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use regex::Regex; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::slice` [INFO] [stderr] --> src/parse_nix_instantiate.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::slice; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/parse_nix_instantiate.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / lazy_static! { [INFO] [stderr] 15 | | pub static ref NIX_INSTANTIATE_OUTPUT_RE: Regex = Regex::new(r#"(?x) [INFO] [stderr] 16 | | -?\d+ # Number [INFO] [stderr] 17 | | | [a-zA-Z][\w_\-']* # Identifier [INFO] [stderr] ... | [INFO] [stderr] 22 | | "#).unwrap(); [INFO] [stderr] 23 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/parse_nix_instantiate.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / lazy_static! { [INFO] [stderr] 15 | | pub static ref NIX_INSTANTIATE_OUTPUT_RE: Regex = Regex::new(r#"(?x) [INFO] [stderr] 16 | | -?\d+ # Number [INFO] [stderr] 17 | | | [a-zA-Z][\w_\-']* # Identifier [INFO] [stderr] ... | [INFO] [stderr] 22 | | "#).unwrap(); [INFO] [stderr] 23 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/parse_nix_instantiate.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | / lazy_static! { [INFO] [stderr] 38 | | static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap(); [INFO] [stderr] 39 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: static variable `int_re` should have an upper case name [INFO] [stderr] --> src/parse_nix_instantiate.rs:38:24 [INFO] [stderr] | [INFO] [stderr] 38 | static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap(); [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `INT_RE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `nix-browse` (bin "nix-browse" test) generated 7 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nix_browse-29148baef35d7a2f) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test parse_nix_instantiate::test_token_from_str ... ok [INFO] [stdout] test parse_nix_instantiate::test_parse_nested_list ... ok [INFO] [stdout] test parse_nix_instantiate::test_parse_nums ... ok [INFO] [stdout] test parse_nix_instantiate::test_parse_strings ... ok [INFO] [stdout] test parse_nix_instantiate::test_nested_set ... ok [INFO] [stdout] test parse_nix_instantiate::test_parse_set ... ok [INFO] [stdout] test parse_nix_instantiate::test_parse_list ... ok [INFO] [stdout] test parse_nix_instantiate::test_parse_literals ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a6d89ba275a00eff1954be05840a5788bbd93320691239e057389a38ff43596b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d89ba275a00eff1954be05840a5788bbd93320691239e057389a38ff43596b", kill_on_drop: false }` [INFO] [stdout] a6d89ba275a00eff1954be05840a5788bbd93320691239e057389a38ff43596b