[INFO] fetching crate wechat 0.1.0... [INFO] testing wechat-0.1.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate wechat 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate wechat 0.1.0 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 crates.io crate wechat 0.1.0 [INFO] finished tweaking crates.io crate wechat 0.1.0 [INFO] tweaked toml for crates.io crate wechat 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 332ea03fb12395f6b8915c853fab99ae6f832871ed78c5ba93d5dfca38b69660 [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" "332ea03fb12395f6b8915c853fab99ae6f832871ed78c5ba93d5dfca38b69660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "332ea03fb12395f6b8915c853fab99ae6f832871ed78c5ba93d5dfca38b69660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332ea03fb12395f6b8915c853fab99ae6f832871ed78c5ba93d5dfca38b69660", kill_on_drop: false }` [INFO] [stdout] 332ea03fb12395f6b8915c853fab99ae6f832871ed78c5ba93d5dfca38b69660 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c6c0de192275a4201fb055b67f2cd4bb0f593b211dd9953746afcfa919d53b5c [INFO] running `Command { std: "docker" "start" "-a" "c6c0de192275a4201fb055b67f2cd4bb0f593b211dd9953746afcfa919d53b5c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling sxd-xpath v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling wechat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sxd_document::parser::Parser` [INFO] [stdout] --> src/xmlutil.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sxd_document::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `parse` [INFO] [stdout] | no `Parser` in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sxd_xpath::Functions`, `sxd_xpath::Variables`, `sxd_xpath::Namespaces`, `sxd_xpath::EvaluationContext`, `sxd_xpath::Expression` [INFO] [stdout] --> src/xmlutil.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use sxd_xpath::{Value, Functions, Variables, Namespaces, Factory, EvaluationContext, Expression}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `Expression` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `EvaluationContext` in the root [INFO] [stdout] | | | no `Namespaces` in the root [INFO] [stdout] | | no `Variables` in the root [INFO] [stdout] | no `Functions` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 | use sxd_xpath::{Value, function, Variables, Namespaces, Factory, EvaluationContext, Expression}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 | use sxd_xpath::{Value, Functions, Variables, Namespaces, Factory, EvaluationContext, expression}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Timespec` in `time` [INFO] [stdout] --> src/messages/mod.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | let clock = time::Timespec::new(self.time(), 0); [INFO] [stdout] | ^^^^^^^^ could not find `Timespec` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/messages/mod.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | fn create_time(&self) -> time::Tm { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `at` in crate `time` [INFO] [stdout] --> src/messages/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | time::at(clock) [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/cryptography/aes.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let result = try!(encryptor.encrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/cryptography/aes.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let result = try!(decryptor.decrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/cryptography/prp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/xmlutil.rs:28:61 [INFO] [stdout] | [INFO] [stdout] 28 | super::sxd_xpath::function::register_core_functions(&mut fns); [INFO] [stdout] | ^^^^^^^^ expected struct `sxd_xpath::Context`, found struct `std::collections::HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut sxd_xpath::Context<'_>` [INFO] [stdout] found mutable reference `&mut std::collections::HashMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/xmlutil.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | xpath.evaluate(&context).ok().unwrap() [INFO] [stdout] | ^^^^^^^^ -------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_ascii_chars` found for struct `rand::prelude::ThreadRng` in the current scope [INFO] [stdout] --> src/cryptography/prp.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | thread_rng().gen_ascii_chars().take(16).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `rand::prelude::ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | WeChatError::InvalidBase64(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wechat`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c6c0de192275a4201fb055b67f2cd4bb0f593b211dd9953746afcfa919d53b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6c0de192275a4201fb055b67f2cd4bb0f593b211dd9953746afcfa919d53b5c", kill_on_drop: false }` [INFO] [stdout] c6c0de192275a4201fb055b67f2cd4bb0f593b211dd9953746afcfa919d53b5c