[INFO] cloning repository https://github.com/durka/cellsplit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/durka/cellsplit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdurka%2Fcellsplit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdurka%2Fcellsplit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fdff1942972e2c37baaf0bc05ec6a7fdc588113 [INFO] building durka/cellsplit against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdurka%2Fcellsplit" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/durka/cellsplit on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/durka/cellsplit [INFO] finished tweaking git repo https://github.com/durka/cellsplit [INFO] tweaked toml for git repo https://github.com/durka/cellsplit written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/durka/cellsplit 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.2 [INFO] [stderr] Downloaded gcc v0.3.51 [INFO] [stderr] Downloaded textwrap v0.6.0 [INFO] [stderr] Downloaded clap v2.25.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.11 [INFO] [stderr] Downloaded unborrow v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a91f08b78f58f9a5e6623735dc69d97baf5f7bf6187aacffea63dcd02178954a [INFO] running `Command { std: "docker" "start" "-a" "a91f08b78f58f9a5e6623735dc69d97baf5f7bf6187aacffea63dcd02178954a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a91f08b78f58f9a5e6623735dc69d97baf5f7bf6187aacffea63dcd02178954a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a91f08b78f58f9a5e6623735dc69d97baf5f7bf6187aacffea63dcd02178954a", kill_on_drop: false }` [INFO] [stdout] a91f08b78f58f9a5e6623735dc69d97baf5f7bf6187aacffea63dcd02178954a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee032d43c74b7c615cf7e1b3f9387f762f01dc7bf84a179ce9a0d382e5aaa608 [INFO] running `Command { std: "docker" "start" "-a" "ee032d43c74b7c615cf7e1b3f9387f762f01dc7bf84a179ce9a0d382e5aaa608", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.26 [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling unidecode v0.2.0 [INFO] [stderr] Compiling unborrow v0.3.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling textwrap v0.6.0 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling backtrace-sys v0.1.11 [INFO] [stderr] Compiling clap v2.25.0 [INFO] [stderr] Compiling slug v0.1.2 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.2 [INFO] [stderr] Compiling error-chain v0.8.1 [INFO] [stderr] Compiling cellsplit v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/expand.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / lazy_static! { [INFO] [stdout] 42 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/expand.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / lazy_static! { [INFO] [stdout] 42 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/collapse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/collapse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/expand.rs:24:66 [INFO] [stdout] | [INFO] [stdout] 24 | let name = pat.replace("{}", &format!("{}_{}", slugify(title.trim_left_matches('%'), 20), n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 24 | let name = pat.replace("{}", &format!("{}_{}", slugify(title.trim_start_matches('%'), 20), n)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expand.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | let trimline = line.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 33 | let trimline = line.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expand.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let trimline = line.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 90 | let trimline = line.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.45s [INFO] running `Command { std: "docker" "inspect" "ee032d43c74b7c615cf7e1b3f9387f762f01dc7bf84a179ce9a0d382e5aaa608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee032d43c74b7c615cf7e1b3f9387f762f01dc7bf84a179ce9a0d382e5aaa608", kill_on_drop: false }` [INFO] [stdout] ee032d43c74b7c615cf7e1b3f9387f762f01dc7bf84a179ce9a0d382e5aaa608 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df9aba98a30afd17c5469c5ca159eac5cdf69115ad17737d9daa31a33c9c750c [INFO] running `Command { std: "docker" "start" "-a" "df9aba98a30afd17c5469c5ca159eac5cdf69115ad17737d9daa31a33c9c750c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/expand.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / lazy_static! { [INFO] [stdout] 42 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/expand.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / lazy_static! { [INFO] [stdout] 42 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/collapse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/collapse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/expand.rs:24:66 [INFO] [stdout] | [INFO] [stdout] 24 | let name = pat.replace("{}", &format!("{}_{}", slugify(title.trim_left_matches('%'), 20), n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 24 | let name = pat.replace("{}", &format!("{}_{}", slugify(title.trim_start_matches('%'), 20), n)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expand.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | let trimline = line.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 33 | let trimline = line.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cellsplit v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expand.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let trimline = line.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 90 | let trimline = line.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/expand.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / lazy_static! { [INFO] [stdout] 42 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/expand.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / lazy_static! { [INFO] [stdout] 42 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/collapse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/collapse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref RE: Regex = Regex::new(r"^\s*([^\s]+) %cellsplit<\d+>$").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/tests/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref CURRENT_DIR: PathBuf = { [INFO] [stdout] 12 | | let path = fs::canonicalize(Path::new(file!()).parent().unwrap()).unwrap(); [INFO] [stdout] 13 | | println!("setting current dir to {}", path.display()); [INFO] [stdout] ... | [INFO] [stdout] 17 | | static ref GIL: Mutex<()> = Mutex::new(()); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/tests/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref CURRENT_DIR: PathBuf = { [INFO] [stdout] 12 | | let path = fs::canonicalize(Path::new(file!()).parent().unwrap()).unwrap(); [INFO] [stdout] 13 | | println!("setting current dir to {}", path.display()); [INFO] [stdout] ... | [INFO] [stdout] 17 | | static ref GIL: Mutex<()> = Mutex::new(()); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/tests/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref CURRENT_DIR: PathBuf = { [INFO] [stdout] 12 | | let path = fs::canonicalize(Path::new(file!()).parent().unwrap()).unwrap(); [INFO] [stdout] 13 | | println!("setting current dir to {}", path.display()); [INFO] [stdout] ... | [INFO] [stdout] 17 | | static ref GIL: Mutex<()> = Mutex::new(()); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/tests/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref CURRENT_DIR: PathBuf = { [INFO] [stdout] 12 | | let path = fs::canonicalize(Path::new(file!()).parent().unwrap()).unwrap(); [INFO] [stdout] 13 | | println!("setting current dir to {}", path.display()); [INFO] [stdout] ... | [INFO] [stdout] 17 | | static ref GIL: Mutex<()> = Mutex::new(()); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/expand.rs:24:66 [INFO] [stdout] | [INFO] [stdout] 24 | let name = pat.replace("{}", &format!("{}_{}", slugify(title.trim_left_matches('%'), 20), n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 24 | let name = pat.replace("{}", &format!("{}_{}", slugify(title.trim_start_matches('%'), 20), n)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expand.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | let trimline = line.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 33 | let trimline = line.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expand.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let trimline = line.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 90 | let trimline = line.trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "df9aba98a30afd17c5469c5ca159eac5cdf69115ad17737d9daa31a33c9c750c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df9aba98a30afd17c5469c5ca159eac5cdf69115ad17737d9daa31a33c9c750c", kill_on_drop: false }` [INFO] [stdout] df9aba98a30afd17c5469c5ca159eac5cdf69115ad17737d9daa31a33c9c750c