[INFO] fetching crate rshark 0.0.1... [INFO] testing rshark-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rshark 0.0.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rshark 0.0.1 [INFO] finished tweaking crates.io crate rshark 0.0.1 [INFO] tweaked toml for crates.io crate rshark 0.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rshark 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding byteorder v0.3.13 (available: v1.5.0) [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding pcap v0.4.2 (available: v2.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strsim v0.5.2 [INFO] [stderr] Downloaded byteorder v0.3.13 [INFO] [stderr] Downloaded pcap v0.4.2 [INFO] [stderr] Downloaded docopt v0.6.86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1204a2a6c3026a3cf7756380398578ce5e449e23153fdb4b694105c5aae884d1 [INFO] running `Command { std: "docker" "start" "-a" "1204a2a6c3026a3cf7756380398578ce5e449e23153fdb4b694105c5aae884d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1204a2a6c3026a3cf7756380398578ce5e449e23153fdb4b694105c5aae884d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1204a2a6c3026a3cf7756380398578ce5e449e23153fdb4b694105c5aae884d1", kill_on_drop: false }` [INFO] [stdout] 1204a2a6c3026a3cf7756380398578ce5e449e23153fdb4b694105c5aae884d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7ae31229e827e18e09cb492497c491b871392aeecd070c751ee3c2690d35d070 [INFO] running `Command { std: "docker" "start" "-a" "7ae31229e827e18e09cb492497c491b871392aeecd070c751ee3c2690d35d070", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling pcap v0.4.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling docopt v0.6.86 [INFO] [stderr] Compiling rshark v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | try![write![f, "{{ "]]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | try![write![f, "{}: ", k]]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | try![write![f, ", "]]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:146:43 [INFO] [stdout] | [INFO] [stdout] 146 | &Ok(ref value) => try![write![f, "{}", value]], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 147 | &Err(ref e) => try![write![f, "<<{}>>", e]], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | try![write![f, "{} B [", bytes.len()]]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | try![write![f, " {:02x}", b]]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | try![write![f, " ..."]]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/ip/mod.rs:77:75 [INFO] [stdout] | [INFO] [stdout] 77 | encoded: source.iter().map(|b| b.to_string()).collect::>().connect("."), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 77 - encoded: source.iter().map(|b| b.to_string()).collect::>().connect("."), [INFO] [stdout] 77 + encoded: source.iter().map(|b| b.to_string()).collect::>().join("."), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/ip/mod.rs:83:73 [INFO] [stdout] | [INFO] [stdout] 83 | encoded: dest.iter().map(|b| b.to_string()).collect::>().connect("."), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 83 - encoded: dest.iter().map(|b| b.to_string()).collect::>().connect("."), [INFO] [stdout] 83 + encoded: dest.iter().map(|b| b.to_string()).collect::>().join("."), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | let device = try![open_device(args)]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | try![c.filter(&args.flag_filter)]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | type PcapResult = Result, pcap::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | type PcapResult = Result, pcap::Error>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | -> Result>, pcap::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | -> Result>, pcap::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Args: Decodable` is not satisfied [INFO] [stdout] --> src/main.rs:56:48 [INFO] [stdout] | [INFO] [stdout] 56 | .and_then(|d| d.argv(std::env::args()).decode()) [INFO] [stdout] | ^^^^^^ the trait `Decodable` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `Docopt::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docopt-0.6.86/src/dopt.rs:198:58 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn decode(&self) -> Result where D: Decodable { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Docopt::decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rshark` (bin "rshark") due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7ae31229e827e18e09cb492497c491b871392aeecd070c751ee3c2690d35d070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae31229e827e18e09cb492497c491b871392aeecd070c751ee3c2690d35d070", kill_on_drop: false }` [INFO] [stdout] 7ae31229e827e18e09cb492497c491b871392aeecd070c751ee3c2690d35d070