[INFO] fetching crate iploc 0.1.0... [INFO] checking iploc-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate iploc 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate iploc 0.1.0 [INFO] finished tweaking crates.io crate iploc 0.1.0 [INFO] tweaked toml for crates.io crate iploc 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate iploc 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding hyper v0.9.18 (available: v1.7.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccec26a9afffcffc0aed6ec3e07c7e74affd6677d5c30096bf564239c66243b1 [INFO] running `Command { std: "docker" "start" "-a" "ccec26a9afffcffc0aed6ec3e07c7e74affd6677d5c30096bf564239c66243b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccec26a9afffcffc0aed6ec3e07c7e74affd6677d5c30096bf564239c66243b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccec26a9afffcffc0aed6ec3e07c7e74affd6677d5c30096bf564239c66243b1", kill_on_drop: false }` [INFO] [stdout] ccec26a9afffcffc0aed6ec3e07c7e74affd6677d5c30096bf564239c66243b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa607aa862418b88426f272407a8ae3ca3fb6ef5b540fa2cb218a899e8cac0ce [INFO] running `Command { std: "docker" "start" "-a" "aa607aa862418b88426f272407a8ae3ca3fb6ef5b540fa2cb218a899e8cac0ce", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking traitobject v0.0.1 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking solicit v0.4.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking cookie v0.2.5 [INFO] [stderr] Checking hyper v0.9.18 [INFO] [stderr] Checking iploc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/table.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | try!(resp.read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/table.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | try!(File::open(file).unwrap().read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/table.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | try!(resp.read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/table.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | try!(File::open(file).unwrap().read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/util.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | let bytes: [u8; 4] = unsafe { transmute(self.to_be()) }; [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/util.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | let mut s = bytes.into_iter().map(|x| x.to_string() + ".").collect::>().concat(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 35 - let mut s = bytes.into_iter().map(|x| x.to_string() + ".").collect::>().concat(); [INFO] [stdout] 35 + let mut s = bytes.iter().map(|x| x.to_string() + ".").collect::>().concat(); [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 35 - let mut s = bytes.into_iter().map(|x| x.to_string() + ".").collect::>().concat(); [INFO] [stdout] 35 + let mut s = IntoIterator::into_iter(bytes).map(|x| x.to_string() + ".").collect::>().concat(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/util.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | let bytes: [u8; 4] = unsafe { transmute(self.to_be()) }; [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/util.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | let mut s = bytes.into_iter().map(|x| x.to_string() + ".").collect::>().concat(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 35 - let mut s = bytes.into_iter().map(|x| x.to_string() + ".").collect::>().concat(); [INFO] [stdout] 35 + let mut s = bytes.iter().map(|x| x.to_string() + ".").collect::>().concat(); [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 35 - let mut s = bytes.into_iter().map(|x| x.to_string() + ".").collect::>().concat(); [INFO] [stdout] 35 + let mut s = IntoIterator::into_iter(bytes).map(|x| x.to_string() + ".").collect::>().concat(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.94s [INFO] running `Command { std: "docker" "inspect" "aa607aa862418b88426f272407a8ae3ca3fb6ef5b540fa2cb218a899e8cac0ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa607aa862418b88426f272407a8ae3ca3fb6ef5b540fa2cb218a899e8cac0ce", kill_on_drop: false }` [INFO] [stdout] aa607aa862418b88426f272407a8ae3ca3fb6ef5b540fa2cb218a899e8cac0ce