[INFO] fetching crate meval 0.2.0... [INFO] checking meval-0.2.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate meval 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate meval 0.2.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate meval 0.2.0 [INFO] finished tweaking crates.io crate meval 0.2.0 [INFO] tweaked toml for crates.io crate meval 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_test v1.0.176 [INFO] [stderr] Downloaded gnuplot v0.0.23 [INFO] [stderr] Downloaded nom v1.2.4 [INFO] [stderr] Downloaded toml v0.4.10 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44a6b247fc2c0469c4f10774a762919b30f29e414e11f074fc4dadbda6bc1459 [INFO] running `Command { std: "docker" "start" "-a" "44a6b247fc2c0469c4f10774a762919b30f29e414e11f074fc4dadbda6bc1459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44a6b247fc2c0469c4f10774a762919b30f29e414e11f074fc4dadbda6bc1459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a6b247fc2c0469c4f10774a762919b30f29e414e11f074fc4dadbda6bc1459", kill_on_drop: false }` [INFO] [stdout] 44a6b247fc2c0469c4f10774a762919b30f29e414e11f074fc4dadbda6bc1459 [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f4c02ecce500d7ff9d5e08aa0548a014e13d4c889cf880119d9a131fb064619 [INFO] running `Command { std: "docker" "start" "-a" "4f4c02ecce500d7ff9d5e08aa0548a014e13d4c889cf880119d9a131fb064619", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking gnuplot v0.0.23 [INFO] [stderr] Checking meval v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/expr.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | try!(self.check_context(((var, 0.), &ctx))); [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/expr.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | try!(self.check_context(([(var1, 0.), (var2, 0.)], &ctx))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | try!(self.check_context(([(var1, 0.), (var2, 0.), (var3, 0.)], &ctx))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | try!(self.check_context(([(var1, 0.), (var2, 0.), (var3, 0.), (var4, 0.)], &ctx))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | try!(self.check_context(( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:424:16 [INFO] [stdout] | [INFO] [stdout] 424 | let expr = try!(Expr::from_str(expr.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:433:22 [INFO] [stdout] | [INFO] [stdout] 433 | let tokens = try!(tokenize(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | let rpn = try!(to_rpn(&tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:448:16 [INFO] [stdout] | [INFO] [stdout] 448 | let expr = try!(Expr::from_str(expr.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/shunting_yard.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/tokenizer.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | /// Parse `func(`, returns `func`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Needed` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::{multispace, slice_to_offsets, IResult, Needed}; [INFO] [stdout] | ------ the item `Needed` is already imported here [INFO] [stdout] ... [INFO] [stdout] 115 | use nom::{ErrorKind, Needed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | Some(b'a'...b'z') | Some(b'A'...b'Z') | Some(b'_') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | Some(b'a'...b'z') | Some(b'A'...b'Z') | Some(b'_') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | b'a'...b'z' | b'A'...b'Z' | b'_' | b'0'...b'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | b'a'...b'z' | b'A'...b'Z' | b'_' | b'0'...b'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:124:60 [INFO] [stdout] | [INFO] [stdout] 124 | b'a'...b'z' | b'A'...b'Z' | b'_' | b'0'...b'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | try!(write!(f, "Parse error: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | try!(write!(f, "RPN error: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr.rs:832:27 [INFO] [stdout] | [INFO] [stdout] 832 | type GuardedFunc<'a> = Rc Result + 'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 832 | type GuardedFunc<'a> = Rc Result + 'a>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:266:32 [INFO] [stdout] | [INFO] [stdout] 266 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 | fn cause(&self) -> Option<&dyn std::error::Error> { [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/lib.rs:261:43 [INFO] [stdout] | [INFO] [stdout] 261 | Error::ParseError(ref e) => e.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/lib.rs:262:41 [INFO] [stdout] | [INFO] [stdout] 262 | Error::RPNError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/expr.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | try!(self.check_context(((var, 0.), &ctx))); [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/expr.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | try!(self.check_context(([(var1, 0.), (var2, 0.)], &ctx))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | try!(self.check_context(([(var1, 0.), (var2, 0.), (var3, 0.)], &ctx))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | try!(self.check_context(([(var1, 0.), (var2, 0.), (var3, 0.), (var4, 0.)], &ctx))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | try!(self.check_context(( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:424:16 [INFO] [stdout] | [INFO] [stdout] 424 | let expr = try!(Expr::from_str(expr.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:433:22 [INFO] [stdout] | [INFO] [stdout] 433 | let tokens = try!(tokenize(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | let rpn = try!(to_rpn(&tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:448:16 [INFO] [stdout] | [INFO] [stdout] 448 | let expr = try!(Expr::from_str(expr.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/expr.rs:1037:9 [INFO] [stdout] | [INFO] [stdout] 1036 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] 1037 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/expr.rs:1038:9 [INFO] [stdout] | [INFO] [stdout] 1036 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] 1037 | use std::str::FromStr; [INFO] [stdout] 1038 | use Error; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/shunting_yard.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/tokenizer.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | /// Parse `func(`, returns `func`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Needed` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::{multispace, slice_to_offsets, IResult, Needed}; [INFO] [stdout] | ------ the item `Needed` is already imported here [INFO] [stdout] ... [INFO] [stdout] 115 | use nom::{ErrorKind, Needed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | Some(b'a'...b'z') | Some(b'A'...b'Z') | Some(b'_') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | Some(b'a'...b'z') | Some(b'A'...b'Z') | Some(b'_') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | b'a'...b'z' | b'A'...b'Z' | b'_' | b'0'...b'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | b'a'...b'z' | b'A'...b'Z' | b'_' | b'0'...b'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:124:60 [INFO] [stdout] | [INFO] [stdout] 124 | b'a'...b'z' | b'A'...b'Z' | b'_' | b'0'...b'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `binop` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 339 | use super::*; [INFO] [stdout] | -------- the item `binop` is already imported here [INFO] [stdout] 340 | use super::{binop, func, number, var}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `func` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:340:24 [INFO] [stdout] | [INFO] [stdout] 339 | use super::*; [INFO] [stdout] | -------- the item `func` is already imported here [INFO] [stdout] 340 | use super::{binop, func, number, var}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `number` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:340:30 [INFO] [stdout] | [INFO] [stdout] 339 | use super::*; [INFO] [stdout] | -------- the item `number` is already imported here [INFO] [stdout] 340 | use super::{binop, func, number, var}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `var` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:340:38 [INFO] [stdout] | [INFO] [stdout] 339 | use super::*; [INFO] [stdout] | -------- the item `var` is already imported here [INFO] [stdout] 340 | use super::{binop, func, number, var}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IResult` is imported redundantly [INFO] [stdout] --> src/tokenizer.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 339 | use super::*; [INFO] [stdout] | -------- the item `IResult` is already imported here [INFO] [stdout] ... [INFO] [stdout] 343 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | try!(write!(f, "Parse error: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | try!(write!(f, "RPN error: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr.rs:832:27 [INFO] [stdout] | [INFO] [stdout] 832 | type GuardedFunc<'a> = Rc Result + 'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 832 | type GuardedFunc<'a> = Rc Result + 'a>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:266:32 [INFO] [stdout] | [INFO] [stdout] 266 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 | fn cause(&self) -> Option<&dyn std::error::Error> { [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/lib.rs:261:43 [INFO] [stdout] | [INFO] [stdout] 261 | Error::ParseError(ref e) => e.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/lib.rs:262:41 [INFO] [stdout] | [INFO] [stdout] 262 | Error::RPNError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.84s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4f4c02ecce500d7ff9d5e08aa0548a014e13d4c889cf880119d9a131fb064619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f4c02ecce500d7ff9d5e08aa0548a014e13d4c889cf880119d9a131fb064619", kill_on_drop: false }` [INFO] [stdout] 4f4c02ecce500d7ff9d5e08aa0548a014e13d4c889cf880119d9a131fb064619 [INFO] checking meval-0.2.0 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate meval 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate meval 0.2.0 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate meval 0.2.0 [INFO] finished tweaking crates.io crate meval 0.2.0 [INFO] tweaked toml for crates.io crate meval 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8033eef29de0e5b10a769bf8c83510aa7b7c390e862a304c066b06b1b191079 [INFO] running `Command { std: "docker" "start" "-a" "b8033eef29de0e5b10a769bf8c83510aa7b7c390e862a304c066b06b1b191079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8033eef29de0e5b10a769bf8c83510aa7b7c390e862a304c066b06b1b191079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8033eef29de0e5b10a769bf8c83510aa7b7c390e862a304c066b06b1b191079", kill_on_drop: false }` [INFO] [stdout] b8033eef29de0e5b10a769bf8c83510aa7b7c390e862a304c066b06b1b191079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32a1034a40f8f628f6db9be4f0cbbf95a75926ff374e1c456106d3f1c5bf9d7f [INFO] running `Command { std: "docker" "start" "-a" "32a1034a40f8f628f6db9be4f0cbbf95a75926ff374e1c456106d3f1c5bf9d7f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "32a1034a40f8f628f6db9be4f0cbbf95a75926ff374e1c456106d3f1c5bf9d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a1034a40f8f628f6db9be4f0cbbf95a75926ff374e1c456106d3f1c5bf9d7f", kill_on_drop: false }` [INFO] [stdout] 32a1034a40f8f628f6db9be4f0cbbf95a75926ff374e1c456106d3f1c5bf9d7f