[INFO] fetching crate mage 0.2.0... [INFO] checking mage-0.2.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate mage 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate mage 0.2.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages [INFO] [stderr] Adding dtoa v0.4.8 (latest: v1.0.9) [INFO] [stderr] Adding glob v0.2.11 (latest: v0.3.1) [INFO] [stderr] Adding itoa v0.3.4 (latest: v1.0.11) [INFO] [stderr] Adding num-traits v0.1.43 (latest: v0.2.18) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding serde v0.9.15 (latest: v1.0.197) [INFO] [stderr] Adding serde_json v0.9.10 (latest: v1.0.115) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef7a40cf882d247edf3b78fc45a66921815b721efd6d8e465b46a6241e5c5c5e [INFO] running `Command { std: "docker" "start" "-a" "ef7a40cf882d247edf3b78fc45a66921815b721efd6d8e465b46a6241e5c5c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef7a40cf882d247edf3b78fc45a66921815b721efd6d8e465b46a6241e5c5c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7a40cf882d247edf3b78fc45a66921815b721efd6d8e465b46a6241e5c5c5e", kill_on_drop: false }` [INFO] [stdout] ef7a40cf882d247edf3b78fc45a66921815b721efd6d8e465b46a6241e5c5c5e [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44bfbb44064fde1c0d8de44a2e526c0019438d216c9f3b23cfebf5ab9ff69081 [INFO] running `Command { std: "docker" "start" "-a" "44bfbb44064fde1c0d8de44a2e526c0019438d216c9f3b23cfebf5ab9ff69081", kill_on_drop: false }` [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking eval v0.4.3 [INFO] [stderr] Checking serde_json v0.9.10 [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: 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: 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.115/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.115/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.115/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.115/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.115/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.115/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.115/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.115/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: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.115/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.115/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.115/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.115/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.115/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.115/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.115/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.115/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.115/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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/collections/hash/map.rs:1105: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.115/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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/collections/hash/map.rs:1105: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.115/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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/collections/hash/map.rs:1105: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] 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.115/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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/collections/hash/map.rs:1105: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] 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" "44bfbb44064fde1c0d8de44a2e526c0019438d216c9f3b23cfebf5ab9ff69081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44bfbb44064fde1c0d8de44a2e526c0019438d216c9f3b23cfebf5ab9ff69081", kill_on_drop: false }` [INFO] [stdout] 44bfbb44064fde1c0d8de44a2e526c0019438d216c9f3b23cfebf5ab9ff69081