[INFO] cloning repository https://github.com/upsuper/svg-path-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/upsuper/svg-path-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsuper%2Fsvg-path-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsuper%2Fsvg-path-utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d343f3fd3669d526fba4ec4a70e2cd6182fc61a [INFO] building upsuper/svg-path-utils 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%2Fupsuper%2Fsvg-path-utils" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/upsuper/svg-path-utils 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/upsuper/svg-path-utils [INFO] finished tweaking git repo https://github.com/upsuper/svg-path-utils [INFO] tweaked toml for git repo https://github.com/upsuper/svg-path-utils written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/upsuper/svg-path-utils 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded leak v0.1.2 [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded unicode-width v0.1.3 [INFO] [stderr] Downloaded nix v0.5.1 [INFO] [stderr] Downloaded regex-syntax v0.3.7 [INFO] [stderr] Downloaded regex v0.1.77 [INFO] [stderr] Downloaded lazy_static v0.2.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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2289f938275edd1ccf83b6659a89f3e84a573e6ee74ebba7955073c8ed656ec [INFO] running `Command { std: "docker" "start" "-a" "c2289f938275edd1ccf83b6659a89f3e84a573e6ee74ebba7955073c8ed656ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2289f938275edd1ccf83b6659a89f3e84a573e6ee74ebba7955073c8ed656ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2289f938275edd1ccf83b6659a89f3e84a573e6ee74ebba7955073c8ed656ec", kill_on_drop: false }` [INFO] [stdout] c2289f938275edd1ccf83b6659a89f3e84a573e6ee74ebba7955073c8ed656ec [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=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] 32cf839b2533d60d54e6b44ad9d4102411120c8dd534e7d4f7d3c62b7ddf0d3c [INFO] running `Command { std: "docker" "start" "-a" "32cf839b2533d60d54e6b44ad9d4102411120c8dd534e7d4f7d3c62b7ddf0d3c", 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.17 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.7 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling leak v0.1.2 [INFO] [stderr] Compiling lazy_static v0.2.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.77 [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling svg-path-utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | try!(write!(f, "{}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | try!(write!(f, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | try!(write!(f, " {}", value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | try!(write!(f, " {}", value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | try!($value.parse().map_err(|_| $msg)) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | let factor = try_parse!(captures[1], "invalid scale factor"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | try!($value.parse().map_err(|_| $msg)) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | let offset_x = try_parse!(captures[1], "invalid x offset"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | try!($value.parse().map_err(|_| $msg)) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | let offset_y = try_parse!(captures[2], "invalid y offset"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_parse` (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/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | static ref SCALE_ARG: Regex = Regex::new(r"^x([\d\.]+)$").unwrap(); [INFO] [stdout] 19 | | static ref TRANSLATE_ARG: Regex = Regex::new(r"^([+-][\d\.]+)([+-][\d\.]+)$").unwrap(); [INFO] [stdout] 20 | | } [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/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | static ref SCALE_ARG: Regex = Regex::new(r"^x([\d\.]+)$").unwrap(); [INFO] [stdout] 19 | | static ref TRANSLATE_ARG: Regex = Regex::new(r"^([+-][\d\.]+)([+-][\d\.]+)$").unwrap(); [INFO] [stdout] 20 | | } [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/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | static ref SCALE_ARG: Regex = Regex::new(r"^x([\d\.]+)$").unwrap(); [INFO] [stdout] 19 | | static ref TRANSLATE_ARG: Regex = Regex::new(r"^([+-][\d\.]+)([+-][\d\.]+)$").unwrap(); [INFO] [stdout] 20 | | } [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/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | static ref SCALE_ARG: Regex = Regex::new(r"^x([\d\.]+)$").unwrap(); [INFO] [stdout] 19 | | static ref TRANSLATE_ARG: Regex = Regex::new(r"^([+-][\d\.]+)([+-][\d\.]+)$").unwrap(); [INFO] [stdout] 20 | | } [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/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TOKEN_PATTERN: Regex = [INFO] [stdout] 20 | | Regex::new(r"[a-zA-Z]|-?\.\d+|-?\d+(?:\.\d*)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [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/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TOKEN_PATTERN: Regex = [INFO] [stdout] 20 | | Regex::new(r"[a-zA-Z]|-?\.\d+|-?\d+(?:\.\d*)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [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/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TOKEN_PATTERN: Regex = [INFO] [stdout] 20 | | Regex::new(r"[a-zA-Z]|-?\.\d+|-?\d+(?:\.\d*)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [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/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TOKEN_PATTERN: Regex = [INFO] [stdout] 20 | | Regex::new(r"[a-zA-Z]|-?\.\d+|-?\d+(?:\.\d*)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [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: unused import: `leak::Leak` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leak::Leak; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/parser.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | for &(name, param) in table.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 38 | for &(name, param) in table.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 38 - for &(name, param) in table.into_iter() { [INFO] [stdout] 38 + for &(name, param) in table { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.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" "32cf839b2533d60d54e6b44ad9d4102411120c8dd534e7d4f7d3c62b7ddf0d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32cf839b2533d60d54e6b44ad9d4102411120c8dd534e7d4f7d3c62b7ddf0d3c", kill_on_drop: false }` [INFO] [stdout] 32cf839b2533d60d54e6b44ad9d4102411120c8dd534e7d4f7d3c62b7ddf0d3c [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=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] 9a14e286a6e0fba3f349ba9ea0f48381ad3a2caf51dec73e9853da475aab1907 [INFO] running `Command { std: "docker" "start" "-a" "9a14e286a6e0fba3f349ba9ea0f48381ad3a2caf51dec73e9853da475aab1907", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling svg-path-utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | try!(write!(f, "{}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | try!(write!(f, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | try!(write!(f, " {}", value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | try!(write!(f, " {}", value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | try!($value.parse().map_err(|_| $msg)) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | let factor = try_parse!(captures[1], "invalid scale factor"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | try!($value.parse().map_err(|_| $msg)) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | let offset_x = try_parse!(captures[1], "invalid x offset"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | try!($value.parse().map_err(|_| $msg)) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | let offset_y = try_parse!(captures[2], "invalid y offset"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_parse` (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/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | static ref SCALE_ARG: Regex = Regex::new(r"^x([\d\.]+)$").unwrap(); [INFO] [stdout] 19 | | static ref TRANSLATE_ARG: Regex = Regex::new(r"^([+-][\d\.]+)([+-][\d\.]+)$").unwrap(); [INFO] [stdout] 20 | | } [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/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | static ref SCALE_ARG: Regex = Regex::new(r"^x([\d\.]+)$").unwrap(); [INFO] [stdout] 19 | | static ref TRANSLATE_ARG: Regex = Regex::new(r"^([+-][\d\.]+)([+-][\d\.]+)$").unwrap(); [INFO] [stdout] 20 | | } [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/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | static ref SCALE_ARG: Regex = Regex::new(r"^x([\d\.]+)$").unwrap(); [INFO] [stdout] 19 | | static ref TRANSLATE_ARG: Regex = Regex::new(r"^([+-][\d\.]+)([+-][\d\.]+)$").unwrap(); [INFO] [stdout] 20 | | } [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/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static! { [INFO] [stdout] 18 | | static ref SCALE_ARG: Regex = Regex::new(r"^x([\d\.]+)$").unwrap(); [INFO] [stdout] 19 | | static ref TRANSLATE_ARG: Regex = Regex::new(r"^([+-][\d\.]+)([+-][\d\.]+)$").unwrap(); [INFO] [stdout] 20 | | } [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/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TOKEN_PATTERN: Regex = [INFO] [stdout] 20 | | Regex::new(r"[a-zA-Z]|-?\.\d+|-?\d+(?:\.\d*)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [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/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TOKEN_PATTERN: Regex = [INFO] [stdout] 20 | | Regex::new(r"[a-zA-Z]|-?\.\d+|-?\d+(?:\.\d*)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [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/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TOKEN_PATTERN: Regex = [INFO] [stdout] 20 | | Regex::new(r"[a-zA-Z]|-?\.\d+|-?\d+(?:\.\d*)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [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/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | static ref TOKEN_PATTERN: Regex = [INFO] [stdout] 20 | | Regex::new(r"[a-zA-Z]|-?\.\d+|-?\d+(?:\.\d*)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [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: unused import: `leak::Leak` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leak::Leak; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/parser.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | for &(name, param) in table.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 38 | for &(name, param) in table.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 38 - for &(name, param) in table.into_iter() { [INFO] [stdout] 38 + for &(name, param) in table { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.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" "9a14e286a6e0fba3f349ba9ea0f48381ad3a2caf51dec73e9853da475aab1907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a14e286a6e0fba3f349ba9ea0f48381ad3a2caf51dec73e9853da475aab1907", kill_on_drop: false }` [INFO] [stdout] 9a14e286a6e0fba3f349ba9ea0f48381ad3a2caf51dec73e9853da475aab1907