[INFO] fetching crate rsnappy 0.1.0... [INFO] testing rsnappy-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rsnappy 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rsnappy 0.1.0 [INFO] finished tweaking crates.io crate rsnappy 0.1.0 [INFO] tweaked toml for crates.io crate rsnappy 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsnappy 0.1.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.1) [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 docopt v0.6.86 [INFO] [stderr] Downloaded thread-id v2.0.0 [INFO] [stderr] Downloaded strsim v0.5.2 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded memchr v0.1.11 [INFO] [stderr] Downloaded thread_local v0.2.7 [INFO] [stderr] Downloaded utf8-ranges v0.1.3 [INFO] [stderr] Downloaded regex-syntax v0.3.9 [INFO] [stderr] Downloaded regex v0.1.80 [INFO] [stderr] Downloaded aho-corasick v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b4c331f7a55b4820d1706cb975164e2b5d946df3fe3c9394ef6c2911de9b7ca9 [INFO] running `Command { std: "docker" "start" "-a" "b4c331f7a55b4820d1706cb975164e2b5d946df3fe3c9394ef6c2911de9b7ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4c331f7a55b4820d1706cb975164e2b5d946df3fe3c9394ef6c2911de9b7ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4c331f7a55b4820d1706cb975164e2b5d946df3fe3c9394ef6c2911de9b7ca9", kill_on_drop: false }` [INFO] [stdout] b4c331f7a55b4820d1706cb975164e2b5d946df3fe3c9394ef6c2911de9b7ca9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2cf44db11fab1e72724c8b3c6d8e3714e82a7bb05459cda16711fd015925f4de [INFO] running `Command { std: "docker" "start" "-a" "2cf44db11fab1e72724c8b3c6d8e3714e82a7bb05459cda16711fd015925f4de", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rsnappy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decompress.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | let uncompressed_length = try!(read_uncompressed_length(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/decompress.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | for i in (0..len as usize) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - for i in (0..len as usize) { [INFO] [stdout] 269 + for i in 0..len as usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let metadata = try!(self.get_ref().metadata()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | try!(write_varint(out, uncompressed_length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | let uncompressed_length = try!(inp.available()) as u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | try!(compress_block(chunk, out, &mut dict)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | try!(emit_literal(out, &block[literal_start..i])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | try!(emit_copy(out, copy_offset, copy_len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | try!(do_emit_copy(out, offset, MAX_COPY_LEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | try!(do_emit_copy(out, offset, to_emit)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | try!(out.write(&[tag, low_len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | try!(out.write(&[tag])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | try!(write_u16_le(out, offset as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | try!(out.write(&[tag])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | try!(out.write_all(literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | try!(out.write(&ds[..count + 1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | try!(out.write_all(literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | try!(out.write(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | try!(out.write(&ds[..nbytes])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mipsel` [INFO] [stdout] --> src/zero_array.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | target_arch = "mipsel", [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"mips"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `le32` [INFO] [stdout] --> src/zero_array.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | target_arch = "le32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/zero_array.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/zero_array.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[link_name = "c"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | / extern { [INFO] [stdout] 28 | | fn calloc(num: size_t, size: size_t) -> *mut c_void; [INFO] [stdout] 29 | | fn free(ptr: *mut c_void); [INFO] [stdout] 30 | | fn abort(); [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- not a foreign function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] help: try `#[link(name = "c")]` instead [INFO] [stdout] --> src/zero_array.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[link_name = "c"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "2cf44db11fab1e72724c8b3c6d8e3714e82a7bb05459cda16711fd015925f4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cf44db11fab1e72724c8b3c6d8e3714e82a7bb05459cda16711fd015925f4de", kill_on_drop: false }` [INFO] [stdout] 2cf44db11fab1e72724c8b3c6d8e3714e82a7bb05459cda16711fd015925f4de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a503bbc6298ef5899347f4ec6c71969f388abb0cf8f826d4777f16e890c79723 [INFO] running `Command { std: "docker" "start" "-a" "a503bbc6298ef5899347f4ec6c71969f388abb0cf8f826d4777f16e890c79723", 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 rustc-serialize v0.3.25 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decompress.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | let uncompressed_length = try!(read_uncompressed_length(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/decompress.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | for i in (0..len as usize) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - for i in (0..len as usize) { [INFO] [stdout] 269 + for i in 0..len as usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let metadata = try!(self.get_ref().metadata()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | try!(write_varint(out, uncompressed_length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | let uncompressed_length = try!(inp.available()) as u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | try!(compress_block(chunk, out, &mut dict)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | try!(emit_literal(out, &block[literal_start..i])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | try!(emit_copy(out, copy_offset, copy_len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | try!(do_emit_copy(out, offset, MAX_COPY_LEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | try!(do_emit_copy(out, offset, to_emit)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | try!(out.write(&[tag, low_len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | try!(out.write(&[tag])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | try!(write_u16_le(out, offset as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | try!(out.write(&[tag])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | try!(out.write_all(literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | try!(out.write(&ds[..count + 1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | try!(out.write_all(literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | try!(out.write(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | try!(out.write(&ds[..nbytes])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mipsel` [INFO] [stdout] --> src/zero_array.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | target_arch = "mipsel", [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"mips"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `le32` [INFO] [stdout] --> src/zero_array.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | target_arch = "le32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/zero_array.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/zero_array.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[link_name = "c"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | / extern { [INFO] [stdout] 28 | | fn calloc(num: size_t, size: size_t) -> *mut c_void; [INFO] [stdout] 29 | | fn free(ptr: *mut c_void); [INFO] [stdout] 30 | | fn abort(); [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- not a foreign function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] help: try `#[link(name = "c")]` instead [INFO] [stdout] --> src/zero_array.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[link_name = "c"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling docopt v0.6.86 [INFO] [stderr] Compiling rsnappy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> tests/test-decompress.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | for i in (0..1_000_000) { expected_out.push((i % 10) as u8); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - for i in (0..1_000_000) { expected_out.push((i % 10) as u8); } [INFO] [stdout] 45 + for i in 0..1_000_000 { expected_out.push((i % 10) as u8); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> examples/rsnap.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decompress.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | let uncompressed_length = try!(read_uncompressed_length(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/decompress.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | for i in (0..len as usize) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - for i in (0..len as usize) { [INFO] [stdout] 269 + for i in 0..len as usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let metadata = try!(self.get_ref().metadata()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | try!(write_varint(out, uncompressed_length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | let uncompressed_length = try!(inp.available()) as u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | try!(compress_block(chunk, out, &mut dict)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | try!(emit_literal(out, &block[literal_start..i])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | try!(emit_copy(out, copy_offset, copy_len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | try!(do_emit_copy(out, offset, MAX_COPY_LEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | try!(do_emit_copy(out, offset, to_emit)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | try!(out.write(&[tag, low_len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | try!(out.write(&[tag])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | try!(write_u16_le(out, offset as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | try!(out.write(&[tag])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | try!(out.write_all(literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | try!(out.write(&ds[..count + 1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | try!(out.write_all(literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | try!(out.write(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compress.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | try!(out.write(&ds[..nbytes])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mipsel` [INFO] [stdout] --> src/zero_array.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | target_arch = "mipsel", [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"mips"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `le32` [INFO] [stdout] --> src/zero_array.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | target_arch = "le32"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/zero_array.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/zero_array.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[link_name = "c"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | / extern { [INFO] [stdout] 28 | | fn calloc(num: size_t, size: size_t) -> *mut c_void; [INFO] [stdout] 29 | | fn free(ptr: *mut c_void); [INFO] [stdout] 30 | | fn abort(); [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- not a foreign function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] help: try `#[link(name = "c")]` instead [INFO] [stdout] --> src/zero_array.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[link_name = "c"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Args: Decodable` is not satisfied [INFO] [stdout] --> examples/rsnap.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | let args: Args = Docopt::new(USAGE).and_then(|d| d.decode()).unwrap_or_else(|e| e.exit()); [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 `rsnappy` (example "rsnap") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a503bbc6298ef5899347f4ec6c71969f388abb0cf8f826d4777f16e890c79723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a503bbc6298ef5899347f4ec6c71969f388abb0cf8f826d4777f16e890c79723", kill_on_drop: false }` [INFO] [stdout] a503bbc6298ef5899347f4ec6c71969f388abb0cf8f826d4777f16e890c79723