[INFO] cloning repository https://github.com/peshogo/bumpg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peshogo/bumpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeshogo%2Fbumpg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeshogo%2Fbumpg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 391f47e818d2c0e28ca266026e7047c478b23eb0 [INFO] testing peshogo/bumpg against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeshogo%2Fbumpg" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/peshogo/bumpg [INFO] finished tweaking git repo https://github.com/peshogo/bumpg [INFO] tweaked toml for git repo https://github.com/peshogo/bumpg written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/peshogo/bumpg on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/peshogo/bumpg 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opaque-debug v0.2.1 [INFO] [stderr] Downloaded typenum v1.10.0 [INFO] [stderr] Downloaded digest v0.8.0 [INFO] [stderr] Downloaded byte-tools v0.3.0 [INFO] [stderr] Downloaded memchr v2.1.2 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded utf8-ranges v1.0.2 [INFO] [stderr] Downloaded ignore v0.4.6 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded nodrop v0.1.13 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded libc v0.2.46 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded rand_os v0.1.1 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.84 [INFO] [stderr] Downloaded rand v0.4.5 [INFO] [stderr] Downloaded hex v0.3.2 [INFO] [stderr] Downloaded regex v1.1.0 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded walkdir v2.2.7 [INFO] [stderr] Downloaded arrayvec v0.4.10 [INFO] [stderr] Downloaded winapi v0.3.6 [INFO] [stderr] Downloaded constant_time_eq v0.1.3 [INFO] [stderr] Downloaded block-padding v0.1.2 [INFO] [stderr] Downloaded sha2 v0.8.0 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded backtrace v0.3.13 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded ucd-util v0.1.3 [INFO] [stderr] Downloaded serde_json v1.0.35 [INFO] [stderr] Downloaded argon2rs v0.2.5 [INFO] [stderr] Downloaded rand_pcg v0.1.1 [INFO] [stderr] Downloaded crossbeam-utils v0.6.3 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded same-file v1.0.4 [INFO] [stderr] Downloaded cc v1.0.28 [INFO] [stderr] Downloaded crossbeam-channel v0.3.6 [INFO] [stderr] Downloaded rustc-demangle v0.1.13 [INFO] [stderr] Downloaded byteorder v1.2.7 [INFO] [stderr] Downloaded redox_syscall v0.1.50 [INFO] [stderr] Downloaded autocfg v0.1.1 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded ryu v0.2.7 [INFO] [stderr] Downloaded redox_users v0.2.0 [INFO] [stderr] Downloaded lock_api v0.1.5 [INFO] [stderr] Downloaded parking_lot v0.7.1 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded aho-corasick v0.6.9 [INFO] [stderr] Downloaded cfg-if v0.1.6 [INFO] [stderr] Downloaded serde v1.0.84 [INFO] [stderr] Downloaded block-buffer v0.7.0 [INFO] [stderr] Downloaded parking_lot_core v0.4.0 [INFO] [stderr] Downloaded rand v0.6.4 [INFO] [stderr] Downloaded syn v0.15.24 [INFO] [stderr] Downloaded generic-array v0.12.4 [INFO] [stderr] Downloaded blake2-rfc v0.2.18 [INFO] [stderr] Downloaded dirs v1.0.4 [INFO] [stderr] Downloaded regex-syntax v0.6.4 [INFO] [stderr] Downloaded itoa v0.4.3 [INFO] [stderr] Downloaded globset v0.4.2 [INFO] [stderr] Downloaded stable_deref_trait v1.1.1 [INFO] [stderr] Downloaded owning_ref v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9794913c66bd91185ad0567e6d229df9a46551ffe374877775629898b5d0fef0 [INFO] running `Command { std: "docker" "start" "-a" "9794913c66bd91185ad0567e6d229df9a46551ffe374877775629898b5d0fef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9794913c66bd91185ad0567e6d229df9a46551ffe374877775629898b5d0fef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9794913c66bd91185ad0567e6d229df9a46551ffe374877775629898b5d0fef0", kill_on_drop: false }` [INFO] [stdout] 9794913c66bd91185ad0567e6d229df9a46551ffe374877775629898b5d0fef0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7d9416fe9e5eb90c7176de1aaaeded1fc2984f5f8ac304fc49995b1c4b9b1f3 [INFO] running `Command { std: "docker" "start" "-a" "b7d9416fe9e5eb90c7176de1aaaeded1fc2984f5f8ac304fc49995b1c4b9b1f3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling dirs v1.0.4 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.24 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Compiling globset v0.4.2 [INFO] [stderr] Compiling ignore v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.35 [INFO] [stderr] Compiling condensify v0.1.0 (/opt/rustwide/workdir/condensify) [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> condensify/src/error.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | Error::IoError(e) => write!(f, e.description())?, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 25 | Error::IoError(e) => write!(f, "{}", e.description())?, [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> condensify/src/condensify/read.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl CondensifyFileReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: indicate the anonymous lifetime [INFO] [stdout] | [INFO] [stdout] 16 | impl CondensifyFileReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> condensify/src/condensify/read.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | impl Read for CondensifyFileReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: indicate the anonymous lifetime [INFO] [stdout] | [INFO] [stdout] 29 | impl Read for CondensifyFileReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> condensify/src/condensify/write.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | impl Write for CondensifyFileWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: indicate the anonymous lifetime [INFO] [stdout] | [INFO] [stdout] 15 | impl Write for CondensifyFileWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> condensify/src/condensify/write.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | impl CondensifyFileWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: indicate the anonymous lifetime [INFO] [stdout] | [INFO] [stdout] 25 | impl CondensifyFileWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Condencify` in this scope [INFO] [stdout] --> condensify/src/condensify/mod.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Condensify { [INFO] [stdout] | --------------------- similarly named struct `Condensify` defined here [INFO] [stdout] ... [INFO] [stdout] 20 | impl Condencify { [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `Condensify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stdout] --> condensify/src/condensify/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> condensify/src/condensify/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorKind` [INFO] [stdout] --> condensify/src/condensify/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hash::Hash` [INFO] [stdout] --> condensify/src/condensify/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `fmt` has an incompatible type for trait [INFO] [stdout] --> condensify/src/error.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `std::fmt::Error`, found `error::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&error::Error, &mut Formatter<'_>) -> Result<_, std::fmt::Error>` [INFO] [stdout] found signature `fn(&error::Error, &mut Formatter<'_>) -> Result<_, error::Error>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 23 | fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), std::fmt::Error> { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `impl` item signature doesn't match `trait` item signature [INFO] [stdout] --> condensify/src/error.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | fn source(&self) -> Option<&dyn ErrorTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ found `fn(&'1 error::Error) -> Option<&'1 (dyn std::error::Error + '1)>` [INFO] [stdout] | [INFO] [stdout] --> /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/error.rs:105:5 [INFO] [stdout] | [INFO] [stdout] = note: expected `fn(&'1 error::Error) -> Option<&'1 (dyn std::error::Error + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'1 error::Error) -> Option<&'1 (dyn std::error::Error + 'static)>` [INFO] [stdout] found signature `fn(&'1 error::Error) -> Option<&'1 (dyn std::error::Error + '1)>` [INFO] [stdout] = help: the lifetime requirements from the `impl` do not correspond to the requirements in the `trait` [INFO] [stdout] = help: verify the lifetime relationships in the `trait` and `impl` between the `self` argument, the other inputs and its output [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `error::Error` doesn't implement `Debug` [INFO] [stdout] --> condensify/src/error.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | impl ErrorTrait for Error { [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Debug` is not implemented for `error::Error` [INFO] [stdout] --> condensify/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: add `#[derive(Debug)]` to `error::Error` or manually `impl Debug for error::Error` [INFO] [stdout] note: required by a bound in `std::error::Error` [INFO] [stdout] --> /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/error.rs:53:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> condensify/src/condensify/mod.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new_file(&self) -> CondensifyFileWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `CondensifyFileWriter<'_>`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `CondensifyFileWriter<'_>` [INFO] [stdout] --> condensify/src/condensify/write.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CondensifyFileWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `HashType` doesn't implement `Debug` [INFO] [stdout] --> condensify/src/condensify/read.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 12 | hash_type: HashType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `HashType` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `HashType` or manually `impl Debug for HashType` [INFO] [stdout] help: consider annotating `HashType` with `#[derive(Debug)]` [INFO] [stdout] --> condensify/src/hash.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Debug)] [INFO] [stdout] 38 | pub enum HashType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `hash::Hash` doesn't implement `Debug` [INFO] [stdout] --> condensify/src/condensify/read.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 13 | hash: Hash, [INFO] [stdout] | ^^^^^^^^^^ the trait `Debug` is not implemented for `hash::Hash` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `hash::Hash` or manually `impl Debug for hash::Hash` [INFO] [stdout] help: consider annotating `hash::Hash` with `#[derive(Debug)]` [INFO] [stdout] --> condensify/src/hash.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Debug)] [INFO] [stdout] 10 | pub struct Hash(String); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `HashType` [INFO] [stdout] --> condensify/src/condensify/read.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | if HashType::Link != self.hash_type { [INFO] [stdout] | -------------- ^^ -------------- HashType [INFO] [stdout] | | [INFO] [stdout] | HashType [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `HashType` [INFO] [stdout] --> condensify/src/hash.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum HashType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `HashType` with `#[derive(PartialEq)]` [INFO] [stdout] --> condensify/src/hash.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(PartialEq)] [INFO] [stdout] 38 | pub enum HashType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `hash::Hash` doesn't implement `Debug` [INFO] [stdout] --> condensify/src/condensify/write.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | hashes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `hash::Hash` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `hash::Hash` or manually `impl Debug for hash::Hash` [INFO] [stdout] = help: the trait `Debug` is implemented for `Vec` [INFO] [stdout] help: consider annotating `hash::Hash` with `#[derive(Debug)]` [INFO] [stdout] --> condensify/src/hash.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Debug)] [INFO] [stdout] 10 | pub struct Hash(String); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> condensify/src/condensify/mod.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(path: Path) -> Self { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/path.rs:2210:12 [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(path: &Path) -> Self { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> condensify/src/condensify/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / CondensifyFileWriter { [INFO] [stdout] 27 | | condensify: self, [INFO] [stdout] 28 | | hashes: vec![], [INFO] [stdout] 29 | | buf_size: 1024 * 1024, [INFO] [stdout] 30 | | tmp: self.path.join("tmp"), [INFO] [stdout] 31 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `CondensifyFileWriter<'_>`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `CondensifyFileWriter<'_>` [INFO] [stdout] --> condensify/src/condensify/write.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CondensifyFileWriter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: structs must have a statically known size to be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error` [INFO] [stdout] --> condensify/src/error.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | Error::IoError(e) => write!(f, e.description())?, [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] note: `error::Error` needs to implement `From` [INFO] [stdout] --> condensify/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::Error` implements `From` [INFO] [stdout] `error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error` [INFO] [stdout] --> condensify/src/error.rs:27:75 [INFO] [stdout] | [INFO] [stdout] 27 | ErrorKind::HashParseError => write!(f, "Hash parse error")?, [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] note: `error::Error` needs to implement `From` [INFO] [stdout] --> condensify/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::Error` implements `From` [INFO] [stdout] `error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error` [INFO] [stdout] --> condensify/src/error.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | ErrorKind::HashNotALink => write!(f, "Hash not a link")?, [INFO] [stdout] | ----------------------------^ the trait `From` is not implemented for `error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] note: `error::Error` needs to implement `From` [INFO] [stdout] --> condensify/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `error::Error` implements `From` [INFO] [stdout] `error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> condensify/src/error.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn source(&self) -> Option<&dyn ErrorTrait> { [INFO] [stdout] | ----------------------- expected `Option<&dyn std::error::Error>` because of return type [INFO] [stdout] 38 | match self { [INFO] [stdout] 39 | Error::IoError(e) => e, [INFO] [stdout] | ^ expected `Option<&dyn Error>`, found `&Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&dyn std::error::Error>` [INFO] [stdout] found reference `&std::io::Error` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 39 | Error::IoError(e) => Some(e), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `char` with `&char` [INFO] [stdout] --> condensify/src/hash.rs:24:61 [INFO] [stdout] | [INFO] [stdout] 24 | let is_in_values = HASH_VALUES.iter().any(|v| c == v); [INFO] [stdout] | ^^ no implementation for `char == &char` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&char>` is not implemented for `char` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 24 | let is_in_values = HASH_VALUES.iter().any(|v| c == *v); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0369, E0412, E0726. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `condensify` (lib) due to 21 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b7d9416fe9e5eb90c7176de1aaaeded1fc2984f5f8ac304fc49995b1c4b9b1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7d9416fe9e5eb90c7176de1aaaeded1fc2984f5f8ac304fc49995b1c4b9b1f3", kill_on_drop: false }` [INFO] [stdout] b7d9416fe9e5eb90c7176de1aaaeded1fc2984f5f8ac304fc49995b1c4b9b1f3