[INFO] updating cached repository s-perez/rusty-dedup [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/s-perez/rusty-dedup [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/s-perez/rusty-dedup" "work/ex/beta-1.38-1/sources/1.37.0/gh/s-perez/rusty-dedup"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/s-perez/rusty-dedup'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/s-perez/rusty-dedup" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/s-perez/rusty-dedup"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/s-perez/rusty-dedup'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f7d79bdcd2d8638818807bb5e2a1bc25e1ae6766 [INFO] sha for GitHub repo s-perez/rusty-dedup: f7d79bdcd2d8638818807bb5e2a1bc25e1ae6766 [INFO] validating manifest of s-perez/rusty-dedup on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of s-perez/rusty-dedup on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing s-perez/rusty-dedup [INFO] finished frobbing s-perez/rusty-dedup [INFO] frobbed toml for s-perez/rusty-dedup written to work/ex/beta-1.38-1/sources/1.37.0/gh/s-perez/rusty-dedup/Cargo.toml [INFO] started frobbing s-perez/rusty-dedup [INFO] finished frobbing s-perez/rusty-dedup [INFO] frobbed toml for s-perez/rusty-dedup written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/s-perez/rusty-dedup/Cargo.toml [INFO] crate s-perez/rusty-dedup already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing s-perez/rusty-dedup against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/s-perez/rusty-dedup:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 317ab338c00b37ad47e6d85e491c55a55d7d419eb6c655c76fb6d340f66977c7 [INFO] running `"docker" "start" "-a" "317ab338c00b37ad47e6d85e491c55a55d7d419eb6c655c76fb6d340f66977c7"` [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling nibble_vec v0.0.4 [INFO] [stderr] Compiling simple_logger v1.0.1 [INFO] [stderr] Compiling radix_trie v0.1.4 [INFO] [stderr] Compiling rusty-dedup v1.0.0 (/opt/crater/workdir) [INFO] [stderr] warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(impl_trait_in_bindings)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail!` in this scope [INFO] [stderr] --> src/json.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | None => fail!(""), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(impl_trait_in_bindings)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error`, `info` [INFO] [stderr] --> src/json.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use log::{info, error}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error`, `info` [INFO] [stderr] --> src/dedup.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | use log::{info, error}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dedup.rs:6:29 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn deduplicate(parser: &Parser) -> Result { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:47:22 [INFO] [stderr] | [INFO] [stderr] 47 | let parser : Box = match matches.value_of("type").unwrap(){ [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Parser` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/json.rs:20:39 [INFO] [stderr] | [INFO] [stderr] 20 | get_element_from_json(&json, &path) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `serde_json::value::Value`, found reference [INFO] [stderr] | help: consider removing the borrow: `json` [INFO] [stderr] | [INFO] [stderr] = note: expected type `serde_json::value::Value` [INFO] [stderr] found type `&serde_json::value::Value` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0554. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `rusty-dedup`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "317ab338c00b37ad47e6d85e491c55a55d7d419eb6c655c76fb6d340f66977c7"` [INFO] running `"docker" "rm" "-f" "317ab338c00b37ad47e6d85e491c55a55d7d419eb6c655c76fb6d340f66977c7"` [INFO] [stdout] 317ab338c00b37ad47e6d85e491c55a55d7d419eb6c655c76fb6d340f66977c7