[INFO] updating cached repository https://github.com/dsbrgg/rk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d26ae386b1c19a0cfbaf02537c4627f185011836 [INFO] testing dsbrgg/rk against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbrgg%2Frk" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dsbrgg/rk on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dsbrgg/rk [INFO] finished tweaking git repo https://github.com/dsbrgg/rk [INFO] tweaked toml for git repo https://github.com/dsbrgg/rk written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/dsbrgg/rk already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5dde2f8b79f985bcc8adb259b7aade0d0fd90112201cb95f97a9be26ac5d0e4 [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" "d5dde2f8b79f985bcc8adb259b7aade0d0fd90112201cb95f97a9be26ac5d0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5dde2f8b79f985bcc8adb259b7aade0d0fd90112201cb95f97a9be26ac5d0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5dde2f8b79f985bcc8adb259b7aade0d0fd90112201cb95f97a9be26ac5d0e4", kill_on_drop: false }` [INFO] [stdout] d5dde2f8b79f985bcc8adb259b7aade0d0fd90112201cb95f97a9be26ac5d0e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e7455399de4ef280c89674c44d74a6baa87653b420bcae73fbda52b16fa0195 [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" "9e7455399de4ef280c89674c44d74a6baa87653b420bcae73fbda52b16fa0195", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling block-modes v0.3.3 [INFO] [stderr] Compiling console v0.9.2 [INFO] [stderr] Compiling dialoguer v0.5.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling x11-clipboard v0.5.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling smithay-clipboard v0.3.6 [INFO] [stderr] Compiling copypasta v0.6.2 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling rk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Mapping`, `Value` [INFO] [stdout] --> src/managers/dir_manager.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_yaml::{Mapping, Value}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/managers/dir_manager.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/managers/dir_manager.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Write, ErrorKind}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mapping`, `Value` [INFO] [stdout] --> src/managers/file_manager.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_yaml::{Mapping, Value}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/managers/file_manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `HashMap` [INFO] [stdout] --> src/managers/file_manager.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, BTreeMap}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/managers/file_manager.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Read, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/mocks/setup.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mocks/setup.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub test: &'s Fn(&mut Self), [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Self)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mocks/setup.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub after_each: &'s Fn(&mut Self) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Self)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/yaml/index.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/yaml/index.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/yaml/index.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/lib.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | use locker::{Locker, Distinguished, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | for (mut path, Distinguished { iv, key, dat }, hash, is_dir) in args { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- this expression has type `args::Arg` [INFO] [stdout] | | [INFO] [stdout] | expected struct `args::Arg`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `args::Arg` [INFO] [stdout] found tuple `(_, _, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rk`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9e7455399de4ef280c89674c44d74a6baa87653b420bcae73fbda52b16fa0195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e7455399de4ef280c89674c44d74a6baa87653b420bcae73fbda52b16fa0195", kill_on_drop: false }` [INFO] [stdout] 9e7455399de4ef280c89674c44d74a6baa87653b420bcae73fbda52b16fa0195