[INFO] updating cached repository https://github.com/oko/rust-dns-bench [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e67f2dd58edaa7f1680f86a952ed2172d5141503 [INFO] checking oko/rust-dns-bench against master#e22b61bff0bdd08be7665607cb7be3748c8a35d2 for pr-74627 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foko%2Frust-dns-bench" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oko/rust-dns-bench on toolchain e22b61bff0bdd08be7665607cb7be3748c8a35d2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oko/rust-dns-bench [INFO] finished tweaking git repo https://github.com/oko/rust-dns-bench [INFO] tweaked toml for git repo https://github.com/oko/rust-dns-bench written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/oko/rust-dns-bench already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/oko/rust-dns.git` [INFO] [stderr] Updating git repository `https://github.com/rust-lang/time.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d3131383dfb3ac70395b76de05d9ef97f5ee8534d3c355e2bd6d5be865bb17c7 [INFO] running `Command { std: "docker" "start" "-a" "d3131383dfb3ac70395b76de05d9ef97f5ee8534d3c355e2bd6d5be865bb17c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3131383dfb3ac70395b76de05d9ef97f5ee8534d3c355e2bd6d5be865bb17c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3131383dfb3ac70395b76de05d9ef97f5ee8534d3c355e2bd6d5be865bb17c7", kill_on_drop: false }` [INFO] [stdout] d3131383dfb3ac70395b76de05d9ef97f5ee8534d3c355e2bd6d5be865bb17c7 [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" "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a567c7a674e6a7585985b5c2c09d03651717705b8b262f94fd319b277fd4a870 [INFO] running `Command { std: "docker" "start" "-a" "a567c7a674e6a7585985b5c2c09d03651717705b8b262f94fd319b277fd4a870", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking dns v0.0.3-pre2 (https://github.com/oko/rust-dns.git#a376188a) [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 (https://github.com/rust-lang/time.git#c49cca20) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling time-macros-impl v0.1.1 (https://github.com/rust-lang/time.git#c49cca20) [INFO] [stderr] Checking time-macros v0.1.0 (https://github.com/rust-lang/time.git#c49cca20) [INFO] [stderr] Checking dns-bench v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `i` for integer literal [INFO] [stdout] --> src/main.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | for i in range(0, 1000000i) { [INFO] [stdout] | ^^^^^^^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for integer literal [INFO] [stdout] --> src/main.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | for i in range(0, 1000000i) { [INFO] [stdout] | ^^^^^^^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::net::udp::UdpSocket; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::net::ip::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dns::hp` [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | use dns::hp::read_dns_message; [INFO] [stdout] | ^^ could not find `hp` in `dns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `include_bin` in this scope [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let buf = include_bin!("packets/net1-rs.bin"); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `include_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `include_bin` in this scope [INFO] [stdout] --> src/main.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | let buf = include_bin!("packets/comns1-rs.bin"); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `include_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `include_bin` in this scope [INFO] [stdout] --> src/main.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let buf = include_bin!("packets/fb1-rq.bin"); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `include_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `include_bin` in this scope [INFO] [stdout] --> src/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | let buf = include_bin!("packets/fb1-rs.bin"); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `include_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `flush` in `io::stdio` [INFO] [stdout] --> src/main.rs:34:93 [INFO] [stdout] | [INFO] [stdout] 34 | print!("Parse {} ({} bytes) sample packet 1,000,000 times..", s, buf.len()); io::stdio::flush(); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | for i in range(0, 1000000i) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:34:86 [INFO] [stdout] | [INFO] [stdout] 34 | print!("Parse {} ({} bytes) sample packet 1,000,000 times..", s, buf.len()); io::stdio::flush(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let start = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | let end = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::net::udp::UdpSocket; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::net::ip::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dns::hp` [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | use dns::hp::read_dns_message; [INFO] [stdout] | ^^ could not find `hp` in `dns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `include_bin` in this scope [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let buf = include_bin!("packets/net1-rs.bin"); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `include_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `include_bin` in this scope [INFO] [stdout] --> src/main.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | let buf = include_bin!("packets/comns1-rs.bin"); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `include_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `include_bin` in this scope [INFO] [stdout] --> src/main.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let buf = include_bin!("packets/fb1-rq.bin"); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `include_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `include_bin` in this scope [INFO] [stdout] --> src/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | let buf = include_bin!("packets/fb1-rs.bin"); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `include_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dns-bench`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `flush` in `io::stdio` [INFO] [stdout] --> src/main.rs:34:93 [INFO] [stdout] | [INFO] [stdout] 34 | print!("Parse {} ({} bytes) sample packet 1,000,000 times..", s, buf.len()); io::stdio::flush(); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | for i in range(0, 1000000i) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:34:86 [INFO] [stdout] | [INFO] [stdout] 34 | print!("Parse {} ({} bytes) sample packet 1,000,000 times..", s, buf.len()); io::stdio::flush(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let start = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | let end = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a567c7a674e6a7585985b5c2c09d03651717705b8b262f94fd319b277fd4a870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a567c7a674e6a7585985b5c2c09d03651717705b8b262f94fd319b277fd4a870", kill_on_drop: false }` [INFO] [stdout] a567c7a674e6a7585985b5c2c09d03651717705b8b262f94fd319b277fd4a870