[INFO] cloning repository https://github.com/marcianx/parse-math [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcianx/parse-math" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcianx%2Fparse-math", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcianx%2Fparse-math'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0641735325b5d5ad4a15d758a62988ed60717716 [INFO] building marcianx/parse-math 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%2Fmarcianx%2Fparse-math" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcianx/parse-math 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/marcianx/parse-math [INFO] finished tweaking git repo https://github.com/marcianx/parse-math [INFO] tweaked toml for git repo https://github.com/marcianx/parse-math written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/marcianx/parse-math 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] Downloading crates ... [INFO] [stderr] Downloaded thread_local v0.2.5 [INFO] [stderr] Downloaded regex v0.1.69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 522ac5b82ea26847a00e2492ae37313ec29581f27aae63d693c2279411c967f3 [INFO] running `Command { std: "docker" "start" "-a" "522ac5b82ea26847a00e2492ae37313ec29581f27aae63d693c2279411c967f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "522ac5b82ea26847a00e2492ae37313ec29581f27aae63d693c2279411c967f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "522ac5b82ea26847a00e2492ae37313ec29581f27aae63d693c2279411c967f3", kill_on_drop: false }` [INFO] [stdout] 522ac5b82ea26847a00e2492ae37313ec29581f27aae63d693c2279411c967f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a577fe6127a3367573ed1faab25f97902d08cb8667140af3cbc091da0cc9842e [INFO] running `Command { std: "docker" "start" "-a" "a577fe6127a3367573ed1faab25f97902d08cb8667140af3cbc091da0cc9842e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.11 [INFO] [stderr] Compiling winapi v0.2.7 [INFO] [stderr] Compiling regex-syntax v0.3.1 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.5.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.5 [INFO] [stderr] Compiling regex v0.1.69 [INFO] [stderr] Compiling parse-math v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(f.write_fmt(format_args!("{:3}:{:width$} ", self.0.pos, "", width=indent))); [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/ast.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | try!(f.write_fmt(format_args!("{}()\n", s))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | try!(f.write_fmt(format_args!("{}\n", ch))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | try!(arg1.as_tree().format(f, indent + INDENT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | try!(f.write_fmt(format_args!("{} (prefix)\n", ch))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | try!(f.write_fmt(format_args!("{} (postfix)\n", ch))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | try!(Display::fmt("()\n", f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [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 macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in 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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:108:45 [INFO] [stdout] | [INFO] [stdout] 108 | let token = Token { typ: Number(try!(FromStr::from_str(&self.text[..n]))), pos: self.pos }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | try!(self.parse_e()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.expect(TokenType::End)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | self.next = try!(self.lexer.next_token()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | try!(self.parse_p()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | try!(self.parse_p()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | let t = try!(self.parse_parens(pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | let t = try!(self.parse_parens(pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | try!(self.parse_p()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | try!(self.parse_e()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | try!(self.expect(TokenType::OpSingle(')'))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | let next = try!(lexer.next_token()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | error::Error::description(self).fmt(f) [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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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 `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | &ParseError::Float(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lexer.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | msg.push_str(err.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.42s [INFO] running `Command { std: "docker" "inspect" "a577fe6127a3367573ed1faab25f97902d08cb8667140af3cbc091da0cc9842e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a577fe6127a3367573ed1faab25f97902d08cb8667140af3cbc091da0cc9842e", kill_on_drop: false }` [INFO] [stdout] a577fe6127a3367573ed1faab25f97902d08cb8667140af3cbc091da0cc9842e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ed013b38806fa4e60b329f609d4a14f79d18e27539e60934b5e2aa8b078ca79c [INFO] running `Command { std: "docker" "start" "-a" "ed013b38806fa4e60b329f609d4a14f79d18e27539e60934b5e2aa8b078ca79c", 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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(f.write_fmt(format_args!("{:3}:{:width$} ", self.0.pos, "", width=indent))); [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/ast.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | try!(f.write_fmt(format_args!("{}()\n", s))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | try!(f.write_fmt(format_args!("{}\n", ch))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | try!(arg1.as_tree().format(f, indent + INDENT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | try!(f.write_fmt(format_args!("{} (prefix)\n", ch))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | try!(f.write_fmt(format_args!("{} (postfix)\n", ch))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | try!(Display::fmt("()\n", f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [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 macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in 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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:108:45 [INFO] [stdout] | [INFO] [stdout] 108 | let token = Token { typ: Number(try!(FromStr::from_str(&self.text[..n]))), pos: self.pos }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | try!(self.parse_e()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.expect(TokenType::End)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | self.next = try!(self.lexer.next_token()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | try!(self.parse_p()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | try!(self.parse_p()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | let t = try!(self.parse_parens(pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | let t = try!(self.parse_parens(pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | try!(self.parse_p()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | try!(self.parse_e()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | try!(self.expect(TokenType::OpSingle(')'))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | let next = try!(lexer.next_token()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | error::Error::description(self).fmt(f) [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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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 `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | &ParseError::Float(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lexer.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | msg.push_str(err.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parse-math v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(f.write_fmt(format_args!("{:3}:{:width$} ", self.0.pos, "", width=indent))); [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/ast.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | try!(f.write_fmt(format_args!("{}()\n", s))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | try!(f.write_fmt(format_args!("{}\n", ch))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | try!(arg1.as_tree().format(f, indent + INDENT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | try!(f.write_fmt(format_args!("{} (prefix)\n", ch))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | try!(f.write_fmt(format_args!("{} (postfix)\n", ch))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | try!(Display::fmt("()\n", f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [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 macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in 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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:108:45 [INFO] [stdout] | [INFO] [stdout] 108 | let token = Token { typ: Number(try!(FromStr::from_str(&self.text[..n]))), pos: self.pos }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | try!(self.parse_e()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.expect(TokenType::End)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | self.next = try!(self.lexer.next_token()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | try!(self.parse_p()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | try!(self.parse_p()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | let t = try!(self.parse_parens(pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | let t = try!(self.parse_parens(pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | try!(self.parse_p()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | try!(self.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | try!(self.parse_e()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | try!(self.expect(TokenType::OpSingle(')'))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shuntingyard.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | let next = try!(lexer.next_token()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | error::Error::description(self).fmt(f) [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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/lexer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref REGEX_NUMBER: Regex = Regex::new(r"^[+-]?\d+(?:\.\d*)?(?:[eE]\d+)?").unwrap(); [INFO] [stdout] 13 | | static ref REGEX_IDENT: Regex = Regex::new(r"^[a-zA-Z]+").unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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 `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | &ParseError::Float(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lexer.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | msg.push_str(err.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "ed013b38806fa4e60b329f609d4a14f79d18e27539e60934b5e2aa8b078ca79c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed013b38806fa4e60b329f609d4a14f79d18e27539e60934b5e2aa8b078ca79c", kill_on_drop: false }` [INFO] [stdout] ed013b38806fa4e60b329f609d4a14f79d18e27539e60934b5e2aa8b078ca79c