[INFO] fetching crate mage 0.2.0... [INFO] checking mage-0.2.0 against beta for pr-78714 [INFO] extracting crate mage 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate mage 0.2.0 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa44db6553090fa75bfffdfed3f90c50ec3314eef500c8fe7fe417d37892d1cc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fa44db6553090fa75bfffdfed3f90c50ec3314eef500c8fe7fe417d37892d1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa44db6553090fa75bfffdfed3f90c50ec3314eef500c8fe7fe417d37892d1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa44db6553090fa75bfffdfed3f90c50ec3314eef500c8fe7fe417d37892d1cc", kill_on_drop: false }` [INFO] [stdout] fa44db6553090fa75bfffdfed3f90c50ec3314eef500c8fe7fe417d37892d1cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa11d5515a1a0d06cec6cc4cf245e4fc20fa157d65d657d91716bf3524714071 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aa11d5515a1a0d06cec6cc4cf245e4fc20fa157d65d657d91716bf3524714071", kill_on_drop: false }` [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking itoa v0.3.4 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Contexts, &Functions) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Contexts, &Functions) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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:73 [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` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 `eval::to_value` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&V` [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:73 [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` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 `eval::to_value` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&V` [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] 221 | .render()) [INFO] [stdout] | ^^^^^^ method not found in `eval::Value` [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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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] 221 | .render()) [INFO] [stdout] | ^^^^^^ method not found in `eval::Value` [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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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 enum `eval::Value`, found enum `serde_json::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:309:68 [INFO] [stdout] | [INFO] [stdout] 309 | ... context.insert(_for.value.clone(), value.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ expected enum `eval::Value`, found enum `serde_json::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:309:68 [INFO] [stdout] | [INFO] [stdout] 309 | ... context.insert(_for.value.clone(), value.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ expected enum `eval::Value`, found enum `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `serde_json` are being used? [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "aa11d5515a1a0d06cec6cc4cf245e4fc20fa157d65d657d91716bf3524714071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa11d5515a1a0d06cec6cc4cf245e4fc20fa157d65d657d91716bf3524714071", kill_on_drop: false }` [INFO] [stdout] aa11d5515a1a0d06cec6cc4cf245e4fc20fa157d65d657d91716bf3524714071