[INFO] fetching crate wechat 0.1.0... [INFO] checking wechat-0.1.0 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate wechat 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate wechat 0.1.0 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", 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] 3eb5031b9ba9556b7be017e075b93f9d652ac6f9c3783f8ff0cf8465d6aedc48 [INFO] running `Command { std: "docker" "start" "-a" "3eb5031b9ba9556b7be017e075b93f9d652ac6f9c3783f8ff0cf8465d6aedc48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3eb5031b9ba9556b7be017e075b93f9d652ac6f9c3783f8ff0cf8465d6aedc48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eb5031b9ba9556b7be017e075b93f9d652ac6f9c3783f8ff0cf8465d6aedc48", kill_on_drop: false }` [INFO] [stdout] 3eb5031b9ba9556b7be017e075b93f9d652ac6f9c3783f8ff0cf8465d6aedc48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90bc35733d62c1d88ce7d132171b3f7d9a14975fc79d9ad255d4c3f11d8e6463 [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" "90bc35733d62c1d88ce7d132171b3f7d9a14975fc79d9ad255d4c3f11d8e6463", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] 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] 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[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] [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] 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] [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] [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] [stderr] error: could not compile `wechat` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "90bc35733d62c1d88ce7d132171b3f7d9a14975fc79d9ad255d4c3f11d8e6463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90bc35733d62c1d88ce7d132171b3f7d9a14975fc79d9ad255d4c3f11d8e6463", kill_on_drop: false }` [INFO] [stdout] 90bc35733d62c1d88ce7d132171b3f7d9a14975fc79d9ad255d4c3f11d8e6463