[INFO] cloning repository https://github.com/TommyPujol06/backup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TommyPujol06/backup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTommyPujol06%2Fbackup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTommyPujol06%2Fbackup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63bb132e4271c1bdbdbd29dff4c330b80bc22c6f [INFO] testing TommyPujol06/backup 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%2FTommyPujol06%2Fbackup" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TommyPujol06/backup 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] removed /workspace/builds/worker-11/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-11/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/TommyPujol06/backup [INFO] finished tweaking git repo https://github.com/TommyPujol06/backup [INFO] tweaked toml for git repo https://github.com/TommyPujol06/backup written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/TommyPujol06/backup 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] warning: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82263bada36c7fb7097859f8abd55ea62a04de7f78345fe9ba5c1c5a8c5b9386 [INFO] running `Command { std: "docker" "start" "-a" "82263bada36c7fb7097859f8abd55ea62a04de7f78345fe9ba5c1c5a8c5b9386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82263bada36c7fb7097859f8abd55ea62a04de7f78345fe9ba5c1c5a8c5b9386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82263bada36c7fb7097859f8abd55ea62a04de7f78345fe9ba5c1c5a8c5b9386", kill_on_drop: false }` [INFO] [stdout] 82263bada36c7fb7097859f8abd55ea62a04de7f78345fe9ba5c1c5a8c5b9386 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5d2385f1576471bd5b9e40c23a6d4713da4ba9fd71300ab3749b33aba97b420 [INFO] running `Command { std: "docker" "start" "-a" "f5d2385f1576471bd5b9e40c23a6d4713da4ba9fd71300ab3749b33aba97b420", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling zstd-safe v4.1.1+zstd.1.5.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling meowhash v0.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling zstd-sys v1.6.1+zstd.1.5.0 [INFO] [stderr] Compiling aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling zstd v0.9.0+zstd.1.5.0 [INFO] [stderr] Compiling backup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/utils.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | let mut chunk = Chunk::new(chunk_hash, len, pos, None); [INFO] [stdout] | ^^^^^^^^^^ ---------- --- --- ---- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/path.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(hash: u128, size: usize, nonce: Option<[u8; 12]>) -> Self { [INFO] [stdout] | ^^^ ---------- ----------- ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/cli/commands.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | |buff, chunk: &mut crate::path::Chunk| async move { [INFO] [stdout] | __________________----________________________________-_^ [INFO] [stdout] | | | | [INFO] [stdout] | | has type `&'1 [u8]` return type of closure `impl Future` contains a lifetime `'2` [INFO] [stdout] 34 | | // FIXME: this is annoying. [INFO] [stdout] 35 | | path.hash ^= chunk.hash; [INFO] [stdout] 36 | | if !metadata.contains_key(&path.path) { [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | }, [INFO] [stdout] | |_________________^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of a mutable reference to Chunk [INFO] [stdout] = note: mutable references are invariant over their type parameter [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/cli/commands.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | |buff, chunk: &mut crate::path::Chunk| async move { [INFO] [stdout] | _______________________________-______________________-_^ [INFO] [stdout] | | | | [INFO] [stdout] | | | return type of closure `impl Future` contains a lifetime `'4` [INFO] [stdout] | | let's call the lifetime of this reference `'3` [INFO] [stdout] 34 | | // FIXME: this is annoying. [INFO] [stdout] 35 | | path.hash ^= chunk.hash; [INFO] [stdout] 36 | | if !metadata.contains_key(&path.path) { [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | }, [INFO] [stdout] | |_________________^ returning this value requires that `'3` must outlive `'4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `path`, a captured variable in an `Fn` closure [INFO] [stdout] --> src/cli/commands.rs:33:67 [INFO] [stdout] | [INFO] [stdout] 26 | let mut path = Path::new(pbuff.clone(), 0, size); [INFO] [stdout] | -------- captured outer variable [INFO] [stdout] ... [INFO] [stdout] 33 | |buff, chunk: &mut crate::path::Chunk| async move { [INFO] [stdout] | __________________-_________________________________________________^ [INFO] [stdout] | | _________________| [INFO] [stdout] | || [INFO] [stdout] 34 | || // FIXME: this is annoying. [INFO] [stdout] 35 | || path.hash ^= chunk.hash; [INFO] [stdout] 36 | || if !metadata.contains_key(&path.path) { [INFO] [stdout] ... || [INFO] [stdout] 41 | || let _ = config.backend.upload(config, path.name(), &enc_buff); [INFO] [stdout] | || ---- [INFO] [stdout] | || | [INFO] [stdout] | || variable moved due to use in generator [INFO] [stdout] | || move occurs because `path` has type `path::Path`, which does not implement the `Copy` trait [INFO] [stdout] ... || [INFO] [stdout] 55 | || } [INFO] [stdout] 56 | || }, [INFO] [stdout] | || ^ [INFO] [stdout] | ||_________________| [INFO] [stdout] | |__________________captured by this `Fn` closure [INFO] [stdout] | move out of `path` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `metadata`, a captured variable in an `Fn` closure [INFO] [stdout] --> src/cli/commands.rs:33:67 [INFO] [stdout] | [INFO] [stdout] 12 | let mut metadata = Metadata::new(); [INFO] [stdout] | ------------ captured outer variable [INFO] [stdout] ... [INFO] [stdout] 33 | |buff, chunk: &mut crate::path::Chunk| async move { [INFO] [stdout] | __________________-_________________________________________________^ [INFO] [stdout] | | _________________| [INFO] [stdout] | || [INFO] [stdout] 34 | || // FIXME: this is annoying. [INFO] [stdout] 35 | || path.hash ^= chunk.hash; [INFO] [stdout] 36 | || if !metadata.contains_key(&path.path) { [INFO] [stdout] | || -------- [INFO] [stdout] | || | [INFO] [stdout] | || variable moved due to use in generator [INFO] [stdout] | || move occurs because `metadata` has type `HashMap`, which does not implement the `Copy` trait [INFO] [stdout] ... || [INFO] [stdout] 55 | || } [INFO] [stdout] 56 | || }, [INFO] [stdout] | || ^ [INFO] [stdout] | ||_________________| [INFO] [stdout] | |__________________captured by this `Fn` closure [INFO] [stdout] | move out of `metadata` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `metadata` [INFO] [stdout] --> src/cli/commands.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut metadata = Metadata::new(); [INFO] [stdout] | ------------ move occurs because `metadata` has type `HashMap`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 33 | |buff, chunk: &mut crate::path::Chunk| async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value moved into closure here, in previous iteration of loop [INFO] [stdout] ... [INFO] [stdout] 36 | if !metadata.contains_key(&path.path) { [INFO] [stdout] | -------- use occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0382, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backup` due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "f5d2385f1576471bd5b9e40c23a6d4713da4ba9fd71300ab3749b33aba97b420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d2385f1576471bd5b9e40c23a6d4713da4ba9fd71300ab3749b33aba97b420", kill_on_drop: false }` [INFO] [stdout] f5d2385f1576471bd5b9e40c23a6d4713da4ba9fd71300ab3749b33aba97b420