[INFO] crate whoiz 0.1.0 is already in cache [INFO] checking whoiz-0.1.0 against nightly-2019-10-27 for pr-65897 [INFO] extracting crate whoiz 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate whoiz 0.1.0 on toolchain nightly-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate whoiz 0.1.0 [INFO] finished tweaking crates.io crate whoiz 0.1.0 [INFO] tweaked toml for crates.io crate whoiz 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=allow" "-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" "+nightly-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aaef6e1b155cc7256f25029dc35ff7ef21da25fc49a259710b9142522ece63f5 [INFO] running `"docker" "start" "-a" "aaef6e1b155cc7256f25029dc35ff7ef21da25fc49a259710b9142522ece63f5"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking resolve v0.2.0 [INFO] [stderr] Checking whoiz v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0658]: use of unstable library feature 'option_result_contains' [INFO] [stderr] --> src/tests.rs:29:85 [INFO] [stderr] | [INFO] [stderr] 29 | assert!( fetch_ip( &IpAddr::from_str("8.8.8.8").expect("bad IP addr format") ).contains("Google LLC (GOGL)") ); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/62358 [INFO] [stderr] = help: add `#![feature(option_result_contains)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/tests.rs:29:94 [INFO] [stderr] | [INFO] [stderr] 29 | assert!( fetch_ip( &IpAddr::from_str("8.8.8.8").expect("bad IP addr format") ).contains("Google LLC (GOGL)") ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `str` with `parser::WhoisData` [INFO] [stderr] --> src/tests.rs:29:94 [INFO] [stderr] | [INFO] [stderr] 29 | assert!( fetch_ip( &IpAddr::from_str("8.8.8.8").expect("bad IP addr format") ).contains("Google LLC (GOGL)") ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no implementation for `str == parser::WhoisData` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq` is not implemented for `str` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'option_result_contains' [INFO] [stderr] --> src/tests.rs:34:87 [INFO] [stderr] | [INFO] [stderr] 34 | assert!( fetch_ip( &IpAddr::from_str("147.83.2.3").expect("bad IP addr format") ).contains("Universitat Politecnica de Catalunya")) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/62358 [INFO] [stderr] = help: add `#![feature(option_result_contains)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/tests.rs:34:96 [INFO] [stderr] | [INFO] [stderr] 34 | assert!( fetch_ip( &IpAddr::from_str("147.83.2.3").expect("bad IP addr format") ).contains("Universitat Politecnica de Catalunya")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `str` with `parser::WhoisData` [INFO] [stderr] --> src/tests.rs:34:96 [INFO] [stderr] | [INFO] [stderr] 34 | assert!( fetch_ip( &IpAddr::from_str("147.83.2.3").expect("bad IP addr format") ).contains("Universitat Politecnica de Catalunya")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == parser::WhoisData` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq` is not implemented for `str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse` found for type `std::result::Result` in the current scope [INFO] [stderr] --> src/tests.rs:40:126 [INFO] [stderr] | [INFO] [stderr] 40 | assert_eq!( Some("netcup GmbH".to_string()), fetch_ip( &IpAddr::from_str("37.120.172.168").expect("bad IP addr format")).parse::().unwrap().get_org_name() ); [INFO] [stderr] | ^^^^^ method not found in `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse` found for type `std::result::Result` in the current scope [INFO] [stderr] --> src/tests.rs:42:99 [INFO] [stderr] | [INFO] [stderr] 42 | assert_eq!( None, fetch_ip( &IpAddr::from_str("200.58.120.110").expect("bad IP addr format")).parse::().unwrap().get_org_name() ); [INFO] [stderr] | ^^^^^ method not found in `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse` found for type `std::result::Result` in the current scope [INFO] [stderr] --> src/tests.rs:48:117 [INFO] [stderr] | [INFO] [stderr] 48 | assert_eq!( Some("AR".to_string()), fetch_ip( &IpAddr::from_str("200.58.120.110").expect("bad IP addr format")).parse::().unwrap().get_country()); [INFO] [stderr] | ^^^^^ method not found in `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse` found for type `std::result::Result` in the current scope [INFO] [stderr] --> src/tests.rs:50:116 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!( Some("JP".to_string()), fetch_ip( &IpAddr::from_str("45.77.131.253").expect("bad IP addr format")).parse::().unwrap().get_country()); [INFO] [stderr] | ^^^^^ method not found in `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse` found for type `std::result::Result` in the current scope [INFO] [stderr] --> src/tests.rs:52:116 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!( Some("NL".to_string()), fetch_ip( &IpAddr::from_str("94.237.40.128").expect("bad IP addr format")).parse::().unwrap().get_country()); [INFO] [stderr] | ^^^^^ method not found in `std::result::Result` [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `whoiz`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "aaef6e1b155cc7256f25029dc35ff7ef21da25fc49a259710b9142522ece63f5"` [INFO] running `"docker" "rm" "-f" "aaef6e1b155cc7256f25029dc35ff7ef21da25fc49a259710b9142522ece63f5"` [INFO] [stdout] aaef6e1b155cc7256f25029dc35ff7ef21da25fc49a259710b9142522ece63f5