[INFO] cloning repository https://github.com/kirillt/udp-experiment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kirillt/udp-experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirillt%2Fudp-experiment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirillt%2Fudp-experiment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 19f2eff90fc6f6f04f407cc472a51e16d8f379bd [INFO] checking kirillt/udp-experiment against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirillt%2Fudp-experiment" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kirillt/udp-experiment [INFO] finished tweaking git repo https://github.com/kirillt/udp-experiment [INFO] tweaked toml for git repo https://github.com/kirillt/udp-experiment written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kirillt/udp-experiment on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kirillt/udp-experiment already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f27b2563ecbd8578344e828db16b35689b71e87ccf2fb79420ab2186aa5bb296 [INFO] running `Command { std: "docker" "start" "-a" "f27b2563ecbd8578344e828db16b35689b71e87ccf2fb79420ab2186aa5bb296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f27b2563ecbd8578344e828db16b35689b71e87ccf2fb79420ab2186aa5bb296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f27b2563ecbd8578344e828db16b35689b71e87ccf2fb79420ab2186aa5bb296", kill_on_drop: false }` [INFO] [stdout] f27b2563ecbd8578344e828db16b35689b71e87ccf2fb79420ab2186aa5bb296 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1049ff3e0f1b26051e55d62859b8e1f5c13b9d364bb8184487e172fd50ff8407 [INFO] running `Command { std: "docker" "start" "-a" "1049ff3e0f1b26051e55d62859b8e1f5c13b9d364bb8184487e172fd50ff8407", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking os_str_bytes v2.3.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking udp-experiment v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/collect.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / #[clap(short, long)] [INFO] [stdout] 30 | | report_interval: String [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/collect.rs:66:47 [INFO] [stdout] | [INFO] [stdout] 66 | println!("Received {} datagrams", DATAGRAMS_RECEIVED) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/collect.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / #[clap(short, long)] [INFO] [stdout] 30 | | report_interval: String [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/collect.rs:66:47 [INFO] [stdout] | [INFO] [stdout] 66 | println!("Received {} datagrams", DATAGRAMS_RECEIVED) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `udp-experiment` (bin "collect") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `udp-experiment` (bin "collect" test) due to 1 previous error; 1 warning emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/stress.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / #[clap(short, long)] [INFO] [stdout] 24 | | url: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/stress.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / #[clap(short, long)] [INFO] [stdout] 26 | | delay: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/stress.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / #[clap(short, long)] [INFO] [stdout] 30 | | total_amount: String [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stress.rs:105:43 [INFO] [stdout] | [INFO] [stdout] 105 | println!("Sent {} datagrams", DATAGRAMS_SENT); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `udp-experiment` (bin "stress") due to 3 previous errors; 1 warning emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/batches.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut batches = prepare(vec![1,2,3,4,5], 3, true); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/stress.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / #[clap(short, long)] [INFO] [stdout] 24 | | url: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/stress.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / #[clap(short, long)] [INFO] [stdout] 26 | | delay: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/stress.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / #[clap(short, long)] [INFO] [stdout] 30 | | total_amount: String [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/stress.rs:105:43 [INFO] [stdout] | [INFO] [stdout] 105 | println!("Sent {} datagrams", DATAGRAMS_SENT); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `udp-experiment` (bin "stress" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1049ff3e0f1b26051e55d62859b8e1f5c13b9d364bb8184487e172fd50ff8407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1049ff3e0f1b26051e55d62859b8e1f5c13b9d364bb8184487e172fd50ff8407", kill_on_drop: false }` [INFO] [stdout] 1049ff3e0f1b26051e55d62859b8e1f5c13b9d364bb8184487e172fd50ff8407