[INFO] cloning repository https://github.com/Mubelotix/p2pnet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mubelotix/p2pnet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMubelotix%2Fp2pnet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMubelotix%2Fp2pnet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aec99cccf9b2436262ca60c42347182821aa9976 [INFO] testing Mubelotix/p2pnet against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMubelotix%2Fp2pnet" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mubelotix/p2pnet on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mubelotix/p2pnet [INFO] finished tweaking git repo https://github.com/Mubelotix/p2pnet [INFO] tweaked toml for git repo https://github.com/Mubelotix/p2pnet written to /workspace/builds/worker-19/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-19/source/tests/simulation.rs [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84c37211b8d5ad3bd8b170cad071eda6c4f06f12c385f0e25b3561d47d24ab60 [INFO] running `Command { std: "docker" "start" "-a" "84c37211b8d5ad3bd8b170cad071eda6c4f06f12c385f0e25b3561d47d24ab60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84c37211b8d5ad3bd8b170cad071eda6c4f06f12c385f0e25b3561d47d24ab60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84c37211b8d5ad3bd8b170cad071eda6c4f06f12c385f0e25b3561d47d24ab60", kill_on_drop: false }` [INFO] [stdout] 84c37211b8d5ad3bd8b170cad071eda6c4f06f12c385f0e25b3561d47d24ab60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 355ac9e3313fa70c2d0519fd3c4eb07bacf5892b4df051326622448013160734 [INFO] running `Command { std: "docker" "start" "-a" "355ac9e3313fa70c2d0519fd3c4eb07bacf5892b4df051326622448013160734", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/tests/simulation.rs [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling base64ct v1.5.0 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling zeroize v1.5.4 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling sha2-derive-proc-macro v0.1.6 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling sha2-derive v0.1.2 [INFO] [stderr] Compiling protocol v3.2.0 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling protocol-derive v3.2.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tewta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] TokenStream [Ident { ident: "pub", span: #0 bytes(90584..90587) }, Ident { ident: "struct", span: #0 bytes(90588..90594) }, Ident { ident: "UserMention", span: #0 bytes(90595..90606) }, Group { delimiter: Brace, stream: TokenStream [Ident { ident: "pub", span: #0 bytes(90613..90616) }, Ident { ident: "username", span: #0 bytes(90617..90625) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(90625..90626) }, Ident { ident: "String", span: #0 bytes(90627..90633) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(90633..90634) }, Ident { ident: "pub", span: #0 bytes(90639..90642) }, Ident { ident: "peer_id", span: #0 bytes(90643..90650) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(90650..90651) }, Ident { ident: "PeerID", span: #0 bytes(90652..90658) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(90658..90659) }, Punct { ch: '#', spacing: Alone, span: #0 bytes(90706..90770) }, Group { delimiter: Bracket, stream: TokenStream [Ident { ident: "doc", span: #0 bytes(90706..90770) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(90706..90770) }, Literal { kind: Str, symbol: " Cached internet address for that peer_id. Might have changed", suffix: None, span: #0 bytes(90706..90770) }], span: #0 bytes(90706..90770) }, Ident { ident: "pub", span: #0 bytes(90775..90778) }, Ident { ident: "cached_addr", span: #0 bytes(90779..90790) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(90790..90791) }, Ident { ident: "Option", span: #0 bytes(90792..90798) }, Punct { ch: '<', spacing: Alone, span: #0 bytes(90798..90799) }, Ident { ident: "String", span: #0 bytes(90799..90805) }, Punct { ch: '>', spacing: Joint, span: #0 bytes(90805..90806) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(90806..90807) }, Punct { ch: '#', spacing: Alone, span: #0 bytes(90812..90882) }, Group { delimiter: Bracket, stream: TokenStream [Ident { ident: "doc", span: #0 bytes(90812..90882) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(90812..90882) }, Literal { kind: Str, symbol: " Cached addresses for providers of that peer_id. Might have changed", suffix: None, span: #0 bytes(90812..90882) }], span: #0 bytes(90812..90882) }, Ident { ident: "pub", span: #0 bytes(90887..90890) }, Ident { ident: "providers_addrs", span: #0 bytes(90891..90906) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(90906..90907) }, Ident { ident: "Vec", span: #0 bytes(90908..90911) }, Punct { ch: '<', spacing: Alone, span: #0 bytes(90911..90912) }, Group { delimiter: Parenthesis, stream: TokenStream [Ident { ident: "PeerID", span: #0 bytes(90913..90919) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(90919..90920) }, Ident { ident: "String", span: #0 bytes(90921..90927) }], span: #0 bytes(90912..90928) }, Punct { ch: '>', spacing: Joint, span: #0 bytes(90928..90929) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(90929..90930) }], span: #0 bytes(90607..90932) }] [INFO] [stdout] error[E0425]: cannot find value `NODE_COUNT` in the crate root [INFO] [stdout] --> src/node/node.rs:173:41 [INFO] [stdout] | [INFO] [stdout] 173 | let node_count = unsafe {crate::NODE_COUNT.load(std::sync::atomic::Ordering::Relaxed)}; [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/stream.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite` [INFO] [stdout] --> src/stream.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/stream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{integer}` [INFO] [stdout] --> src/node/node.rs:176:40 [INFO] [stdout] | [INFO] [stdout] 176 | let n = rand::thread_rng().gen_range(0..node_count); [INFO] [stdout] | - ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `n` a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleUniform` found in the `rand` crate: [INFO] [stdout] - impl SampleUniform for i128; [INFO] [stdout] - impl SampleUniform for i16; [INFO] [stdout] - impl SampleUniform for i32; [INFO] [stdout] - impl SampleUniform for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.5/src/rng.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | T: SampleUniform, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `gen_range` [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 176 | let n = rand::thread_rng().gen_range::(0..node_count); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tewta` due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "355ac9e3313fa70c2d0519fd3c4eb07bacf5892b4df051326622448013160734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "355ac9e3313fa70c2d0519fd3c4eb07bacf5892b4df051326622448013160734", kill_on_drop: false }` [INFO] [stdout] 355ac9e3313fa70c2d0519fd3c4eb07bacf5892b4df051326622448013160734