[INFO] cloning repository https://github.com/ethankhall/inc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ethankhall/inc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethankhall%2Finc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethankhall%2Finc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f67949127dc5382c3862eae30b6615333474961a [INFO] checking ethankhall/inc against master#e4106065bf1bb515935d5d024e8d9c86454e2b22 for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethankhall%2Finc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ethankhall/inc on toolchain e4106065bf1bb515935d5d024e8d9c86454e2b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ethankhall/inc [INFO] finished tweaking git repo https://github.com/ethankhall/inc [INFO] tweaked toml for git repo https://github.com/ethankhall/inc written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ethankhall/inc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded skeptic v0.13.3 [INFO] [stderr] Downloaded syn v0.15.6 [INFO] [stderr] Downloaded serde_json v1.0.31 [INFO] [stderr] Downloaded toml v0.4.7 [INFO] [stderr] Downloaded cargo_metadata v0.5.8 [INFO] [stderr] Downloaded bytecount v0.3.2 [INFO] [stderr] Downloaded signal-hook v0.1.5 [INFO] [stderr] Downloaded serde_yaml v0.8.5 [INFO] [stderr] Downloaded fern v0.4.4 [INFO] [stderr] Downloaded arc-swap v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a3b149d8a43fd1b3acf5e619e8293671feb9eeb6132792bdabf2e6e0089e5fd [INFO] running `Command { std: "docker" "start" "-a" "5a3b149d8a43fd1b3acf5e619e8293671feb9eeb6132792bdabf2e6e0089e5fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a3b149d8a43fd1b3acf5e619e8293671feb9eeb6132792bdabf2e6e0089e5fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3b149d8a43fd1b3acf5e619e8293671feb9eeb6132792bdabf2e6e0089e5fd", kill_on_drop: false }` [INFO] [stdout] 5a3b149d8a43fd1b3acf5e619e8293671feb9eeb6132792bdabf2e6e0089e5fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70d31d13124fd797eb5293d5bda7068e8d0ac0845b2a9477504bd3d33c8f78ee [INFO] running `Command { std: "docker" "start" "-a" "70d31d13124fd797eb5293d5bda7068e8d0ac0845b2a9477504bd3d33c8f78ee", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling names v0.11.0 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking arc-swap v0.3.0 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling same-file v1.0.3 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling walkdir v2.2.5 [INFO] [stderr] Checking signal-hook v0.1.5 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking fern v0.4.4 [INFO] [stderr] Compiling syn v0.15.6 [INFO] [stderr] Checking dirs v1.0.4 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking environment v0.1.1 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Checking serde_yaml v0.8.5 [INFO] [stderr] Checking serde_json v1.0.31 [INFO] [stderr] Checking toml v0.4.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cargo_metadata v0.5.8 [INFO] [stderr] Checking inc-lib v0.1.6 (/opt/rustwide/workdir/inc-lib) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inc-lib/src/libs/scm/api.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn build_scm_providers() -> Vec<&'static ScmProvier> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn build_scm_providers() -> Vec<&'static dyn ScmProvier> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inc-lib/src/libs/scm/api.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | providers: Vec<&ScmProvier>, [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | providers: Vec<&dyn ScmProvier>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inc-lib/src/libs/scm/services.rs:8:83 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn build_service_map(sub_commands: &AvaliableCommands) -> HashMap> { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn build_service_map(sub_commands: &AvaliableCommands) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inc-lib/src/libs/scm/services.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | let mut result: HashMap> = HashMap::new(); [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | let mut result: HashMap> = HashMap::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> inc-lib/src/core/command.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | for entry in fs::read_dir(split_path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 90 | while let Ok(entry) = fs::read_dir(split_path) { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(entry) = fs::read_dir(split_path) { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> inc-lib/src/core/command.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | for entry in path.read_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 104 | while let Ok(entry) = path.read_dir() { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 104 | if let Ok(entry) = path.read_dir() { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking inc-commands v0.1.6 (/opt/rustwide/workdir/inc-commands) [INFO] [stderr] Compiling skeptic v0.13.3 [INFO] [stderr] Checking inc v0.1.9 (/opt/rustwide/workdir/inc) [INFO] [stderr] Compiling assert_cli v0.5.4 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inc-lib/src/libs/scm/api.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn build_scm_providers() -> Vec<&'static ScmProvier> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn build_scm_providers() -> Vec<&'static dyn ScmProvier> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inc-lib/src/libs/scm/api.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | providers: Vec<&ScmProvier>, [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | providers: Vec<&dyn ScmProvier>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inc-lib/src/libs/scm/services.rs:8:83 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn build_service_map(sub_commands: &AvaliableCommands) -> HashMap> { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn build_service_map(sub_commands: &AvaliableCommands) -> HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> inc-lib/src/libs/scm/services.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | let mut result: HashMap> = HashMap::new(); [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | let mut result: HashMap> = HashMap::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> inc-lib/src/core/command.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | for entry in fs::read_dir(split_path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 90 | while let Ok(entry) = fs::read_dir(split_path) { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(entry) = fs::read_dir(split_path) { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> inc-lib/src/core/command.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | for entry in path.read_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 104 | while let Ok(entry) = path.read_dir() { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 104 | if let Ok(entry) = path.read_dir() { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.17s [INFO] running `Command { std: "docker" "inspect" "70d31d13124fd797eb5293d5bda7068e8d0ac0845b2a9477504bd3d33c8f78ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70d31d13124fd797eb5293d5bda7068e8d0ac0845b2a9477504bd3d33c8f78ee", kill_on_drop: false }` [INFO] [stdout] 70d31d13124fd797eb5293d5bda7068e8d0ac0845b2a9477504bd3d33c8f78ee