[INFO] cloning repository https://github.com/JimKat-1/QIShort
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JimKat-1/QIShort" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJimKat-1%2FQIShort", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJimKat-1%2FQIShort'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d4e77b4e4bf5c723dbdb2404ea1fe98af8f8c34e
[INFO] testing JimKat-1/QIShort against beta-2022-07-10 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJimKat-1%2FQIShort" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JimKat-1/QIShort on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JimKat-1/QIShort
[INFO] finished tweaking git repo https://github.com/JimKat-1/QIShort
[INFO] tweaked toml for git repo https://github.com/JimKat-1/QIShort written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/JimKat-1/QIShort already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7df9f073d481b6109659a10e27a38cd3417aa4cdcf9c0af9bde3aae64962cb82
[INFO] running `Command { std: "docker" "start" "-a" "7df9f073d481b6109659a10e27a38cd3417aa4cdcf9c0af9bde3aae64962cb82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7df9f073d481b6109659a10e27a38cd3417aa4cdcf9c0af9bde3aae64962cb82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7df9f073d481b6109659a10e27a38cd3417aa4cdcf9c0af9bde3aae64962cb82", kill_on_drop: false }`
[INFO] [stdout] 7df9f073d481b6109659a10e27a38cd3417aa4cdcf9c0af9bde3aae64962cb82
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c90e38cfe8611bc2c46afe9e422c2ad1cfbec592bd2aaebd6145a613a1022e0
[INFO] running `Command { std: "docker" "start" "-a" "3c90e38cfe8611bc2c46afe9e422c2ad1cfbec592bd2aaebd6145a613a1022e0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling qishort v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stdout] warning: unused import: `crate::key::Key`
[INFO] [stdout]  --> src/handler/tree.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::key::Key;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tree::*`
[INFO] [stdout]  --> src/handler/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tree::*;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lazy_static::lazy_static`
[INFO] [stdout]  --> src/handler/dir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::lazy_static::lazy_static;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Ok(entries)
[INFO] [stdout]    |     -- ^^^^^^^ expected struct `OsString`, found struct `String`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<OsString>`
[INFO] [stdout]               found struct `Vec<String>`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:48:38
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut dirent = get_dir_entries(dir)?;
[INFO] [stdout]    |                      --------------- ^^^
[INFO] [stdout]    |                      |               |
[INFO] [stdout]    |                      |               expected `&Path`, found struct `PathBuf`
[INFO] [stdout]    |                      |               help: consider borrowing here: `&dir`
[INFO] [stdout]    |                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/handler/dir.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn get_dir_entries(dir: &Path) -> Result<Vec<OsString>, Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/handler/dir.rs:48:42
[INFO] [stdout]    |
[INFO] [stdout] 47 | / fn fill_tree_from_dir(dir: PathBuf, tree: &mut Tree) {
[INFO] [stdout] 48 | |     let mut dirent = get_dir_entries(dir)?;
[INFO] [stdout]    | |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 49 | |
[INFO] [stdout] 50 | |     for i in dirent {
[INFO] [stdout] ...  |
[INFO] [stdout] 63 | |     }
[INFO] [stdout] 64 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, Box<dyn std::error::Error>>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:55:37
[INFO] [stdout]    |
[INFO] [stdout] 55 |             fill_tree_from_dir(dir, tree);
[INFO] [stdout]    |             ------------------      ^^^^
[INFO] [stdout]    |             |                       |
[INFO] [stdout]    |             |                       expected mutable reference, found struct `HashMap`
[INFO] [stdout]    |             |                       help: consider mutably borrowing here: `&mut tree`
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut HashMap<String, tree::TreeEntry>`
[INFO] [stdout]                          found struct `HashMap<String, tree::TreeEntry>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/handler/dir.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn fill_tree_from_dir(dir: PathBuf, tree: &mut Tree) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^ ------------  ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:56:25
[INFO] [stdout]    |
[INFO] [stdout] 56 |             tree.insert(i, TreeEntry::Tree(tree));
[INFO] [stdout]    |                  ------ ^ expected struct `String`, found struct `OsString`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot construct `tree::Func` with struct literal syntax due to private fields
[INFO] [stdout]   --> src/handler/dir.rs:59:44
[INFO] [stdout]    |
[INFO] [stdout] 59 |             tree.insert(i, TreeEntry::Func(Func {}));
[INFO] [stdout]    |                                            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: ... and other private fields `arg` and `func` that were not provided
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:59:25
[INFO] [stdout]    |
[INFO] [stdout] 59 |             tree.insert(i, TreeEntry::Func(Func {}));
[INFO] [stdout]    |                  ------ ^ expected struct `String`, found struct `OsString`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qishort` due to 8 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3c90e38cfe8611bc2c46afe9e422c2ad1cfbec592bd2aaebd6145a613a1022e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c90e38cfe8611bc2c46afe9e422c2ad1cfbec592bd2aaebd6145a613a1022e0", kill_on_drop: false }`
[INFO] [stdout] 3c90e38cfe8611bc2c46afe9e422c2ad1cfbec592bd2aaebd6145a613a1022e0
