[INFO] cloning repository https://github.com/s-perez/rusty-dedup
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s-perez/rusty-dedup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-perez%2Frusty-dedup", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-perez%2Frusty-dedup'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f7d79bdcd2d8638818807bb5e2a1bc25e1ae6766
[INFO] checking s-perez/rusty-dedup against beta-2020-07-24 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-perez%2Frusty-dedup" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/s-perez/rusty-dedup on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/s-perez/rusty-dedup
[INFO] finished tweaking git repo https://github.com/s-perez/rusty-dedup
[INFO] tweaked toml for git repo https://github.com/s-perez/rusty-dedup written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/s-perez/rusty-dedup already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 22aa673eef147806eeb0c46acaf4711530a7da286b7f856b80f654be0df67a12
[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" "22aa673eef147806eeb0c46acaf4711530a7da286b7f856b80f654be0df67a12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22aa673eef147806eeb0c46acaf4711530a7da286b7f856b80f654be0df67a12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22aa673eef147806eeb0c46acaf4711530a7da286b7f856b80f654be0df67a12", kill_on_drop: false }`
[INFO] [stdout] 22aa673eef147806eeb0c46acaf4711530a7da286b7f856b80f654be0df67a12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8970accae82bcab22c1087f3b3cae8091857a84dbbdebdcc64a56f00ca36d4e
[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" "f8970accae82bcab22c1087f3b3cae8091857a84dbbdebdcc64a56f00ca36d4e", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.50
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling serde v1.0.89
[INFO] [stderr]     Checking cfg-if v0.1.7
[INFO] [stderr]     Checking nibble_vec v0.0.4
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking radix_trie v0.1.4
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking clap v2.32.0
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]     Checking simple_logger v1.0.1
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking rusty-dedup v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/json.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |             None => fail!(""),
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(impl_trait_in_bindings)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `impl_trait_in_bindings` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(impl_trait_in_bindings)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout]   = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`
[INFO] [stdout]  --> src/json.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{info, error};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`
[INFO] [stdout]  --> src/dedup.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{info, error};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/dedup.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn deduplicate(parser: &Parser) -> Result<bool, &'static str> {
[INFO] [stdout]   |                             ^^^^^^ help: use `dyn`: `dyn Parser`
[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/main.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let parser : Box<Parser> = match matches.value_of("type").unwrap(){
[INFO] [stdout]    |                      ^^^^^^ help: use `dyn`: `dyn Parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/json.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |             None => fail!(""),
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(impl_trait_in_bindings)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `impl_trait_in_bindings` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(impl_trait_in_bindings)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout]   = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`
[INFO] [stdout]  --> src/json.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{info, error};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`
[INFO] [stdout]  --> src/dedup.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{info, error};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/dedup.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn deduplicate(parser: &Parser) -> Result<bool, &'static str> {
[INFO] [stdout]   |                             ^^^^^^ help: use `dyn`: `dyn Parser`
[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/main.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let parser : Box<Parser> = match matches.value_of("type").unwrap(){
[INFO] [stdout]    |                      ^^^^^^ help: use `dyn`: `dyn Parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/json.rs:20:39
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 get_element_from_json(&json, &path)
[INFO] [stdout]    |                                       ^^^^^
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       expected enum `serde_json::Value`, found `&serde_json::Value`
[INFO] [stdout]    |                                       help: consider removing the borrow: `json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0554.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/json.rs:20:39
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 get_element_from_json(&json, &path)
[INFO] [stdout]    |                                       ^^^^^
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       expected enum `serde_json::Value`, found `&serde_json::Value`
[INFO] [stdout]    |                                       help: consider removing the borrow: `json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty-dedup`.
[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] error: aborting due to 3 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0554.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "f8970accae82bcab22c1087f3b3cae8091857a84dbbdebdcc64a56f00ca36d4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8970accae82bcab22c1087f3b3cae8091857a84dbbdebdcc64a56f00ca36d4e", kill_on_drop: false }`
[INFO] [stdout] f8970accae82bcab22c1087f3b3cae8091857a84dbbdebdcc64a56f00ca36d4e
