[INFO] fetching crate ipify_api 1.0.0... [INFO] testing ipify_api-1.0.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate ipify_api 1.0.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ipify_api 1.0.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ipify_api 1.0.0 [INFO] finished tweaking crates.io crate ipify_api 1.0.0 [INFO] tweaked toml for crates.io crate ipify_api 1.0.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a26c7880c918bd14c86d545c3dd6d1406f0f0c1f9e1ac203c20778a1d2e3c6f4 [INFO] running `Command { std: "docker" "start" "-a" "a26c7880c918bd14c86d545c3dd6d1406f0f0c1f9e1ac203c20778a1d2e3c6f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a26c7880c918bd14c86d545c3dd6d1406f0f0c1f9e1ac203c20778a1d2e3c6f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a26c7880c918bd14c86d545c3dd6d1406f0f0c1f9e1ac203c20778a1d2e3c6f4", kill_on_drop: false }` [INFO] [stdout] a26c7880c918bd14c86d545c3dd6d1406f0f0c1f9e1ac203c20778a1d2e3c6f4 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fea9adfc1c84176d6daeb590b0b60ac5b71160e128957c253ebc6567d09a18c [INFO] running `Command { std: "docker" "start" "-a" "9fea9adfc1c84176d6daeb590b0b60ac5b71160e128957c253ebc6567d09a18c", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling ipify_api v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.25s [INFO] running `Command { std: "docker" "inspect" "9fea9adfc1c84176d6daeb590b0b60ac5b71160e128957c253ebc6567d09a18c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fea9adfc1c84176d6daeb590b0b60ac5b71160e128957c253ebc6567d09a18c", kill_on_drop: false }` [INFO] [stdout] 9fea9adfc1c84176d6daeb590b0b60ac5b71160e128957c253ebc6567d09a18c [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2c878ed0d5388ec6be2b79f46ebfc1987334a3492ec603dff6810c1369f5ed7 [INFO] running `Command { std: "docker" "start" "-a" "c2c878ed0d5388ec6be2b79f46ebfc1987334a3492ec603dff6810c1369f5ed7", kill_on_drop: false }` [INFO] [stderr] Compiling ipify_api v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "c2c878ed0d5388ec6be2b79f46ebfc1987334a3492ec603dff6810c1369f5ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c878ed0d5388ec6be2b79f46ebfc1987334a3492ec603dff6810c1369f5ed7", kill_on_drop: false }` [INFO] [stdout] c2c878ed0d5388ec6be2b79f46ebfc1987334a3492ec603dff6810c1369f5ed7 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8e9a344fdc77b52af7129ea3cb21ade0beba66c77788d0ef551e945725eedc1 [INFO] running `Command { std: "docker" "start" "-a" "f8e9a344fdc77b52af7129ea3cb21ade0beba66c77788d0ef551e945725eedc1", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ipify_api-3156e96314b930b0) [INFO] [stdout] [INFO] [stderr] Doc-tests ipify_api [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - get_ip (line 24) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `ipify` [INFO] [stdout] --> src/lib.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ipify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - get_ip (line 24) stdout ---- [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 11 | ) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: closure bodies that contain statements must be surrounded by braces [INFO] [stdout] --> src/lib.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 10 | .map_err(|e| println!("{}", e)); [INFO] [stdout] | ^ [INFO] [stdout] 11 | ) [INFO] [stdout] 12 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: statement found outside of a block [INFO] [stdout] --> src/lib.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 10 | .map_err(|e| println!("{}", e)); [INFO] [stdout] | ----------------- ^ this `;` turns the preceding closure into a statement [INFO] [stdout] | | [INFO] [stdout] | this expression is a statement because of the trailing semicolon [INFO] [stdout] note: the closure body may be incorrectly delimited [INFO] [stdout] --> src/lib.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 10 | .map_err(|e| println!("{}", e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the parsed closure... [INFO] [stdout] 11 | ) [INFO] [stdout] 12 | } [INFO] [stdout] | - ...but likely you meant the closure to end here [INFO] [stdout] help: try adding braces [INFO] [stdout] | [INFO] [stdout] 10 ~ .map_err(|e| { println!("{}", e)); [INFO] [stdout] 11 | ) [INFO] [stdout] 12 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `restructure` [INFO] [stdout] --> src/lib.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate restructure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_ip` in this scope [INFO] [stdout] --> src/lib.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 8 | get_ip("http://my-custom-ipify-instance.rs") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - get_ip (line 24) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f8e9a344fdc77b52af7129ea3cb21ade0beba66c77788d0ef551e945725eedc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e9a344fdc77b52af7129ea3cb21ade0beba66c77788d0ef551e945725eedc1", kill_on_drop: false }` [INFO] [stdout] f8e9a344fdc77b52af7129ea3cb21ade0beba66c77788d0ef551e945725eedc1