[INFO] cloning repository https://github.com/gallowstree/subrenamer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gallowstree/subrenamer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallowstree%2Fsubrenamer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallowstree%2Fsubrenamer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6ae04d5e91de3d1dfe0507e6327429ff48b8750 [INFO] checking gallowstree/subrenamer-rs/a6ae04d5e91de3d1dfe0507e6327429ff48b8750 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallowstree%2Fsubrenamer-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gallowstree/subrenamer-rs on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gallowstree/subrenamer-rs [INFO] finished tweaking git repo https://github.com/gallowstree/subrenamer-rs [INFO] tweaked toml for git repo https://github.com/gallowstree/subrenamer-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gallowstree/subrenamer-rs 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.6 [INFO] [stderr] Downloaded utf8-ranges v1.0.2 [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded memchr v2.1.2 [INFO] [stderr] Downloaded ucd-util v0.1.3 [INFO] [stderr] Downloaded aho-corasick v0.6.9 [INFO] [stderr] Downloaded regex v1.1.0 [INFO] [stderr] Downloaded regex-syntax v0.6.4 [INFO] [stderr] Downloaded libc v0.2.45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27d29709678117886321756f039ef21263cb1bda9ac7f869346f0da63cae583b [INFO] running `Command { std: "docker" "start" "-a" "27d29709678117886321756f039ef21263cb1bda9ac7f869346f0da63cae583b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27d29709678117886321756f039ef21263cb1bda9ac7f869346f0da63cae583b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27d29709678117886321756f039ef21263cb1bda9ac7f869346f0da63cae583b", kill_on_drop: false }` [INFO] [stdout] 27d29709678117886321756f039ef21263cb1bda9ac7f869346f0da63cae583b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9d5f3146da013cca84899f5254d916077e9023b1d3b3568d3c1a44fa6529d91 [INFO] running `Command { std: "docker" "start" "-a" "d9d5f3146da013cca84899f5254d916077e9023b1d3b3568d3c1a44fa6529d91", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking subrenamer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | .filter_map(|result| result.ok().and_then(to_episode)) [INFO] [stdout] | -------- ^^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 43 | fn to_episode(entry: &DirEntry) -> Option { [INFO] [stdout] | -------------------------------------------------- found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(DirEntry) -> _` [INFO] [stdout] found function signature `fn(&DirEntry) -> _` [INFO] [stdout] note: required by a bound in `Option::::and_then` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:1441:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 18 | .filter_map(|result| result.ok().and_then(|entry: DirEntry| to_episode(&entry))) [INFO] [stdout] | +++++++++++++++++ ++++++++ [INFO] [stdout] help: consider adjusting the signature so it does not borrow its argument [INFO] [stdout] | [INFO] [stdout] 43 - fn to_episode(entry: &DirEntry) -> Option { [INFO] [stdout] 43 + fn to_episode(entry: DirEntry) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | .filter_map(|result| result.ok().and_then(to_episode)) [INFO] [stdout] | -------- ^^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 43 | fn to_episode(entry: &DirEntry) -> Option { [INFO] [stdout] | -------------------------------------------------- found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(DirEntry) -> _` [INFO] [stdout] found function signature `fn(&DirEntry) -> _` [INFO] [stdout] note: required by a bound in `Option::::and_then` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:1441:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 18 | .filter_map(|result| result.ok().and_then(|entry: DirEntry| to_episode(&entry))) [INFO] [stdout] | +++++++++++++++++ ++++++++ [INFO] [stdout] help: consider adjusting the signature so it does not borrow its argument [INFO] [stdout] | [INFO] [stdout] 43 - fn to_episode(entry: &DirEntry) -> Option { [INFO] [stdout] 43 + fn to_episode(entry: DirEntry) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&DirEntry` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `DirEntry` doesn't implement `PartialEq` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/fs.rs:162:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq` [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&DirEntry` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `DirEntry` doesn't implement `PartialEq` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/fs.rs:162:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq` [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DirEntry: Eq` is not satisfied [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `DirEntry` [INFO] [stdout] | [INFO] [stdout] = note: required for `&'a DirEntry` to implement `Eq` [INFO] [stdout] note: required by a bound in `AssertParamIsEq` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/cmp.rs:363:1 [INFO] [stdout] = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DirEntry: Eq` is not satisfied [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `DirEntry` [INFO] [stdout] | [INFO] [stdout] = note: required for `&'a DirEntry` to implement `Eq` [INFO] [stdout] note: required by a bound in `AssertParamIsEq` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/cmp.rs:363:1 [INFO] [stdout] = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&DirEntry` with `&_` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ---------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `&DirEntry == &_` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&_>` is not implemented for `&DirEntry` [INFO] [stdout] note: required by a bound in `std::cmp::PartialOrd::partial_cmp` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/cmp.rs:1320:5 [INFO] [stdout] = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&DirEntry` with `&_` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ---------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `&DirEntry == &_` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&_>` is not implemented for `&DirEntry` [INFO] [stdout] note: required by a bound in `std::cmp::PartialOrd::partial_cmp` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/cmp.rs:1320:5 [INFO] [stdout] = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `DirEntry` with `_` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ---------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `DirEntry < _` and `DirEntry > _` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialOrd<_>` is not implemented for `DirEntry` [INFO] [stdout] = note: required for `&DirEntry` to implement `PartialOrd<&_>` [INFO] [stdout] = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `DirEntry` with `_` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ---------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `DirEntry < _` and `DirEntry > _` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialOrd<_>` is not implemented for `DirEntry` [INFO] [stdout] = note: required for `&DirEntry` to implement `PartialOrd<&_>` [INFO] [stdout] = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DirEntry: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | --- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `DirEntry` [INFO] [stdout] | [INFO] [stdout] = note: required for `&DirEntry` to implement `Ord` [INFO] [stdout] = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DirEntry: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | --- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `DirEntry` [INFO] [stdout] | [INFO] [stdout] = note: required for `&DirEntry` to implement `Ord` [INFO] [stdout] = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `subrenamer` (bin "subrenamer") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `subrenamer` (bin "subrenamer" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "d9d5f3146da013cca84899f5254d916077e9023b1d3b3568d3c1a44fa6529d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9d5f3146da013cca84899f5254d916077e9023b1d3b3568d3c1a44fa6529d91", kill_on_drop: false }` [INFO] [stdout] d9d5f3146da013cca84899f5254d916077e9023b1d3b3568d3c1a44fa6529d91