[INFO] fetching crate archivelib-sys 0.2.0... [INFO] testing archivelib-sys-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate archivelib-sys 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate archivelib-sys 0.2.0 [INFO] finished tweaking crates.io crate archivelib-sys 0.2.0 [INFO] tweaked toml for crates.io crate archivelib-sys 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate archivelib-sys 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate archivelib-sys 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c69e8cc777d1d6f2598dc5159f763407a65cc4f46025ec1dcdc9cb7db8d800d6 [INFO] running `Command { std: "docker" "start" "-a" "c69e8cc777d1d6f2598dc5159f763407a65cc4f46025ec1dcdc9cb7db8d800d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c69e8cc777d1d6f2598dc5159f763407a65cc4f46025ec1dcdc9cb7db8d800d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c69e8cc777d1d6f2598dc5159f763407a65cc4f46025ec1dcdc9cb7db8d800d6", kill_on_drop: false }` [INFO] [stdout] c69e8cc777d1d6f2598dc5159f763407a65cc4f46025ec1dcdc9cb7db8d800d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a72d0e6cf8ced00f2a733167ad707c980cff3b1b07571a8b95de647cd7f1f0f [INFO] running `Command { std: "docker" "start" "-a" "4a72d0e6cf8ced00f2a733167ad707c980cff3b1b07571a8b95de647cd7f1f0f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling bindgen v0.51.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling backtrace v0.3.37 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling archivelib-sys v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `AllocatedMemory` in this scope [INFO] [stdout] --> src/lib.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl AllocatedMemory { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clean` in this scope [INFO] [stdout] --> src/lib.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { clean(&mut self) }; [INFO] [stdout] | ^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: try calling `clean` as a method: `self.clean()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | (_, Some(other)) => Err(Some(other.into_iter().map(|b| b as char).collect())), [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compress` in this scope [INFO] [stdout] --> src/lib.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { compress(ptr, length, compression_level) } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | .map(|v| v.into_boxed_slice()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 50 | .map(|v: /* Type */| v.into_boxed_slice()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | .map_err(|o| o.unwrap_or("".to_string())) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | .map_err(|o: /* Type */| o.unwrap_or("".to_string())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decompress` in this scope [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn do_compress(input: &[u8]) -> Result, std::string::String> { [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `do_compress` defined here [INFO] [stdout] ... [INFO] [stdout] 67 | unsafe { decompress(ptr, length, compression_level) } [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `do_compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | .map(|v| v.into_boxed_slice()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | .map(|v: /* Type */| v.into_boxed_slice()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | .map_err(|o| o.unwrap_or("".to_string())) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | .map_err(|o: /* Type */| o.unwrap_or("".to_string())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `archivelib-sys` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "4a72d0e6cf8ced00f2a733167ad707c980cff3b1b07571a8b95de647cd7f1f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a72d0e6cf8ced00f2a733167ad707c980cff3b1b07571a8b95de647cd7f1f0f", kill_on_drop: false }` [INFO] [stdout] 4a72d0e6cf8ced00f2a733167ad707c980cff3b1b07571a8b95de647cd7f1f0f