[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] testing s-perez/rusty-dedup against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-perez%2Frusty-dedup" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/s-perez/rusty-dedup on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded radix_trie v0.1.4 [INFO] [stderr] Downloaded nibble_vec v0.0.4 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1866df3313b8ae7df5a883739d8c543a7216a70b1ee7e02cd6ebf13c4c42051f [INFO] running `Command { std: "docker" "start" "-a" "1866df3313b8ae7df5a883739d8c543a7216a70b1ee7e02cd6ebf13c4c42051f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1866df3313b8ae7df5a883739d8c543a7216a70b1ee7e02cd6ebf13c4c42051f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1866df3313b8ae7df5a883739d8c543a7216a70b1ee7e02cd6ebf13c4c42051f", kill_on_drop: false }` [INFO] [stdout] 1866df3313b8ae7df5a883739d8c543a7216a70b1ee7e02cd6ebf13c4c42051f [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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74c5b57bdb1efac78cd131109912bf2740c0a68dd456c7a42fb759c50954ff66 [INFO] running `Command { std: "docker" "start" "-a" "74c5b57bdb1efac78cd131109912bf2740c0a68dd456c7a42fb759c50954ff66", kill_on_drop: false }` [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] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling nibble_vec v0.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling radix_trie v0.1.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling simple_logger v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling rusty-dedup v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(impl_trait_in_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: the implementation was not maintainable, the feature may get reintroduced once the current refactorings are done [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] 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 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn deduplicate(parser: &Parser) -> Result { [INFO] [stdout] 6 + pub fn deduplicate(parser: &dyn Parser) -> Result { [INFO] [stdout] | [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] | ^^^^^ expected enum `Value`, found `&Value` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 20 - get_element_from_json(&json, &path) [INFO] [stdout] 20 + get_element_from_json(json, &path) [INFO] [stdout] | [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 = match matches.value_of("type").unwrap(){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - let parser : Box = match matches.value_of("type").unwrap(){ [INFO] [stdout] 47 + let parser : Box = match matches.value_of("type").unwrap(){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-dedup` due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74c5b57bdb1efac78cd131109912bf2740c0a68dd456c7a42fb759c50954ff66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c5b57bdb1efac78cd131109912bf2740c0a68dd456c7a42fb759c50954ff66", kill_on_drop: false }` [INFO] [stdout] 74c5b57bdb1efac78cd131109912bf2740c0a68dd456c7a42fb759c50954ff66