[INFO] fetching crate yamlate 0.1.1... [INFO] checking yamlate-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate yamlate 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate yamlate 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yamlate 0.1.1 [INFO] finished tweaking crates.io crate yamlate 0.1.1 [INFO] tweaked toml for crates.io crate yamlate 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding blake2b_simd v0.5.11 (available: v1.0.2) [INFO] [stderr] Adding constant_time_eq v0.1.5 (available: v0.3.1) [INFO] [stderr] Adding dirs v1.0.5 (available: v5.0.1) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding redox_users v0.3.5 (available: v0.4.6) [INFO] [stderr] Adding rust-argon2 v0.8.3 (available: v2.1.0) [INFO] [stderr] Adding term v0.5.2 (available: v1.0.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33fdde9de68554568c5bcdfa5cffdc3ce23eedb6781d68b99076795929dedb31 [INFO] running `Command { std: "docker" "start" "-a" "33fdde9de68554568c5bcdfa5cffdc3ce23eedb6781d68b99076795929dedb31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33fdde9de68554568c5bcdfa5cffdc3ce23eedb6781d68b99076795929dedb31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33fdde9de68554568c5bcdfa5cffdc3ce23eedb6781d68b99076795929dedb31", kill_on_drop: false }` [INFO] [stdout] 33fdde9de68554568c5bcdfa5cffdc3ce23eedb6781d68b99076795929dedb31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 399503f2823515fea1ecbc84628dd334ee2620cea819a40ba97c3d33a70b84cf [INFO] running `Command { std: "docker" "start" "-a" "399503f2823515fea1ecbc84628dd334ee2620cea819a40ba97c3d33a70b84cf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking yamlate v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | if let Exp::Lit(value) = try!(exp.eval(env)) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | if let Exp::Lit(value) = try!(exp.eval(env)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | if let Exp::Lit(value) = try!(exp.eval(env)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | Op::Not => Ok(Exp::Lit(try!(!value))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | if let (Exp::Lit(val1), Exp::Lit(val2)) = (try!(exp1.eval(env)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:64:60 [INFO] [stdout] | [INFO] [stdout] 64 | ... try!(exp2.eval(env))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | Op::Plus => try!(val1 + val2), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | Op::Minus => try!(val1 - val2), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | Op::Times => try!(val1 * val2), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | Op::Divide => try!(val1 / val2), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | Op::Modulo => try!(val1 % val2), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | Op::Exponent => try!(val1.exp(val2)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:72:36 [INFO] [stdout] | [INFO] [stdout] 72 | Op::And => try!(val1.and(val2)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | Op::Or => try!(val1.or(val2)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | try!(append_ch(ch, &mut self.state)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | let ast_node = try!(operator_to_exp(operator.as_str(), var2, var1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | try!(self.collapse_stacks(op_precedence)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | try!(self.collapse_stacks(-2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | try!(evaluate_helper(val, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | let result = try!(evaluate_helper(&Yaml::String(prop_str.to_owned()), env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | let result = try!(evaluate_helper(&Yaml::String(prop_str.to_owned()), env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | let result = try!(evaluate_helper(val, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | let result = try!(evaluate_helper(val, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | let result = try!(evaluate_helper(&v, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | try!(lexer.parse_string(split_vec[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | let ast = try!(parser.parse_to_ast(&mut lexer.state.variables, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | let result = try!(ast.eval(env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let result = try!(evaluate_helper(v, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | let result = try!(evaluate_helper(yaml, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | if let Exp::Lit(value) = try!(exp.eval(env)) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | if let Exp::Lit(value) = try!(exp.eval(env)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | if let Exp::Lit(value) = try!(exp.eval(env)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | Op::Not => Ok(Exp::Lit(try!(!value))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | if let (Exp::Lit(val1), Exp::Lit(val2)) = (try!(exp1.eval(env)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:64:60 [INFO] [stdout] | [INFO] [stdout] 64 | ... try!(exp2.eval(env))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | Op::Plus => try!(val1 + val2), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | Op::Minus => try!(val1 - val2), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | Op::Times => try!(val1 * val2), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | Op::Divide => try!(val1 / val2), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | Op::Modulo => try!(val1 % val2), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | Op::Exponent => try!(val1.exp(val2)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:72:36 [INFO] [stdout] | [INFO] [stdout] 72 | Op::And => try!(val1.and(val2)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ast/exp.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | Op::Or => try!(val1.or(val2)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | try!(append_ch(ch, &mut self.state)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | let ast_node = try!(operator_to_exp(operator.as_str(), var2, var1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | try!(self.collapse_stacks(op_precedence)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | try!(self.collapse_stacks(-2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | try!(evaluate_helper(val, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | let result = try!(evaluate_helper(&Yaml::String(prop_str.to_owned()), env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | let result = try!(evaluate_helper(&Yaml::String(prop_str.to_owned()), env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | let result = try!(evaluate_helper(val, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | let result = try!(evaluate_helper(val, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | let result = try!(evaluate_helper(&v, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | try!(lexer.parse_string(split_vec[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | let ast = try!(parser.parse_to_ast(&mut lexer.state.variables, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | let result = try!(ast.eval(env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | let result = try!(evaluate_helper(v, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/yaml.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | let result = try!(evaluate_helper(yaml, env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/exp.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn eval(&self, env: &mut Environment) -> Result { [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] 24 | pub fn eval(&self, env: &mut dyn Environment) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/exp.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn eval(&self, env: &mut Environment) -> Result { [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] 24 | pub fn eval(&self, env: &mut dyn Environment) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaml.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ... env: &mut Environment) [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] 18 | env: &mut dyn Environment) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaml.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | ... env: &mut Environment) [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] 48 | env: &mut dyn Environment) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaml.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | env: &mut Environment) [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] 83 | env: &mut dyn Environment) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaml.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | fn evaluate_helper(yaml: &Yaml, env: &mut Environment) -> Result { [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] 135 | fn evaluate_helper(yaml: &Yaml, env: &mut dyn Environment) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaml.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn evaluate(yaml: &Yaml, env: &mut Environment) -> Result { [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] 189 | pub fn evaluate(yaml: &Yaml, env: &mut dyn Environment) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaml.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ... env: &mut Environment) [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] 18 | env: &mut dyn Environment) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaml.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | ... env: &mut Environment) [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] 48 | env: &mut dyn Environment) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaml.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | env: &mut Environment) [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] 83 | env: &mut dyn Environment) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaml.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | fn evaluate_helper(yaml: &Yaml, env: &mut Environment) -> Result { [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] 135 | fn evaluate_helper(yaml: &Yaml, env: &mut dyn Environment) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yaml.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn evaluate(yaml: &Yaml, env: &mut Environment) -> Result { [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] 189 | pub fn evaluate(yaml: &Yaml, env: &mut dyn Environment) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yaml.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(YamlType::Value(Yaml::Hash(h.clone()))) [INFO] [stdout] | ---------- ^^^^^^^^^ expected `LinkedHashMap`, found `BTreeMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `linked_hash_map::LinkedHashMap` [INFO] [stdout] found struct `BTreeMap` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/yaml-rust-0.4.5/src/yaml.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Hash(self::Hash), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yaml.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | Ok(YamlType::Value(Yaml::Hash(h.clone()))) [INFO] [stdout] | ---------- ^^^^^^^^^ expected `LinkedHashMap`, found `BTreeMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `linked_hash_map::LinkedHashMap` [INFO] [stdout] found struct `BTreeMap` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/yaml-rust-0.4.5/src/yaml.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Hash(self::Hash), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yaml.rs:108:65 [INFO] [stdout] | [INFO] [stdout] 108 | ... return apply_nested_if_keywords(h, prop_str.clone().as_str(), env) [INFO] [stdout] | ------------------------ ^ expected `&BTreeMap`, found `&LinkedHashMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BTreeMap` [INFO] [stdout] found reference `&linked_hash_map::LinkedHashMap` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/yaml.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn apply_nested_if_keywords(h: &BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yaml.rs:111:68 [INFO] [stdout] | [INFO] [stdout] 111 | ... return apply_nested_while_keywords(h, [INFO] [stdout] | --------------------------- ^ expected `&BTreeMap`, found `&LinkedHashMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BTreeMap` [INFO] [stdout] found reference `&linked_hash_map::LinkedHashMap` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/yaml.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn apply_nested_while_keywords(h: &BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yaml.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(YamlType::Value(Yaml::Hash(h.clone()))) [INFO] [stdout] | ---------- ^^^^^^^^^ expected `LinkedHashMap`, found `BTreeMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `linked_hash_map::LinkedHashMap` [INFO] [stdout] found struct `BTreeMap` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/yaml-rust-0.4.5/src/yaml.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Hash(self::Hash), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yaml.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | Ok(YamlType::Value(Yaml::Hash(h.clone()))) [INFO] [stdout] | ---------- ^^^^^^^^^ expected `LinkedHashMap`, found `BTreeMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `linked_hash_map::LinkedHashMap` [INFO] [stdout] found struct `BTreeMap` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/yaml-rust-0.4.5/src/yaml.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Hash(self::Hash), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yaml.rs:108:65 [INFO] [stdout] | [INFO] [stdout] 108 | ... return apply_nested_if_keywords(h, prop_str.clone().as_str(), env) [INFO] [stdout] | ------------------------ ^ expected `&BTreeMap`, found `&LinkedHashMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BTreeMap` [INFO] [stdout] found reference `&linked_hash_map::LinkedHashMap` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/yaml.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn apply_nested_if_keywords(h: &BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yaml.rs:111:68 [INFO] [stdout] | [INFO] [stdout] 111 | ... return apply_nested_while_keywords(h, [INFO] [stdout] | --------------------------- ^ expected `&BTreeMap`, found `&LinkedHashMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BTreeMap` [INFO] [stdout] found reference `&linked_hash_map::LinkedHashMap` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/yaml.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn apply_nested_while_keywords(h: &BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yamlate` (lib) due to 6 previous errors; 35 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yamlate` (lib test) due to 6 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "399503f2823515fea1ecbc84628dd334ee2620cea819a40ba97c3d33a70b84cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "399503f2823515fea1ecbc84628dd334ee2620cea819a40ba97c3d33a70b84cf", kill_on_drop: false }` [INFO] [stdout] 399503f2823515fea1ecbc84628dd334ee2620cea819a40ba97c3d33a70b84cf