[INFO] cloning repository https://github.com/lukecollier/sink [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukecollier/sink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukecollier%2Fsink", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukecollier%2Fsink'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50229fdffb201ef0d089ba4eb91aeee983a1e27b [INFO] testing lukecollier/sink against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukecollier%2Fsink" "/workspace/builds/worker-112/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-112/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lukecollier/sink on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lukecollier/sink [INFO] finished tweaking git repo https://github.com/lukecollier/sink [INFO] tweaked toml for git repo https://github.com/lukecollier/sink written to /workspace/builds/worker-112/source/Cargo.toml [INFO] crate git repo https://github.com/lukecollier/sink already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 858ba81a6b3269e3055aacc7d9daee0279df7a9bb0e216ece92d2622f2ca3861 [INFO] running `Command { std: "docker" "start" "-a" "858ba81a6b3269e3055aacc7d9daee0279df7a9bb0e216ece92d2622f2ca3861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "858ba81a6b3269e3055aacc7d9daee0279df7a9bb0e216ece92d2622f2ca3861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "858ba81a6b3269e3055aacc7d9daee0279df7a9bb0e216ece92d2622f2ca3861", kill_on_drop: false }` [INFO] [stdout] 858ba81a6b3269e3055aacc7d9daee0279df7a9bb0e216ece92d2622f2ca3861 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5e03f68e5ae0006a592b231e78b4516210bb4818e8841e583616456c7009422 [INFO] running `Command { std: "docker" "start" "-a" "d5e03f68e5ae0006a592b231e78b4516210bb4818e8841e583616456c7009422", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling seahash v3.0.5 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling colored v1.7.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-executor v0.1.6 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.4 [INFO] [stderr] Compiling rand v0.4.5 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling ws v0.7.9 [INFO] [stderr] Compiling twox-hash v1.1.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Compiling notify v4.0.7 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Compiling core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unused import: `core` [INFO] [stdout] --> client/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/hash_tree.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | fn new(hasher: &mut Hasher) -> Node; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Hasher` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/hash_tree.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn update(&mut self, hasher: &mut Hasher) -> Self; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Hasher` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/hash_tree.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | fn hash_key(&mut self, hasher: &mut Hasher); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Hasher` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/hash_tree.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | fn hash_node(&mut self, hasher: &mut Hasher) -> u64; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Hasher` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/hash_tree.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(hasher: &mut Hasher) -> Self { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Hasher` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/hash_tree.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | fn update(&mut self, mut hasher: &mut Hasher) -> Self { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Hasher` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/hash_tree.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | fn hash_key(&mut self, hasher: &mut Hasher) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Hasher` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/hash_tree.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | fn hash_node(&mut self, hasher: &mut Hasher) -> u64 { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Hasher` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/hash_tree.rs:105:43 [INFO] [stdout] | [INFO] [stdout] 105 | fn calc_hash(bytes: Vec, hasher: &mut Hasher) -> u64 { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Hasher` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/lib.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn visit_dirs(dir: &Path, cb: &Fn(PathBuf) -> Result) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(PathBuf) -> Result` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> client/src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn init(user: &str) -> Result<&'static str, &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> core/src/hash_tree.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let node: Node = iterator.collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `iterator` [INFO] [stdout] --> core/src/hash_tree.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 40 | let iterator = self.clone().into_iter(); [INFO] [stdout] | -------- move occurs because `iterator` has type `HashTreeIterator`, which does not implement the `Copy` trait [INFO] [stdout] 41 | iterator.for_each(|mut node| node.hash_key(&mut hasher)); [INFO] [stdout] | ----------------------------------------------- `iterator` moved due to this method call [INFO] [stdout] 42 | let node: Node = iterator.collect(); [INFO] [stdout] | ^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `core` due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d5e03f68e5ae0006a592b231e78b4516210bb4818e8841e583616456c7009422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5e03f68e5ae0006a592b231e78b4516210bb4818e8841e583616456c7009422", kill_on_drop: false }` [INFO] [stdout] d5e03f68e5ae0006a592b231e78b4516210bb4818e8841e583616456c7009422