[INFO] cloning repository https://github.com/kodmanyagha/libp2p-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kodmanyagha/libp2p-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodmanyagha%2Flibp2p-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodmanyagha%2Flibp2p-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fabe3b13987f8a9da34a510d5ba26a533e60cc0 [INFO] testing kodmanyagha/libp2p-tutorial against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodmanyagha%2Flibp2p-tutorial" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kodmanyagha/libp2p-tutorial [INFO] finished tweaking git repo https://github.com/kodmanyagha/libp2p-tutorial [INFO] tweaked toml for git repo https://github.com/kodmanyagha/libp2p-tutorial written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kodmanyagha/libp2p-tutorial on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kodmanyagha/libp2p-tutorial 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26fa9c8511b9793505141b38f38d9cb910be62f3a42eb2ce4c448beee4665655 [INFO] running `Command { std: "docker" "start" "-a" "26fa9c8511b9793505141b38f38d9cb910be62f3a42eb2ce4c448beee4665655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26fa9c8511b9793505141b38f38d9cb910be62f3a42eb2ce4c448beee4665655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26fa9c8511b9793505141b38f38d9cb910be62f3a42eb2ce4c448beee4665655", kill_on_drop: false }` [INFO] [stdout] 26fa9c8511b9793505141b38f38d9cb910be62f3a42eb2ce4c448beee4665655 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a54e432205fe7b5de6f761ecd3eb2a1aae6e1f93328c58de65291a160f53b4b [INFO] running `Command { std: "docker" "start" "-a" "0a54e432205fe7b5de6f761ecd3eb2a1aae6e1f93328c58de65291a160f53b4b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling value-bag v1.8.1 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling async-executor v1.11.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling multihash v0.19.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling data-encoding-macro v0.1.15 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.20 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling multiaddr v0.18.1 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling libp2p-core v0.43.0 [INFO] [stderr] Compiling rand_core v0.9.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling netlink-sys v0.8.6 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-signal v0.2.5 [INFO] [stderr] Compiling async-process v1.8.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling asn1-rs v0.6.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libp2p-swarm v0.46.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling moka v0.12.10 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling quinn-udp v0.5.10 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling hickory-proto v0.25.0-alpha.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling der-parser v9.0.0 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling futures-rustls v0.26.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling prometheus-client v0.22.2 [INFO] [stderr] Compiling quinn-proto v0.11.9 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rcgen v0.11.3 [INFO] [stderr] Compiling hickory-resolver v0.25.0-alpha.5 [INFO] [stderr] Compiling x509-parser v0.16.0 [INFO] [stderr] Compiling sqlx-mysql v0.8.3 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling quinn v0.11.6 [INFO] [stderr] Compiling libp2p-tls v0.6.0 [INFO] [stderr] Compiling soketto v0.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling async-std-resolver v0.25.0-alpha.5 [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling cbor4ii v0.3.2 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling libp2p-websocket v0.45.0 [INFO] [stderr] Compiling libp2p-gossipsub v0.48.0 [INFO] [stderr] Compiling libp2p-request-response v0.28.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling libp2p-yamux v0.47.0 [INFO] [stderr] Compiling libp2p-noise v0.46.0 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling libp2p-dns v0.43.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling libp2p-quic v0.12.0 [INFO] [stderr] Compiling libp2p-kad v0.47.0 [INFO] [stderr] Compiling libp2p-mdns v0.47.0 [INFO] [stderr] Compiling libp2p-identify v0.46.0 [INFO] [stderr] Compiling libp2p-tcp v0.43.0 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling libp2p-allow-block-list v0.5.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.5.0 [INFO] [stderr] Compiling libp2p-ping v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling libp2p v0.55.0 [INFO] [stderr] Compiling libp2p_tutorials v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `PortNotAvailable` is never constructed [INFO] [stdout] --> src/bin/chat_app/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | PortNotAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use env_logger::{Builder, Env}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p::futures::StreamExt` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use libp2p::futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p::swarm::SwarmEvent` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use libp2p::swarm::SwarmEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event as IdentifyEvent` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | Behaviour as IdentifyBehavior, Config as IdentifyConfig, Event as IdentifyEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event as KadEvent` and `RoutingUpdate` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Event as KadEvent, RoutingUpdate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event as RequestResponseEvent` and `Message as RequestResponseMessage` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | Config as RequestResponseConfig, Event as RequestResponseEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | Message as RequestResponseMessage, ProtocolSupport as RequestResponseProtocolSupport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event as AgentEvent` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | use behavior::{Behavior as AgentBehavior, Event as AgentEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swarm` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut swarm = libp2p::SwarmBuilder::with_existing_identity(local_key.clone()) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_swarm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut swarm = libp2p::SwarmBuilder::with_existing_identity(local_key.clone()) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register_addr_kad`, `send_message`, `send_response`, and `set_server_mode` are never used [INFO] [stdout] --> src/bin/poc_kademlia/behavior.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Behavior { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn register_addr_kad(&mut self, peer_id: &PeerId, addr: Multiaddr) -> RoutingUpdate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn send_message(&mut self, peer_id: &PeerId, message: GreeRequest) -> OutboundRequestId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn send_response( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn set_server_mode(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/poc_kademlia/behavior.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | Identify(IdentifyEvent), [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 61 - Identify(IdentifyEvent), [INFO] [stdout] 61 + Identify(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/poc_kademlia/behavior.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Kad(KademliaEvent), [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 62 - Kad(KademliaEvent), [INFO] [stdout] 62 + Kad(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/poc_kademlia/behavior.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | RequestResponse(RequestResponseEvent), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 - RequestResponse(RequestResponseEvent), [INFO] [stdout] 63 + RequestResponse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0a54e432205fe7b5de6f761ecd3eb2a1aae6e1f93328c58de65291a160f53b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a54e432205fe7b5de6f761ecd3eb2a1aae6e1f93328c58de65291a160f53b4b", kill_on_drop: false }` [INFO] [stdout] 0a54e432205fe7b5de6f761ecd3eb2a1aae6e1f93328c58de65291a160f53b4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90bea18b26d81ff7aef1f214dcb99fffb2067c1362fed7558116abffb1337c79 [INFO] running `Command { std: "docker" "start" "-a" "90bea18b26d81ff7aef1f214dcb99fffb2067c1362fed7558116abffb1337c79", kill_on_drop: false }` [INFO] [stderr] Compiling libp2p_tutorials v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use env_logger::{Builder, Env}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p::futures::StreamExt` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use libp2p::futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p::swarm::SwarmEvent` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use libp2p::swarm::SwarmEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event as IdentifyEvent` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | Behaviour as IdentifyBehavior, Config as IdentifyConfig, Event as IdentifyEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event as KadEvent` and `RoutingUpdate` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Event as KadEvent, RoutingUpdate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event as RequestResponseEvent` and `Message as RequestResponseMessage` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | Config as RequestResponseConfig, Event as RequestResponseEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | Message as RequestResponseMessage, ProtocolSupport as RequestResponseProtocolSupport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event as AgentEvent` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | use behavior::{Behavior as AgentBehavior, Event as AgentEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libp2p::tls::certificate::parse` [INFO] [stdout] --> src/bin/chat_app/types.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use libp2p::tls::certificate::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swarm` [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut swarm = libp2p::SwarmBuilder::with_existing_identity(local_key.clone()) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_swarm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/poc_kademlia/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut swarm = libp2p::SwarmBuilder::with_existing_identity(local_key.clone()) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register_addr_kad`, `send_message`, `send_response`, and `set_server_mode` are never used [INFO] [stdout] --> src/bin/poc_kademlia/behavior.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Behavior { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn register_addr_kad(&mut self, peer_id: &PeerId, addr: Multiaddr) -> RoutingUpdate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn send_message(&mut self, peer_id: &PeerId, message: GreeRequest) -> OutboundRequestId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn send_response( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn set_server_mode(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/poc_kademlia/behavior.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | Identify(IdentifyEvent), [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 61 - Identify(IdentifyEvent), [INFO] [stdout] 61 + Identify(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/poc_kademlia/behavior.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Kad(KademliaEvent), [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 62 - Kad(KademliaEvent), [INFO] [stdout] 62 + Kad(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/poc_kademlia/behavior.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | RequestResponse(RequestResponseEvent), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 - RequestResponse(RequestResponseEvent), [INFO] [stdout] 63 + RequestResponse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/bin/chat_app/types.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fn func1(&self, foo: i32, bar: i64, baz: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar` [INFO] [stdout] --> src/bin/chat_app/types.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | fn func1(&self, foo: i32, bar: i64, baz: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `baz` [INFO] [stdout] --> src/bin/chat_app/types.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | fn func1(&self, foo: i32, bar: i64, baz: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_baz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/bin/chat_app/types.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | fn func2(&self, foo: String, bar: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar` [INFO] [stdout] --> src/bin/chat_app/types.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | fn func2(&self, foo: String, bar: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quu` [INFO] [stdout] --> src/bin/chat_app/types.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | fn func3(&self, quu: bool, qux: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_quu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qux` [INFO] [stdout] --> src/bin/chat_app/types.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | fn func3(&self, quu: bool, qux: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PortNotAvailable` is never constructed [INFO] [stdout] --> src/bin/chat_app/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | PortNotAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExampleStruct1` is never constructed [INFO] [stdout] --> src/bin/chat_app/types.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | struct ExampleStruct1(String); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Trait1` is never used [INFO] [stdout] --> src/bin/chat_app/types.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | trait Trait1 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Trait2` is never used [INFO] [stdout] --> src/bin/chat_app/types.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | trait Trait2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Trait3` is never used [INFO] [stdout] --> src/bin/chat_app/types.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | trait Trait3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Trait4` is never used [INFO] [stdout] --> src/bin/chat_app/types.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | trait Trait4<'a>: Trait3 + Trait2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FooStruct` is never constructed [INFO] [stdout] --> src/bin/chat_app/types.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | struct FooStruct { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "90bea18b26d81ff7aef1f214dcb99fffb2067c1362fed7558116abffb1337c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90bea18b26d81ff7aef1f214dcb99fffb2067c1362fed7558116abffb1337c79", kill_on_drop: false }` [INFO] [stdout] 90bea18b26d81ff7aef1f214dcb99fffb2067c1362fed7558116abffb1337c79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4e35010d2dd4bf61fffc6c7264e9da6975078020c43819bfe4abab73faa9327c [INFO] running `Command { std: "docker" "start" "-a" "4e35010d2dd4bf61fffc6c7264e9da6975078020c43819bfe4abab73faa9327c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Builder` [INFO] [stderr] --> src/bin/poc_kademlia/main.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | use env_logger::{Builder, Env}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `libp2p::futures::StreamExt` [INFO] [stderr] --> src/bin/poc_kademlia/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use libp2p::futures::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `libp2p::swarm::SwarmEvent` [INFO] [stderr] --> src/bin/poc_kademlia/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use libp2p::swarm::SwarmEvent; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Event as IdentifyEvent` [INFO] [stderr] --> src/bin/poc_kademlia/main.rs:16:62 [INFO] [stderr] | [INFO] [stderr] 16 | Behaviour as IdentifyBehavior, Config as IdentifyConfig, Event as IdentifyEvent, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Event as KadEvent` and `RoutingUpdate` [INFO] [stderr] --> src/bin/poc_kademlia/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | Event as KadEvent, RoutingUpdate, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Event as RequestResponseEvent` and `Message as RequestResponseMessage` [INFO] [stderr] --> src/bin/poc_kademlia/main.rs:25:38 [INFO] [stderr] | [INFO] [stderr] 25 | Config as RequestResponseConfig, Event as RequestResponseEvent, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 26 | Message as RequestResponseMessage, ProtocolSupport as RequestResponseProtocolSupport, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Event as AgentEvent` [INFO] [stderr] --> src/bin/poc_kademlia/main.rs:31:43 [INFO] [stderr] | [INFO] [stderr] 31 | use behavior::{Behavior as AgentBehavior, Event as AgentEvent}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `swarm` [INFO] [stderr] --> src/bin/poc_kademlia/main.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | let mut swarm = libp2p::SwarmBuilder::with_existing_identity(local_key.clone()) [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_swarm` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/poc_kademlia/main.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | let mut swarm = libp2p::SwarmBuilder::with_existing_identity(local_key.clone()) [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `register_addr_kad`, `send_message`, `send_response`, and `set_server_mode` are never used [INFO] [stderr] --> src/bin/poc_kademlia/behavior.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl Behavior { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn register_addr_kad(&mut self, peer_id: &PeerId, addr: Multiaddr) -> RoutingUpdate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn send_message(&mut self, peer_id: &PeerId, message: GreeRequest) -> OutboundRequestId { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn send_response( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn set_server_mode(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bin/poc_kademlia/behavior.rs:61:14 [INFO] [stderr] | [INFO] [stderr] 61 | Identify(IdentifyEvent), [INFO] [stderr] | -------- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 61 - Identify(IdentifyEvent), [INFO] [stderr] 61 + Identify(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bin/poc_kademlia/behavior.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | Kad(KademliaEvent), [INFO] [stderr] | --- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 62 - Kad(KademliaEvent), [INFO] [stderr] 62 + Kad(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bin/poc_kademlia/behavior.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | RequestResponse(RequestResponseEvent), [INFO] [stderr] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 63 - RequestResponse(RequestResponseEvent), [INFO] [stderr] 63 + RequestResponse(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `libp2p::tls::certificate::parse` [INFO] [stderr] --> src/bin/chat_app/types.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | use libp2p::tls::certificate::parse; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `foo` [INFO] [stderr] --> src/bin/chat_app/types.rs:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | fn func1(&self, foo: i32, bar: i64, baz: String) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bar` [INFO] [stderr] --> src/bin/chat_app/types.rs:66:35 [INFO] [stderr] | [INFO] [stderr] 66 | fn func1(&self, foo: i32, bar: i64, baz: String) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `baz` [INFO] [stderr] --> src/bin/chat_app/types.rs:66:45 [INFO] [stderr] | [INFO] [stderr] 66 | fn func1(&self, foo: i32, bar: i64, baz: String) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_baz` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `foo` [INFO] [stderr] --> src/bin/chat_app/types.rs:72:25 [INFO] [stderr] | [INFO] [stderr] 72 | fn func2(&self, foo: String, bar: u64) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bar` [INFO] [stderr] --> src/bin/chat_app/types.rs:72:38 [INFO] [stderr] | [INFO] [stderr] 72 | fn func2(&self, foo: String, bar: u64) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `quu` [INFO] [stderr] --> src/bin/chat_app/types.rs:78:25 [INFO] [stderr] | [INFO] [stderr] 78 | fn func3(&self, quu: bool, qux: u8) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_quu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `qux` [INFO] [stderr] --> src/bin/chat_app/types.rs:78:36 [INFO] [stderr] | [INFO] [stderr] 78 | fn func3(&self, quu: bool, qux: u8) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_qux` [INFO] [stderr] [INFO] [stderr] warning: variant `PortNotAvailable` is never constructed [INFO] [stderr] --> src/bin/chat_app/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 11 | enum AppError { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 19 | PortNotAvailable, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ExampleStruct1` is never constructed [INFO] [stderr] --> src/bin/chat_app/types.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | struct ExampleStruct1(String); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Trait1` is never used [INFO] [stderr] --> src/bin/chat_app/types.rs:65:11 [INFO] [stderr] | [INFO] [stderr] 65 | trait Trait1 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Trait2` is never used [INFO] [stderr] --> src/bin/chat_app/types.rs:71:11 [INFO] [stderr] | [INFO] [stderr] 71 | trait Trait2 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Trait3` is never used [INFO] [stderr] --> src/bin/chat_app/types.rs:77:11 [INFO] [stderr] | [INFO] [stderr] 77 | trait Trait3 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Trait4` is never used [INFO] [stderr] --> src/bin/chat_app/types.rs:83:11 [INFO] [stderr] | [INFO] [stderr] 83 | trait Trait4<'a>: Trait3 + Trait2 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FooStruct` is never constructed [INFO] [stderr] --> src/bin/chat_app/types.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | struct FooStruct { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `libp2p_tutorials` (bin "poc_kademlia" test) generated 13 warnings (run `cargo fix --bin "poc_kademlia" --tests` to apply 8 suggestions) [INFO] [stderr] warning: `libp2p_tutorials` (bin "chat_app" test) generated 15 warnings (run `cargo fix --bin "chat_app" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test types::test::parse_port_success ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/chat_app/main.rs (/opt/rustwide/target/debug/deps/chat_app-e468425038b85ccf) [INFO] [stderr] Running unittests src/bin/poc_kademlia/main.rs (/opt/rustwide/target/debug/deps/poc_kademlia-d67e113fd6cef095) [INFO] running `Command { std: "docker" "inspect" "4e35010d2dd4bf61fffc6c7264e9da6975078020c43819bfe4abab73faa9327c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e35010d2dd4bf61fffc6c7264e9da6975078020c43819bfe4abab73faa9327c", kill_on_drop: false }` [INFO] [stdout] 4e35010d2dd4bf61fffc6c7264e9da6975078020c43819bfe4abab73faa9327c