[INFO] updating cached repository https://github.com/antonwilc0x/art-manager [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/antonwilc0x/art-manager [INFO] [stderr] 8eea812..8f9a20e master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8f9a20e6faab4780c49b6a65d18900408bc6ea38 [INFO] checking antonwilc0x/art-manager against try#38f08371587f97c145dedb2c055ac7b01bf1e788 for pr-65294 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonwilc0x%2Fart-manager" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antonwilc0x/art-manager on toolchain 38f08371587f97c145dedb2c055ac7b01bf1e788 [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/antonwilc0x/art-manager [INFO] finished tweaking git repo https://github.com/antonwilc0x/art-manager [INFO] tweaked toml for git repo https://github.com/antonwilc0x/art-manager written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/antonwilc0x/art-manager already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b72e939c4d60182ee94e4537627ad7ccd581cf9e4157b4c5a59222942b57fb3d [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" "b72e939c4d60182ee94e4537627ad7ccd581cf9e4157b4c5a59222942b57fb3d"` [INFO] [stderr] Checking indexmap v1.2.0 [INFO] [stderr] Compiling self_update v0.7.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Checking block-padding v0.1.3 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking filetime v0.2.7 [INFO] [stderr] Checking encoding_rs v0.8.20 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking backtrace-sys v0.1.28 [INFO] [stderr] Checking number_prefix v0.2.8 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking backtrace v0.3.15 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking block-buffer v0.7.0 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking console v0.9.0 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking tar v0.4.26 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking error-chain v0.12.1 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.19 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking hyper-old-types v0.11.0 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking publicsuffix v1.5.3 [INFO] [stderr] Checking indicatif v0.11.0 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking zip v0.5.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking reqwest v0.9.22 [INFO] [stderr] Checking artm v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0252]: the name `File` is defined multiple times [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::{fs::File, error::Error, process::exit}; [INFO] [stderr] | -------- previous import of the type `File` here [INFO] [stderr] ... [INFO] [stderr] 12 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ `File` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `File` must be defined only once in the type namespace of this module [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `File` is defined multiple times [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::{fs::File, error::Error, process::exit}; [INFO] [stderr] | -------- previous import of the type `File` here [INFO] [stderr] ... [INFO] [stderr] 12 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ `File` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `File` must be defined only once in the type namespace of this module [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Settings` [INFO] [stderr] --> src/main.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | let cfg = Settings::new() [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Settings` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error::Error`, `process::exit` [INFO] [stderr] --> src/main.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | use std::{fs::File, error::Error, process::exit}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | / update.current_version(version) [INFO] [stderr] 65 | | .build()? [INFO] [stderr] | |_____________________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | / update.current_version(version) [INFO] [stderr] 65 | | .build()? [INFO] [stderr] 66 | | .update()?; [INFO] [stderr] | |______________________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | / update.current_version(crate_version!()) [INFO] [stderr] 70 | | .build()? [INFO] [stderr] | |_____________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | / update.current_version(crate_version!()) [INFO] [stderr] 70 | | .build()? [INFO] [stderr] 71 | | .update()?; [INFO] [stderr] | |______________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Settings` [INFO] [stderr] --> src/main.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | let cfg = Settings::new() [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Settings` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error::Error`, `process::exit` [INFO] [stderr] --> src/main.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | use std::{fs::File, error::Error, process::exit}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0252, E0277, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0252`. [INFO] [stderr] error: could not compile `artm`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | / update.current_version(version) [INFO] [stderr] 65 | | .build()? [INFO] [stderr] | |_____________________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | / update.current_version(version) [INFO] [stderr] 65 | | .build()? [INFO] [stderr] 66 | | .update()?; [INFO] [stderr] | |______________________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | / update.current_version(crate_version!()) [INFO] [stderr] 70 | | .build()? [INFO] [stderr] | |_____________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | / update.current_version(crate_version!()) [INFO] [stderr] 70 | | .build()? [INFO] [stderr] 71 | | .update()?; [INFO] [stderr] | |______________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0252, E0277, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0252`. [INFO] [stderr] error: could not compile `artm`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b72e939c4d60182ee94e4537627ad7ccd581cf9e4157b4c5a59222942b57fb3d"` [INFO] running `"docker" "rm" "-f" "b72e939c4d60182ee94e4537627ad7ccd581cf9e4157b4c5a59222942b57fb3d"` [INFO] [stdout] b72e939c4d60182ee94e4537627ad7ccd581cf9e4157b4c5a59222942b57fb3d