[INFO] fetching crate sxd-xpath 0.4.2... [INFO] checking sxd-xpath-0.4.2 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate sxd-xpath 0.4.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate sxd-xpath 0.4.2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sxd-xpath 0.4.2 [INFO] finished tweaking crates.io crate sxd-xpath 0.4.2 [INFO] tweaked toml for crates.io crate sxd-xpath 0.4.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding typed-arena v1.7.0 (latest: v2.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peresil v0.3.0 [INFO] [stderr] Downloaded typed-arena v1.7.0 [INFO] [stderr] Downloaded sxd-document v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adc0ae301fee755810fb0ccae278308ce22f5b762fd32cf3b370a8dab791003b [INFO] running `Command { std: "docker" "start" "-a" "adc0ae301fee755810fb0ccae278308ce22f5b762fd32cf3b370a8dab791003b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adc0ae301fee755810fb0ccae278308ce22f5b762fd32cf3b370a8dab791003b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc0ae301fee755810fb0ccae278308ce22f5b762fd32cf3b370a8dab791003b", kill_on_drop: false }` [INFO] [stdout] adc0ae301fee755810fb0ccae278308ce22f5b762fd32cf3b370a8dab791003b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a695e2061066ba3d2aea60cbba7a331e8606461694c838a7e0985829c5c9f6ca [INFO] running `Command { std: "docker" "start" "-a" "a695e2061066ba3d2aea60cbba7a331e8606461694c838a7e0985829c5c9f6ca", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Checking sxd-xpath v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/nodeset.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/nodeset.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | let left = try!(self.left.evaluate(context)).boolean(); [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/expression.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | let v = left && try!(self.right.evaluate(context)).boolean(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | let left_val = try!(self.left.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | let right_val = try!(self.right.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | let args = try!(self.arguments.iter().map(|arg| arg.evaluate(context)).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | let left = try!(self.left.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let right = try!(self.right.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | let left = try!(self.left.evaluate(context)).boolean(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:294:25 [INFO] [stdout] | [INFO] [stdout] 294 | let v = left || try!(self.right.evaluate(context)).boolean(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:313:22 [INFO] [stdout] | [INFO] [stdout] 313 | let result = try!(self.start_point.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:314:26 [INFO] [stdout] | [INFO] [stdout] 314 | let mut result = try!(value_into_nodeset(result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | result = try!(step.evaluate(context, result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:381:24 [INFO] [stdout] | [INFO] [stdout] 381 | let left_val = try!(self.left.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | let right_val = try!(self.right.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | let value = try!(self.expression.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:468:25 [INFO] [stdout] | [INFO] [stdout] 468 | nodes = try!(predicate.select(context, nodes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:490:30 [INFO] [stdout] | [INFO] [stdout] 490 | let mut left_nodes = try!(as_nodes(&self.left)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:491:27 [INFO] [stdout] | [INFO] [stdout] 491 | let right_nodes = try!(as_nodes(&self.right)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | try!(args.exactly(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | try!(args.exactly(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | try!(args.exactly(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | let arg = try!(args.pop_nodeset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | let arg = try!(args.pop_nodeset_or_context_node(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | let arg = try!(args.pop_nodeset_or_context_node(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:278:19 [INFO] [stdout] | [INFO] [stdout] 278 | let arg = try!(args.pop_nodeset_or_context_node(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | try!(args.at_least(2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | try!(args.exactly(2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/function.rs:331:64 [INFO] [stdout] | [INFO] [stdout] 331 | fn imp(a: &str, b: &str) -> bool { str::starts_with(a, b) }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/function.rs:335:61 [INFO] [stdout] | [INFO] [stdout] 335 | fn imp(a: &str, b: &str) -> bool { str::contains(a, b) }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | try!(args.exactly(2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | try!(args.at_least(2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | try!(args.at_most(3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:386:23 [INFO] [stdout] | [INFO] [stdout] 386 | let len = try!(args.pop_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | let start = try!(args.pop_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 394 | let s = try!(args.pop_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | try!(args.exactly(3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 451 | let to = try!(args.pop_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:452:20 [INFO] [stdout] | [INFO] [stdout] 452 | let from = try!(args.pop_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | let s = try!(args.pop_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | try!(args.exactly(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | try!(args.exactly(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:493:19 [INFO] [stdout] | [INFO] [stdout] 493 | let arg = try!(args.pop_boolean()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | try!(args.exactly(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | try!(args.exactly(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:537:19 [INFO] [stdout] | [INFO] [stdout] 537 | let arg = try!(args.pop_nodeset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | try!(args.exactly(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:552:19 [INFO] [stdout] | [INFO] [stdout] 552 | let arg = try!(args.pop_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | let left = try!(child_parse(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | try!(source.consume(&rule.token)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | let right = try!(child_parse(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | let expr = try!((*child_parse)(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | try!(source.consume(&Token::LeftParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | try!(source.consume(&Token::RightParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | let result = try!(self.parse_expression(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | try!(source.consume(&Token::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | match try!(self.parse_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | match try!(self.parse_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | try!(source.consume(&Token::LeftParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | try!(source.consume(&Token::RightParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:337:29 [INFO] [stdout] | [INFO] [stdout] 337 | let arguments = try!(self.parse_function_args(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | try!(source.consume(&Token::LeftBracket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | match try!(self.parse_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 368 | try!(source.consume(&Token::RightBracket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:383:37 [INFO] [stdout] | [INFO] [stdout] 383 | while let Some(predicate) = try!(self.parse_predicate_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:393:20 [INFO] [stdout] | [INFO] [stdout] 393 | let axis = try!(self.parse_axis(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:395:31 [INFO] [stdout] | [INFO] [stdout] 395 | let node_test = match try!(self.parse_node_test(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | None => try!(self.default_node_test(source, axis)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | let predicates = try!(self.parse_predicates(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:415:15 [INFO] [stdout] | [INFO] [stdout] 415 | match try!(self.parse_step(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:420:21 [INFO] [stdout] | [INFO] [stdout] 420 | try!(source.consume(&Token::Slash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:422:27 [INFO] [stdout] | [INFO] [stdout] 422 | match try!(self.parse_step(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | try!(source.consume(&Token::Slash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:448:19 [INFO] [stdout] | [INFO] [stdout] 448 | match try!(self.parse_relative_location_path_raw(source, start_point)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:471:15 [INFO] [stdout] | [INFO] [stdout] 471 | match try!(self.parse_primary_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:473:34 [INFO] [stdout] | [INFO] [stdout] 473 | let predicates = try!(self.parse_predicates(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:486:20 [INFO] [stdout] | [INFO] [stdout] 486 | let expr = try!(self.parse_location_path(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 491 | match try!(self.parse_filter_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:494:21 [INFO] [stdout] | [INFO] [stdout] 494 | try!(source.consume(&Token::Slash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:496:27 [INFO] [stdout] | [INFO] [stdout] 496 | match try!(self.parse_relative_location_path_raw(source, expr)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:521:20 [INFO] [stdout] | [INFO] [stdout] 521 | let expr = try!(self.parse_union_expression(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:527:13 [INFO] [stdout] | [INFO] [stdout] 527 | try!(source.consume(&Token::MinusSign)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:529:24 [INFO] [stdout] | [INFO] [stdout] 529 | let expr = try!(self.parse_unary_expression(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:631:20 [INFO] [stdout] | [INFO] [stdout] 631 | let expr = try!(self.parse_or_expression(&mut source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tokenizer.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 372 | let token = try!(self.raw_next_token()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | type Functions = HashMap>; [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] 14 | type Functions = HashMap>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/axis.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | node_test: &'c NodeTest, [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] 49 | node_test: &'c dyn NodeTest, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expression.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | pub type SubExpression = Box; [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] 73 | pub type SubExpression = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expression.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | pub type StepTest = Box; [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] 435 | pub type StepTest = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | pub struct XPath(Box); [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] 339 | pub struct XPath(Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | type Rule<'a, I> = Fn(TokenSource) -> ParseResult + '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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | type Rule<'a, I> = dyn Fn(TokenSource) -> ParseResult + 'a; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/axis.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | ... node_test: &NodeTest) -> OrderedNodes<'d>; [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] 22 | node_test: &dyn NodeTest) -> OrderedNodes<'d>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/nodeset.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/nodeset.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | let left = try!(self.left.evaluate(context)).boolean(); [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/expression.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | let v = left && try!(self.right.evaluate(context)).boolean(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | let left_val = try!(self.left.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | let right_val = try!(self.right.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | let args = try!(self.arguments.iter().map(|arg| arg.evaluate(context)).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | let left = try!(self.left.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let right = try!(self.right.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | let left = try!(self.left.evaluate(context)).boolean(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:294:25 [INFO] [stdout] | [INFO] [stdout] 294 | let v = left || try!(self.right.evaluate(context)).boolean(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:313:22 [INFO] [stdout] | [INFO] [stdout] 313 | let result = try!(self.start_point.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:314:26 [INFO] [stdout] | [INFO] [stdout] 314 | let mut result = try!(value_into_nodeset(result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | result = try!(step.evaluate(context, result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:381:24 [INFO] [stdout] | [INFO] [stdout] 381 | let left_val = try!(self.left.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | let right_val = try!(self.right.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | let value = try!(self.expression.evaluate(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:468:25 [INFO] [stdout] | [INFO] [stdout] 468 | nodes = try!(predicate.select(context, nodes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:490:30 [INFO] [stdout] | [INFO] [stdout] 490 | let mut left_nodes = try!(as_nodes(&self.left)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expression.rs:491:27 [INFO] [stdout] | [INFO] [stdout] 491 | let right_nodes = try!(as_nodes(&self.right)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | try!(args.exactly(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | try!(args.exactly(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | try!(args.exactly(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | let arg = try!(args.pop_nodeset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | let arg = try!(args.pop_nodeset_or_context_node(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | let arg = try!(args.pop_nodeset_or_context_node(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:278:19 [INFO] [stdout] | [INFO] [stdout] 278 | let arg = try!(args.pop_nodeset_or_context_node(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | try!(args.at_least(2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:179:64 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn function_for_name(&self, name: QName) -> Option<&'c function::Function> { [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] 179 | pub fn function_for_name(&self, name: QName) -> Option<&'c dyn function::Function> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | try!(args.exactly(2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/axis.rs:54:69 [INFO] [stdout] | [INFO] [stdout] 54 | fn new(context: &'c context::Evaluation<'c, 'd>, node_test: &'c NodeTest) -> Self { [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] 54 | fn new(context: &'c context::Evaluation<'c, 'd>, node_test: &'c dyn NodeTest) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node_test.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub type SubNodeTest = Box; [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] 20 | pub type SubNodeTest = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/function.rs:331:64 [INFO] [stdout] | [INFO] [stdout] 331 | fn imp(a: &str, b: &str) -> bool { str::starts_with(a, b) }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/function.rs:335:61 [INFO] [stdout] | [INFO] [stdout] 335 | fn imp(a: &str, b: &str) -> bool { str::contains(a, b) }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | try!(args.exactly(2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | try!(args.at_least(2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | try!(args.at_most(3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:386:23 [INFO] [stdout] | [INFO] [stdout] 386 | let len = try!(args.pop_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | let start = try!(args.pop_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 394 | let s = try!(args.pop_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | try!(args.exactly(3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 451 | let to = try!(args.pop_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:452:20 [INFO] [stdout] | [INFO] [stdout] 452 | let from = try!(args.pop_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | let s = try!(args.pop_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | try!(args.exactly(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | try!(args.exactly(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:493:19 [INFO] [stdout] | [INFO] [stdout] 493 | let arg = try!(args.pop_boolean()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | try!(args.exactly(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | try!(args.at_most(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | try!(args.exactly(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:537:19 [INFO] [stdout] | [INFO] [stdout] 537 | let arg = try!(args.pop_nodeset()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | try!(args.exactly(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/function.rs:552:19 [INFO] [stdout] | [INFO] [stdout] 552 | let arg = try!(args.pop_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:414:40 [INFO] [stdout] | [INFO] [stdout] 414 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | / opaque_error!( [INFO] [stdout] 434 | | /// Errors that may occur when parsing an XPath [INFO] [stdout] 435 | | ParserError(parser::Error) [INFO] [stdout] 436 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `opaque_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:414:40 [INFO] [stdout] | [INFO] [stdout] 414 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | / opaque_error!( [INFO] [stdout] 439 | | /// Errors that may occur when executing an XPath [INFO] [stdout] 440 | | ExecutionError(expression::Error) [INFO] [stdout] 441 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `opaque_error` (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/parser.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | let left = try!(child_parse(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | try!(source.consume(&rule.token)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | let right = try!(child_parse(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | let expr = try!((*child_parse)(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | try!(source.consume(&Token::LeftParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | try!(source.consume(&Token::RightParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | let result = try!(self.parse_expression(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | try!(source.consume(&Token::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | match try!(self.parse_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | match try!(self.parse_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | try!(source.consume(&Token::LeftParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | try!(source.consume(&Token::RightParen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:337:29 [INFO] [stdout] | [INFO] [stdout] 337 | let arguments = try!(self.parse_function_args(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | try!(source.consume(&Token::LeftBracket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | match try!(self.parse_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 368 | try!(source.consume(&Token::RightBracket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:383:37 [INFO] [stdout] | [INFO] [stdout] 383 | while let Some(predicate) = try!(self.parse_predicate_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:393:20 [INFO] [stdout] | [INFO] [stdout] 393 | let axis = try!(self.parse_axis(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:395:31 [INFO] [stdout] | [INFO] [stdout] 395 | let node_test = match try!(self.parse_node_test(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | None => try!(self.default_node_test(source, axis)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | let predicates = try!(self.parse_predicates(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:415:15 [INFO] [stdout] | [INFO] [stdout] 415 | match try!(self.parse_step(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:420:21 [INFO] [stdout] | [INFO] [stdout] 420 | try!(source.consume(&Token::Slash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:422:27 [INFO] [stdout] | [INFO] [stdout] 422 | match try!(self.parse_step(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | try!(source.consume(&Token::Slash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:448:19 [INFO] [stdout] | [INFO] [stdout] 448 | match try!(self.parse_relative_location_path_raw(source, start_point)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:471:15 [INFO] [stdout] | [INFO] [stdout] 471 | match try!(self.parse_primary_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:473:34 [INFO] [stdout] | [INFO] [stdout] 473 | let predicates = try!(self.parse_predicates(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:486:20 [INFO] [stdout] | [INFO] [stdout] 486 | let expr = try!(self.parse_location_path(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 491 | match try!(self.parse_filter_expression(source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:494:21 [INFO] [stdout] | [INFO] [stdout] 494 | try!(source.consume(&Token::Slash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:496:27 [INFO] [stdout] | [INFO] [stdout] 496 | match try!(self.parse_relative_location_path_raw(source, expr)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:521:20 [INFO] [stdout] | [INFO] [stdout] 521 | let expr = try!(self.parse_union_expression(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:527:13 [INFO] [stdout] | [INFO] [stdout] 527 | try!(source.consume(&Token::MinusSign)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:529:24 [INFO] [stdout] | [INFO] [stdout] 529 | let expr = try!(self.parse_unary_expression(source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:631:20 [INFO] [stdout] | [INFO] [stdout] 631 | let expr = try!(self.parse_or_expression(&mut source)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tokenizer.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 372 | let token = try!(self.raw_next_token()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/axis.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | ... node_test: &NodeTest) -> OrderedNodes<'d> [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] 71 | node_test: &dyn NodeTest) -> OrderedNodes<'d> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | type Functions = HashMap>; [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] 14 | type Functions = HashMap>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/axis.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | node_test: &'c NodeTest, [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] 49 | node_test: &'c dyn NodeTest, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expression.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | pub type SubExpression = Box; [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] 73 | pub type SubExpression = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expression.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | pub type StepTest = Box; [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] 435 | pub type StepTest = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | pub struct XPath(Box); [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] 339 | pub struct XPath(Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | type Rule<'a, I> = Fn(TokenSource) -> ParseResult + '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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | type Rule<'a, I> = dyn Fn(TokenSource) -> ParseResult + 'a; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/axis.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | ... node_test: &NodeTest) -> OrderedNodes<'d>; [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] 22 | node_test: &dyn NodeTest) -> OrderedNodes<'d>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:179:64 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn function_for_name(&self, name: QName) -> Option<&'c function::Function> { [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] 179 | pub fn function_for_name(&self, name: QName) -> Option<&'c dyn function::Function> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/axis.rs:54:69 [INFO] [stdout] | [INFO] [stdout] 54 | fn new(context: &'c context::Evaluation<'c, 'd>, node_test: &'c NodeTest) -> Self { [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] 54 | fn new(context: &'c context::Evaluation<'c, 'd>, node_test: &'c dyn NodeTest) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node_test.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub type SubNodeTest = Box; [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] 20 | pub type SubNodeTest = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:414:40 [INFO] [stdout] | [INFO] [stdout] 414 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | / opaque_error!( [INFO] [stdout] 434 | | /// Errors that may occur when parsing an XPath [INFO] [stdout] 435 | | ParserError(parser::Error) [INFO] [stdout] 436 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `opaque_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:414:40 [INFO] [stdout] | [INFO] [stdout] 414 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | / opaque_error!( [INFO] [stdout] 439 | | /// Errors that may occur when executing an XPath [INFO] [stdout] 440 | | ExecutionError(expression::Error) [INFO] [stdout] 441 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `opaque_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/axis.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | ... node_test: &NodeTest) -> OrderedNodes<'d> [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] 71 | node_test: &dyn NodeTest) -> OrderedNodes<'d> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expression.rs:886:46 [INFO] [stdout] | [INFO] [stdout] 886 | ... _node_test: &NodeTest) -> OrderedNodes<'d> [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] 886 | _node_test: &dyn NodeTest) -> OrderedNodes<'d> [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:411:24 [INFO] [stdout] | [INFO] [stdout] 411 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | / opaque_error!( [INFO] [stdout] 434 | | /// Errors that may occur when parsing an XPath [INFO] [stdout] 435 | | ParserError(parser::Error) [INFO] [stdout] 436 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `opaque_error` (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::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:415:24 [INFO] [stdout] | [INFO] [stdout] 415 | self.0.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | / opaque_error!( [INFO] [stdout] 434 | | /// Errors that may occur when parsing an XPath [INFO] [stdout] 435 | | ParserError(parser::Error) [INFO] [stdout] 436 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `opaque_error` (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/lib.rs:411:24 [INFO] [stdout] | [INFO] [stdout] 411 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | / opaque_error!( [INFO] [stdout] 439 | | /// Errors that may occur when executing an XPath [INFO] [stdout] 440 | | ExecutionError(expression::Error) [INFO] [stdout] 441 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `opaque_error` (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::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:415:24 [INFO] [stdout] | [INFO] [stdout] 415 | self.0.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | / opaque_error!( [INFO] [stdout] 439 | | /// Errors that may occur when executing an XPath [INFO] [stdout] 440 | | ExecutionError(expression::Error) [INFO] [stdout] 441 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `opaque_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expression.rs:750:27 [INFO] [stdout] | [INFO] [stdout] 750 | let arg_expr: Box = Box::new(Literal{value: Value::Boolean(true)}); [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] 750 | let arg_expr: Box = Box::new(Literal{value: Value::Boolean(true)}); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 110 warnings emitted [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:411:24 [INFO] [stdout] | [INFO] [stdout] 411 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | / opaque_error!( [INFO] [stdout] 434 | | /// Errors that may occur when parsing an XPath [INFO] [stdout] 435 | | ParserError(parser::Error) [INFO] [stdout] 436 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `opaque_error` (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::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:415:24 [INFO] [stdout] | [INFO] [stdout] 415 | self.0.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | / opaque_error!( [INFO] [stdout] 434 | | /// Errors that may occur when parsing an XPath [INFO] [stdout] 435 | | ParserError(parser::Error) [INFO] [stdout] 436 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `opaque_error` (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/lib.rs:411:24 [INFO] [stdout] | [INFO] [stdout] 411 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | / opaque_error!( [INFO] [stdout] 439 | | /// Errors that may occur when executing an XPath [INFO] [stdout] 440 | | ExecutionError(expression::Error) [INFO] [stdout] 441 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `opaque_error` (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::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:415:24 [INFO] [stdout] | [INFO] [stdout] 415 | self.0.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | / opaque_error!( [INFO] [stdout] 439 | | /// Errors that may occur when executing an XPath [INFO] [stdout] 440 | | ExecutionError(expression::Error) [INFO] [stdout] 441 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `opaque_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 112 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "a695e2061066ba3d2aea60cbba7a331e8606461694c838a7e0985829c5c9f6ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a695e2061066ba3d2aea60cbba7a331e8606461694c838a7e0985829c5c9f6ca", kill_on_drop: false }` [INFO] [stdout] a695e2061066ba3d2aea60cbba7a331e8606461694c838a7e0985829c5c9f6ca