[INFO] fetching crate traffic_generator 0.1.0...
[INFO] testing traffic_generator-0.1.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate traffic_generator 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate traffic_generator 0.1.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate traffic_generator 0.1.0
[INFO] finished tweaking crates.io crate traffic_generator 0.1.0
[INFO] tweaked toml for crates.io crate traffic_generator 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 110 packages to latest compatible versions
[INFO] [stderr]       Adding chrono v0.2.25 (available: v0.4.38)
[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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: unused manifest key: package.respository
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e63efffd8bf044df2343ae3779de0d3748ae2319bacfa27b468ff970de55995
[INFO] running `Command { std: "docker" "start" "-a" "0e63efffd8bf044df2343ae3779de0d3748ae2319bacfa27b468ff970de55995", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e63efffd8bf044df2343ae3779de0d3748ae2319bacfa27b468ff970de55995", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e63efffd8bf044df2343ae3779de0d3748ae2319bacfa27b468ff970de55995", kill_on_drop: false }`
[INFO] [stdout] 0e63efffd8bf044df2343ae3779de0d3748ae2319bacfa27b468ff970de55995
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 448390cf4b9ffd1557521ba74fffc1cec234fca94f96e2275fa6c5cb04682cfd
[INFO] running `Command { std: "docker" "start" "-a" "448390cf4b9ffd1557521ba74fffc1cec234fca94f96e2275fa6c5cb04682cfd", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: unused manifest key: package.respository
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling anstream v0.6.17
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling chrono v0.2.25
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling env_filter v0.1.2
[INFO] [stderr]    Compiling env_logger v0.11.5
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ws v0.9.2
[INFO] [stderr]    Compiling traffic_generator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:62:32
[INFO] [stdout]    |
[INFO] [stdout] 62 |         if let Some(ip_addr) = try!(shake.remote_addr()) {
[INFO] [stdout]    |                                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: method takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:42:19
[INFO] [stdout]     |
[INFO] [stdout] 42  |         rate: rng.gen_range::<i32>(0, 3000),
[INFO] [stdout]     |                   ^^^^^^^^^   --- supplied 1 generic argument
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here, with 2 generic parameters: `T`, `R`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 |     fn gen_range<T, R>(&mut self, range: R) -> T
[INFO] [stdout]     |        ^^^^^^^^^ -  -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 42  |         rate: rng.gen_range::<i32, R>(0, 3000),
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `{integer}: SampleRange<i32>` is not satisfied
[INFO] [stdout]    --> src/main.rs:42:36
[INFO] [stdout]     |
[INFO] [stdout] 42  |         rate: rng.gen_range::<i32>(0, 3000),
[INFO] [stdout]     |                   ---------        ^ the trait `SampleRange<i32>` is not implemented for `{integer}`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `SampleRange<T>`:
[INFO] [stdout]               RangeInclusive<T>
[INFO] [stdout]               std::ops::Range<T>
[INFO] [stdout] note: required by a bound in `gen_range`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     fn gen_range<T, R>(&mut self, range: R) -> T
[INFO] [stdout]     |        --------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 132 |         R: SampleRange<T>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^ required by this bound in `Rng::gen_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> src/main.rs:42:19
[INFO] [stdout]     |
[INFO] [stdout] 42  |         rate: rng.gen_range::<i32>(0, 3000),
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^    ---- unexpected argument #2 of type `{integer}`
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 |     fn gen_range<T, R>(&mut self, range: R) -> T
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 42  -         rate: rng.gen_range::<i32>(0, 3000),
[INFO] [stdout] 42  +         rate: rng.gen_range::<i32>(0),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope
[INFO] [stdout]   --> src/main.rs:87:24
[INFO] [stdout]    |
[INFO] [stdout] 87 |     env_logger::init().unwrap();
[INFO] [stdout]    |                        ^^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `traffic_generator` (bin "traffic_generator") due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "448390cf4b9ffd1557521ba74fffc1cec234fca94f96e2275fa6c5cb04682cfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "448390cf4b9ffd1557521ba74fffc1cec234fca94f96e2275fa6c5cb04682cfd", kill_on_drop: false }`
[INFO] [stdout] 448390cf4b9ffd1557521ba74fffc1cec234fca94f96e2275fa6c5cb04682cfd
