[INFO] fetching crate wechat 0.1.0... [INFO] checking wechat-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate wechat 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate wechat 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbe9a9b0e845340a9faeaae14d1253204badb8bd1c3fab4a66c196805e66b43e [INFO] running `Command { std: "docker" "start" "-a" "dbe9a9b0e845340a9faeaae14d1253204badb8bd1c3fab4a66c196805e66b43e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbe9a9b0e845340a9faeaae14d1253204badb8bd1c3fab4a66c196805e66b43e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbe9a9b0e845340a9faeaae14d1253204badb8bd1c3fab4a66c196805e66b43e", kill_on_drop: false }` [INFO] [stdout] dbe9a9b0e845340a9faeaae14d1253204badb8bd1c3fab4a66c196805e66b43e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e82b9229e96461e39d2afb49eba1a7832d5b484d343c9a8caf01576bf5a0467c [INFO] running `Command { std: "docker" "start" "-a" "e82b9229e96461e39d2afb49eba1a7832d5b484d343c9a8caf01576bf5a0467c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking sxd-xpath v0.4.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking 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 macro `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 macro `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[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 macro `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 macro `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 `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut sxd_xpath::Context<'_>` [INFO] [stdout] found mutable reference `&mut 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] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sxd-xpath-0.4.2/src/lib.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn evaluate<'d, N>(&self, context: &Context<'d>, node: N) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_ascii_chars` found for struct `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 `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` due to 9 previous errors; 4 warnings emitted [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 `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut sxd_xpath::Context<'_>` [INFO] [stdout] found mutable reference `&mut HashMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sxd-xpath-0.4.2/src/lib.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn evaluate<'d, N>(&self, context: &Context<'d>, node: N) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_ascii_chars` found for struct `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 `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: build failed [INFO] running `Command { std: "docker" "inspect" "e82b9229e96461e39d2afb49eba1a7832d5b484d343c9a8caf01576bf5a0467c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e82b9229e96461e39d2afb49eba1a7832d5b484d343c9a8caf01576bf5a0467c", kill_on_drop: false }` [INFO] [stdout] e82b9229e96461e39d2afb49eba1a7832d5b484d343c9a8caf01576bf5a0467c