[INFO] updating cached repository https://github.com/chrisbutcher/huffman-coding-rust [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 499395f28055deed479795f132a93eb0627b039f [INFO] testing chrisbutcher/huffman-coding-rust against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbutcher%2Fhuffman-coding-rust" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrisbutcher/huffman-coding-rust on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/chrisbutcher/huffman-coding-rust [INFO] finished tweaking git repo https://github.com/chrisbutcher/huffman-coding-rust [INFO] tweaked toml for git repo https://github.com/chrisbutcher/huffman-coding-rust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/chrisbutcher/huffman-coding-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c5fb6b540f0cd41ca7b1644035f6dd7cd92032fe72916c3dec2b6ff2fe1e426f [INFO] running `"docker" "start" "-a" "c5fb6b540f0cd41ca7b1644035f6dd7cd92032fe72916c3dec2b6ff2fe1e426f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling huffman_coding v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stderr] --> src/codebook.rs:92:26 [INFO] [stderr] | [INFO] [stderr] 92 | threads.push(scope.spawn(move || { [INFO] [stderr] | ^^^^^ ------- takes 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected closure that takes 1 argument [INFO] [stderr] | [INFO] [stderr] help: consider changing the closure to take and ignore the expected argument [INFO] [stderr] | [INFO] [stderr] 92 | threads.push(scope.spawn(move |_| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/codebook.rs:105:26 [INFO] [stderr] | [INFO] [stderr] 105 | util::hash_map_reducer(results) [INFO] [stderr] | ^^^^^^^ expected struct `std::collections::HashMap`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::vec::Vec>` [INFO] [stderr] found struct `std::vec::Vec>>` [INFO] [stderr] [INFO] [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments [INFO] [stderr] --> src/compress.rs:38:26 [INFO] [stderr] | [INFO] [stderr] 38 | threads.push(scope.spawn(move|| { [INFO] [stderr] | ^^^^^ ------ takes 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected closure that takes 1 argument [INFO] [stderr] | [INFO] [stderr] help: consider changing the closure to take and ignore the expected argument [INFO] [stderr] | [INFO] [stderr] 38 | threads.push(scope.spawn(|_| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/compress.rs:51:3 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn parallel_compress(substrings: &Vec<&str>, codebook: &codebook::Codebook) -> Vec { [INFO] [stderr] | ---------------------- expected `std::vec::Vec` because of return type [INFO] [stderr] ... [INFO] [stderr] 51 | results [INFO] [stderr] | ^^^^^^^ expected struct `compress::CompressionResult`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::vec::Vec` [INFO] [stderr] found struct `std::vec::Vec>>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0593. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `huffman_coding`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c5fb6b540f0cd41ca7b1644035f6dd7cd92032fe72916c3dec2b6ff2fe1e426f"` [INFO] running `"docker" "rm" "-f" "c5fb6b540f0cd41ca7b1644035f6dd7cd92032fe72916c3dec2b6ff2fe1e426f"` [INFO] [stdout] c5fb6b540f0cd41ca7b1644035f6dd7cd92032fe72916c3dec2b6ff2fe1e426f