[INFO] fetching crate mage 0.2.0... [INFO] checking mage-0.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate mage 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate mage 0.2.0 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 mage 0.2.0 [INFO] finished tweaking crates.io crate mage 0.2.0 [INFO] tweaked toml for crates.io crate mage 0.2.0 written to /workspace/builds/worker-3-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 20 packages to latest compatible versions [INFO] [stderr] Adding dtoa v0.4.8 (available: v1.0.9) [INFO] [stderr] Adding glob v0.2.11 (available: v0.3.1) [INFO] [stderr] Adding itoa v0.3.4 (available: v1.0.11) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding serde v0.9.15 (available: v1.0.210) [INFO] [stderr] Adding serde_json v0.9.10 (available: v1.0.128) [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded eval v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6be1153015fa4d30aca34b4823a717e9e23fbe620f32eb52e69fd8e6aaa6f1e7 [INFO] running `Command { std: "docker" "start" "-a" "6be1153015fa4d30aca34b4823a717e9e23fbe620f32eb52e69fd8e6aaa6f1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6be1153015fa4d30aca34b4823a717e9e23fbe620f32eb52e69fd8e6aaa6f1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6be1153015fa4d30aca34b4823a717e9e23fbe620f32eb52e69fd8e6aaa6f1e7", kill_on_drop: false }` [INFO] [stdout] 6be1153015fa4d30aca34b4823a717e9e23fbe620f32eb52e69fd8e6aaa6f1e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a29275efc908ad3bbf8d1e597d7adfb94b6ce564e254fbacebc1ac145f9c624a [INFO] running `Command { std: "docker" "start" "-a" "a29275efc908ad3bbf8d1e597d7adfb94b6ce564e254fbacebc1ac145f9c624a", 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 serde v1.0.210 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking eval v0.4.3 [INFO] [stderr] Checking mage v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | type Compiled = Box 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] 108 | type Compiled = Box Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | type Compiled = Box 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] 108 | type Compiled = Box Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `V: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/template/mod.rs:65:74 [INFO] [stdout] | [INFO] [stdout] 65 | self.contexts.first_mut().unwrap().insert(name.into(), to_value(&value)); [INFO] [stdout] | -------- ^^^^^ the trait `serde::ser::Serialize` is not implemented for `V`, which is required by `&V: serde::ser::Serialize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `V` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = note: required for `&V` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `eval::to_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/eval-0.4.3/src/lib.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn to_value(v: S) -> Value { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 63 | V: Serialize + serde::ser::Serialize [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `V: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/template/mod.rs:65:74 [INFO] [stdout] | [INFO] [stdout] 65 | self.contexts.first_mut().unwrap().insert(name.into(), to_value(&value)); [INFO] [stdout] | -------- ^^^^^ the trait `serde::ser::Serialize` is not implemented for `V`, which is required by `&V: serde::ser::Serialize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `V` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = note: required for `&V` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `eval::to_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/eval-0.4.3/src/lib.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn to_value(v: S) -> Value { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 63 | V: Serialize + serde::ser::Serialize [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render` found for enum `eval::Value` in the current scope [INFO] [stdout] --> src/tree/mod.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 217 | Ok(ExecOptions::new(expr) [INFO] [stdout] | ____________________- [INFO] [stdout] 218 | | .contexts(contexts) [INFO] [stdout] 219 | | .functions(functions) [INFO] [stdout] 220 | | .exec()? [INFO] [stdout] 221 | | .render()) [INFO] [stdout] | | -^^^^^^ method not found in `Value` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Render` defines an item `render`, perhaps you need to implement it [INFO] [stdout] --> src/render/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Render { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 233 | let boolean = match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] 234 | Value::Bool(_) | Value::Null => { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:234:38 [INFO] [stdout] | [INFO] [stdout] 233 | let boolean = match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] 234 | Value::Bool(_) | Value::Null => { [INFO] [stdout] | ^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | if let Value::Bool(boolean) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- this expression has type `eval::Value` [INFO] [stdout] | | [INFO] [stdout] | expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 253 | match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] 254 | Value::Bool(boolean) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 253 | match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] ... [INFO] [stdout] 261 | Value::Null => (), [INFO] [stdout] | ^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 284 | match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] 285 | Value::Array(ref array) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 284 | match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] ... [INFO] [stdout] 305 | Value::Object(ref object) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render` found for enum `eval::Value` in the current scope [INFO] [stdout] --> src/tree/mod.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 217 | Ok(ExecOptions::new(expr) [INFO] [stdout] | ____________________- [INFO] [stdout] 218 | | .contexts(contexts) [INFO] [stdout] 219 | | .functions(functions) [INFO] [stdout] 220 | | .exec()? [INFO] [stdout] 221 | | .render()) [INFO] [stdout] | | -^^^^^^ method not found in `Value` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Render` defines an item `render`, perhaps you need to implement it [INFO] [stdout] --> src/render/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Render { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 284 | match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] ... [INFO] [stdout] 325 | Value::Null => (), [INFO] [stdout] | ^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 233 | let boolean = match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] 234 | Value::Bool(_) | Value::Null => { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:234:38 [INFO] [stdout] | [INFO] [stdout] 233 | let boolean = match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] 234 | Value::Bool(_) | Value::Null => { [INFO] [stdout] | ^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | if let Value::Bool(boolean) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- this expression has type `eval::Value` [INFO] [stdout] | | [INFO] [stdout] | expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 253 | match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] 254 | Value::Bool(boolean) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 253 | match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] ... [INFO] [stdout] 261 | Value::Null => (), [INFO] [stdout] | ^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 284 | match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] 285 | Value::Array(ref array) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 284 | match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] ... [INFO] [stdout] 305 | Value::Object(ref object) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 284 | match value { [INFO] [stdout] | ----- this expression has type `eval::Value` [INFO] [stdout] ... [INFO] [stdout] 325 | Value::Null => (), [INFO] [stdout] | ^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:289:68 [INFO] [stdout] | [INFO] [stdout] 289 | ... context.insert(_for.value.clone(), value.clone()); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] help: the return type of this call is `serde_json::Value` due to the type of the argument passed [INFO] [stdout] --> src/tree/mod.rs:289:33 [INFO] [stdout] | [INFO] [stdout] 289 | ... context.insert(_for.value.clone(), value.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1103:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:289:68 [INFO] [stdout] | [INFO] [stdout] 289 | ... context.insert(_for.value.clone(), value.clone()); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] help: the return type of this call is `serde_json::Value` due to the type of the argument passed [INFO] [stdout] --> src/tree/mod.rs:289:33 [INFO] [stdout] | [INFO] [stdout] 289 | ... context.insert(_for.value.clone(), value.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1103:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:309:68 [INFO] [stdout] | [INFO] [stdout] 309 | ... context.insert(_for.value.clone(), value.clone()); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] help: the return type of this call is `serde_json::Value` due to the type of the argument passed [INFO] [stdout] --> src/tree/mod.rs:309:33 [INFO] [stdout] | [INFO] [stdout] 309 | ... context.insert(_for.value.clone(), value.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1103:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree/mod.rs:309:68 [INFO] [stdout] | [INFO] [stdout] 309 | ... context.insert(_for.value.clone(), value.clone()); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ expected `eval::Value`, found `serde_json::Value` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `serde_json::Value` and `eval::Value` have similar names, but are actually distinct types [INFO] [stdout] note: `serde_json::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-0.9.10/src/value.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `eval::Value` is defined in crate `serde_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/value/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [INFO] [stdout] help: the return type of this call is `serde_json::Value` due to the type of the argument passed [INFO] [stdout] --> src/tree/mod.rs:309:33 [INFO] [stdout] | [INFO] [stdout] 309 | ... context.insert(_for.value.clone(), value.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:1103:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render::Render` [INFO] [stdout] --> src/tree/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use render::Render; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render::Render` [INFO] [stdout] --> src/tree/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use render::Render; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mage` (lib) due to 13 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mage` (lib test) due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a29275efc908ad3bbf8d1e597d7adfb94b6ce564e254fbacebc1ac145f9c624a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29275efc908ad3bbf8d1e597d7adfb94b6ce564e254fbacebc1ac145f9c624a", kill_on_drop: false }` [INFO] [stdout] a29275efc908ad3bbf8d1e597d7adfb94b6ce564e254fbacebc1ac145f9c624a