[INFO] fetching crate geolocation 0.2.1... [INFO] testing geolocation-0.2.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate geolocation 0.2.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate geolocation 0.2.1 [INFO] finished tweaking crates.io crate geolocation 0.2.1 [INFO] tweaked toml for crates.io crate geolocation 0.2.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate geolocation 0.2.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sluice v0.6.0 [INFO] [stderr] Downloaded waker-fn v1.2.0 [INFO] [stderr] Downloaded curl v0.4.49 [INFO] [stderr] Downloaded isahc v1.8.0 [INFO] [stderr] Downloaded libz-sys v1.1.28 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.13+1.68.1 [INFO] [stderr] Downloaded curl-sys v0.4.87+curl-8.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05ed79464332a6fce9c03375eafa5d95431dedd5a1c3ee236201c65ce4bbbc12 [INFO] running `Command { std: "docker" "start" "-a" "05ed79464332a6fce9c03375eafa5d95431dedd5a1c3ee236201c65ce4bbbc12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05ed79464332a6fce9c03375eafa5d95431dedd5a1c3ee236201c65ce4bbbc12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ed79464332a6fce9c03375eafa5d95431dedd5a1c3ee236201c65ce4bbbc12", kill_on_drop: false }` [INFO] [stdout] 05ed79464332a6fce9c03375eafa5d95431dedd5a1c3ee236201c65ce4bbbc12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9889adad330faa375925cfd0171a7eaf5b0b97ab4169bcad3600f5a4c005e3e [INFO] running `Command { std: "docker" "start" "-a" "a9889adad330faa375925cfd0171a7eaf5b0b97ab4169bcad3600f5a4c005e3e", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling libnghttp2-sys v0.1.13+1.68.1 [INFO] [stderr] Compiling libz-sys v1.1.28 [INFO] [stderr] Compiling curl-sys v0.4.87+curl-8.19.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling isahc v1.8.0 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling sluice v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling geolocation v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.81s [INFO] running `Command { std: "docker" "inspect" "a9889adad330faa375925cfd0171a7eaf5b0b97ab4169bcad3600f5a4c005e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9889adad330faa375925cfd0171a7eaf5b0b97ab4169bcad3600f5a4c005e3e", kill_on_drop: false }` [INFO] [stdout] a9889adad330faa375925cfd0171a7eaf5b0b97ab4169bcad3600f5a4c005e3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff0ebeb2e6b2e7f5fcd877706d99e9d35bca1d506c6d3acf5c1b3a67f79b9d1b [INFO] running `Command { std: "docker" "start" "-a" "ff0ebeb2e6b2e7f5fcd877706d99e9d35bca1d506c6d3acf5c1b3a67f79b9d1b", kill_on_drop: false }` [INFO] [stderr] Compiling geolocation v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "ff0ebeb2e6b2e7f5fcd877706d99e9d35bca1d506c6d3acf5c1b3a67f79b9d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff0ebeb2e6b2e7f5fcd877706d99e9d35bca1d506c6d3acf5c1b3a67f79b9d1b", kill_on_drop: false }` [INFO] [stdout] ff0ebeb2e6b2e7f5fcd877706d99e9d35bca1d506c6d3acf5c1b3a67f79b9d1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d3b640f51b7da19aaa17e0edfe1c5941245ecfce7f897b8ef559fe75eb460073 [INFO] running `Command { std: "docker" "start" "-a" "d3b640f51b7da19aaa17e0edfe1c5941245ecfce7f897b8ef559fe75eb460073", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/geolocation-650fd83e67165a2b) [INFO] [stdout] [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] [stderr] Doc-tests geolocation [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error: expected a pattern, found an expression [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let info.city = geolocation::find(ip).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not a pattern [INFO] [stdout] | [INFO] [stdout] = note: arbitrary expressions are not allowed in patterns: [INFO] [stdout] [INFO] [stdout] error[E0254]: the name `geolocation` is defined multiple times [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate r#geolocation; [INFO] [stdout] | --------------------------- previous import of the extern crate `geolocation` here [INFO] [stdout] 15 | use geolocation; [INFO] [stdout] | ^^^^^^^^^^^ `geolocation` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `geolocation` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `info` in this scope [INFO] [stdout] --> src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | println!("{:?}", info.city.city); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0254, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0254`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error[E0423]: expected value, found crate `geolocation` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | geolocation = "0.2.1" [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 7 | let geolocation = "0.2.1" [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d3b640f51b7da19aaa17e0edfe1c5941245ecfce7f897b8ef559fe75eb460073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b640f51b7da19aaa17e0edfe1c5941245ecfce7f897b8ef559fe75eb460073", kill_on_drop: false }` [INFO] [stdout] d3b640f51b7da19aaa17e0edfe1c5941245ecfce7f897b8ef559fe75eb460073