[INFO] crate wallabag-api 0.1.2 is already in cache [INFO] checking wallabag-api-0.1.2 against master#30ca215b4e38b32aa7abdd635c5e2d56f5724494 for pr-66037 [INFO] extracting crate wallabag-api 0.1.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate wallabag-api 0.1.2 on toolchain 30ca215b4e38b32aa7abdd635c5e2d56f5724494 [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate wallabag-api 0.1.2 [INFO] finished tweaking crates.io crate wallabag-api 0.1.2 [INFO] tweaked toml for crates.io crate wallabag-api 0.1.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate wallabag-api 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 632fcbbffc48a8bfc03dc5bb97d1ee67b42f1893a1631e31fa8a21936463934d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "632fcbbffc48a8bfc03dc5bb97d1ee67b42f1893a1631e31fa8a21936463934d"` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.51 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.19 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking publicsuffix v1.5.3 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking serde v1.0.101 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking reqwest v0.9.22 [INFO] [stderr] Checking wallabag-api v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `arg` [INFO] [stderr] --> src/types/common.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | fn foo(arg: &i64) {} [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_arg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> examples/save_url.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Range` [INFO] [stderr] --> examples/save_url.rs:5:45 [INFO] [stderr] | [INFO] [stderr] 5 | use wallabag_api::types::{Config, NewEntry, Range}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/save_url.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let mut entry = NewEntry::new_with_url(url); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> examples/check_exists.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed for `std::result::Result>, wallabag_api::errors::ClientError>` [INFO] [stderr] --> examples/check_exists.rs:30:43 [INFO] [stderr] | [INFO] [stderr] 22 | let res = client.check_urls_exist(vec!["https://example.com/".to_owned(), "bla".to_owned()]); [INFO] [stderr] | --- consider giving `res` the explicit type `std::result::Result>, wallabag_api::errors::ClientError>`, where the type parameter `std::string::String` is specified [INFO] [stderr] ... [INFO] [stderr] 30 | let res = client.check_url_exists(url.as_ref()); [INFO] [stderr] | ^^^^^^ cannot infer type for struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: cannot resolve `std::string::String: std::convert::AsRef<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [INFO] [stderr] error: could not compile `wallabag-api`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "632fcbbffc48a8bfc03dc5bb97d1ee67b42f1893a1631e31fa8a21936463934d"` [INFO] running `"docker" "rm" "-f" "632fcbbffc48a8bfc03dc5bb97d1ee67b42f1893a1631e31fa8a21936463934d"` [INFO] [stdout] 632fcbbffc48a8bfc03dc5bb97d1ee67b42f1893a1631e31fa8a21936463934d