[INFO] cloning repository https://github.com/ammongit/mdhasher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ammongit/mdhasher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammongit%2Fmdhasher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammongit%2Fmdhasher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd62c95f751d92e2a84aa24b2553ddfd4856a42a [INFO] testing ammongit/mdhasher against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammongit%2Fmdhasher" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ammongit/mdhasher on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ammongit/mdhasher [INFO] finished tweaking git repo https://github.com/ammongit/mdhasher [INFO] tweaked toml for git repo https://github.com/ammongit/mdhasher written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/ammongit/mdhasher already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 985c3febec423979a6a440b106215c523eee4d8febcd1124c301d15d7363cbe6 [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" "985c3febec423979a6a440b106215c523eee4d8febcd1124c301d15d7363cbe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "985c3febec423979a6a440b106215c523eee4d8febcd1124c301d15d7363cbe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "985c3febec423979a6a440b106215c523eee4d8febcd1124c301d15d7363cbe6", kill_on_drop: false }` [INFO] [stdout] 985c3febec423979a6a440b106215c523eee4d8febcd1124c301d15d7363cbe6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3fc150462190e473381a465e8c7efaf8498a630de6fe02aee228992ea827c114 [INFO] running `Command { std: "docker" "start" "-a" "3fc150462190e473381a465e8c7efaf8498a630de6fe02aee228992ea827c114", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.15 [INFO] [stderr] Compiling cc v1.0.23 [INFO] [stderr] Compiling serde v1.0.75 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling same-file v1.0.3 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling shaman v0.1.0 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling walkdir v2.2.5 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling globset v0.4.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling ignore v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.75 [INFO] [stderr] Compiling serde_json v1.0.26 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cargo_metadata v0.5.8 [INFO] [stderr] Compiling skeptic v0.13.3 [INFO] [stderr] Compiling fts v0.2.0 [INFO] [stderr] Compiling mdhasher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/digest.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = help: braced struct declarations are not followed by a semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ignore::WalkBuilder` [INFO] [stdout] --> src/hasher.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ignore::WalkBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digest::Digest` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use digest::Digest; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | write!(f, "{}", StdError::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/digest.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | fn get(&self) -> &DigestTrait { [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 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] 79 - fn get(&self) -> &DigestTrait { [INFO] [stdout] 79 + fn get(&self) -> &dyn DigestTrait { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/digest.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | fn get_mut(&mut self) -> &mut DigestTrait { [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] 91 - fn get_mut(&mut self) -> &mut DigestTrait { [INFO] [stdout] 91 + fn get_mut(&mut self) -> &mut dyn DigestTrait { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | fn cause(&self) -> Option<&StdError> { [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] 37 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 37 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `input` found for enum `DigestImp` in the current scope [INFO] [stdout] --> src/digest.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 21 | enum DigestImp { [INFO] [stdout] | -------------- method `input` not found for this [INFO] [stdout] ... [INFO] [stdout] 70 | self.digest.input(&self.buffer); [INFO] [stdout] | ^^^^^ method not found in `DigestImp` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `input`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FixedBuffer` [INFO] [stdout] candidate #2: `shaman::digest::Digest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result_str` found for enum `DigestImp` in the current scope [INFO] [stdout] --> src/digest.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 21 | enum DigestImp { [INFO] [stdout] | -------------- method `result_str` not found for this [INFO] [stdout] ... [INFO] [stdout] 72 | let hash = self.digest.result_str(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `DigestImp` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `result_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `shaman::digest::Digest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reset` found for enum `DigestImp` in the current scope [INFO] [stdout] --> src/digest.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 21 | enum DigestImp { [INFO] [stdout] | -------------- method `reset` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | self.digest.reset(); [INFO] [stdout] | ^^^^^ method not found in `DigestImp` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `reset`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ReadBuffer` [INFO] [stdout] candidate #2: `WriteBuffer` [INFO] [stdout] candidate #3: `FixedBuffer` [INFO] [stdout] candidate #4: `shaman::digest::Digest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&digest::Digest` [INFO] [stdout] --> src/digest.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | match &self.0 { [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `digest`, `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/digest.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 79 | fn get(&self) -> &DigestTrait { [INFO] [stdout] | ------------ expected `&dyn shaman::digest::Digest` because of return type [INFO] [stdout] ... [INFO] [stdout] 83 | Sha1(digest) => digest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `shaman::sha1::Sha1` [INFO] [stdout] | help: consider borrowing here: `&digest` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn shaman::digest::Digest` [INFO] [stdout] found struct `shaman::sha1::Sha1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&mut digest::Digest` [INFO] [stdout] --> src/digest.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | match &mut self.0 { [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `digest`, `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/digest.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 91 | fn get_mut(&mut self) -> &mut DigestTrait { [INFO] [stdout] | ---------------- expected `&mut dyn shaman::digest::Digest` because of return type [INFO] [stdout] ... [INFO] [stdout] 95 | Sha1(digest) => digest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected mutable reference, found struct `shaman::sha1::Sha1` [INFO] [stdout] | help: consider mutably borrowing here: `&mut digest` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut dyn shaman::digest::Digest` [INFO] [stdout] found struct `shaman::sha1::Sha1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | IntParse(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mdhasher` due to 9 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3fc150462190e473381a465e8c7efaf8498a630de6fe02aee228992ea827c114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fc150462190e473381a465e8c7efaf8498a630de6fe02aee228992ea827c114", kill_on_drop: false }` [INFO] [stdout] 3fc150462190e473381a465e8c7efaf8498a630de6fe02aee228992ea827c114