[INFO] fetching crate fast_rsync 0.2.0...
[INFO] testing fast_rsync-0.2.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate fast_rsync 0.2.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate fast_rsync 0.2.0
[INFO] finished tweaking crates.io crate fast_rsync 0.2.0
[INFO] tweaked toml for crates.io crate fast_rsync 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate fast_rsync 0.2.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 66 packages to highest compatible versions
[INFO] [stderr]       Adding criterion v0.4.0 (available: v0.8.2)
[INFO] [stderr]       Adding rand v0.8.8 (available: v0.10.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quickcheck v1.1.0
[INFO] [stderr]   Downloaded quickcheck_macros v1.2.0
[INFO] [stderr]   Downloaded criterion v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6ccec4531945ad25eae28e09d38d631d11d15d08bdc4d14554ac63c8d74035b6
[INFO] running `Command { std: "docker" "start" "6ccec4531945ad25eae28e09d38d631d11d15d08bdc4d14554ac63c8d74035b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ccec4531945ad25eae28e09d38d631d11d15d08bdc4d14554ac63c8d74035b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ccec4531945ad25eae28e09d38d631d11d15d08bdc4d14554ac63c8d74035b6" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ccec4531945ad25eae28e09d38d631d11d15d08bdc4d14554ac63c8d74035b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ccec4531945ad25eae28e09d38d631d11d15d08bdc4d14554ac63c8d74035b6" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling fast_rsync v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u8>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |     } else if len <= u8::max_value() as u64 {
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u16>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |     } else if len <= u16::max_value() as u64 {
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 |     } else if len <= u32::max_value() as u64 {
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u8>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:68:23
[INFO] [stdout]    |
[INFO] [stdout] 68 |         if val <= u8::max_value() as u64 {
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u16>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:70:31
[INFO] [stdout]    |
[INFO] [stdout] 70 |         } else if val <= u16::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:72:31
[INFO] [stdout]    |
[INFO] [stdout] 72 |         } else if val <= u32::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u8>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 87 |         if val <= u8::max_value() as u64 {
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u16>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:89:31
[INFO] [stdout]    |
[INFO] [stdout] 89 |         } else if val <= u16::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:91:31
[INFO] [stdout]    |
[INFO] [stdout] 91 |         } else if val <= u32::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |               if val as u64 > <$ty>::max_value() as u64 {
[INFO] [stdout]     |                                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 | /                     safe_cast!(
[INFO] [stdout] 189 | |                         read_varint!(1 << (cmd - RS_OP_LITERAL_N1) as usize, "literal length"),
[INFO] [stdout] 190 | |                         usize,
[INFO] [stdout] 191 | |                         ApplyError::OutputLimit {
[INFO] [stdout] ...   |
[INFO] [stdout] 196 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `safe_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:193:44
[INFO] [stdout]     |
[INFO] [stdout] 193 | ...                   wanted: usize::max_value(),
[INFO] [stdout]     |                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |             if val as u64 > <$ty>::max_value() as u64 {
[INFO] [stdout]     |                                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |                 let offset = safe_cast!(offset, usize, make_oob_error());
[INFO] [stdout]     |                              ------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `safe_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |             if val as u64 > <$ty>::max_value() as u64 {
[INFO] [stdout]     |                                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |                 let len = safe_cast!(len, usize, make_oob_error());
[INFO] [stdout]     |                           ---------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `safe_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:240:44
[INFO] [stdout]     |
[INFO] [stdout] 240 |     apply_limited(base, delta, out, usize::max_value())
[INFO] [stdout]     |                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.37s
[INFO] running `Command { std: "docker" "inspect" "6ccec4531945ad25eae28e09d38d631d11d15d08bdc4d14554ac63c8d74035b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ccec4531945ad25eae28e09d38d631d11d15d08bdc4d14554ac63c8d74035b6" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling zerocopy v0.8.63
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling syn v3.0.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling either v1.19.0
[INFO] [stderr]    Compiling rand_core v0.10.1
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling textwrap v0.16.4
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand v0.10.3
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling quickcheck v1.1.0
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u8>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |     } else if len <= u8::max_value() as u64 {
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u16>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |     } else if len <= u16::max_value() as u64 {
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 |     } else if len <= u32::max_value() as u64 {
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u8>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:68:23
[INFO] [stdout]    |
[INFO] [stdout] 68 |         if val <= u8::max_value() as u64 {
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u16>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:70:31
[INFO] [stdout]    |
[INFO] [stdout] 70 |         } else if val <= u16::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:72:31
[INFO] [stdout]    |
[INFO] [stdout] 72 |         } else if val <= u32::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u8>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 87 |         if val <= u8::max_value() as u64 {
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u16>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:89:31
[INFO] [stdout]    |
[INFO] [stdout] 89 |         } else if val <= u16::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:91:31
[INFO] [stdout]    |
[INFO] [stdout] 91 |         } else if val <= u32::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |               if val as u64 > <$ty>::max_value() as u64 {
[INFO] [stdout]     |                                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 | /                     safe_cast!(
[INFO] [stdout] 189 | |                         read_varint!(1 << (cmd - RS_OP_LITERAL_N1) as usize, "literal length"),
[INFO] [stdout] 190 | |                         usize,
[INFO] [stdout] 191 | |                         ApplyError::OutputLimit {
[INFO] [stdout] ...   |
[INFO] [stdout] 196 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `safe_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:193:44
[INFO] [stdout]     |
[INFO] [stdout] 193 | ...                   wanted: usize::max_value(),
[INFO] [stdout]     |                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |             if val as u64 > <$ty>::max_value() as u64 {
[INFO] [stdout]     |                                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |                 let offset = safe_cast!(offset, usize, make_oob_error());
[INFO] [stdout]     |                              ------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `safe_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |             if val as u64 > <$ty>::max_value() as u64 {
[INFO] [stdout]     |                                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |                 let len = safe_cast!(len, usize, make_oob_error());
[INFO] [stdout]     |                           ---------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `safe_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:240:44
[INFO] [stdout]     |
[INFO] [stdout] 240 |     apply_limited(base, delta, out, usize::max_value())
[INFO] [stdout]     |                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling zerocopy-derive v0.8.63
[INFO] [stderr]    Compiling quickcheck_macros v1.2.0
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.8
[INFO] [stderr]    Compiling criterion v0.4.0
[INFO] [stderr]    Compiling fast_rsync v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `librsync` in this scope
[INFO] [stdout]   --> src/tests.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     librsync::whole::delta(
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `librsync`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `librsync`, use `cargo add librsync` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `librsync` in this scope
[INFO] [stdout]   --> src/tests.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 97 |     librsync::whole::patch(&mut Cursor::new(&base[..]), &mut &patch[..], &mut out).unwrap();
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `librsync`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `librsync`, use `cargo add librsync` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `librsync` in this scope
[INFO] [stdout]    --> src/tests.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 librsync::whole::signature_with_options(
[INFO] [stdout]     |                 ^^^^^^^^ use of unresolved module or unlinked crate `librsync`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `librsync`, use `cargo add librsync` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `librsync` in this scope
[INFO] [stdout]    --> src/tests.rs:116:21
[INFO] [stdout]     |
[INFO] [stdout] 116 |                     librsync::SignatureType::MD4,
[INFO] [stdout]     |                     ^^^^^^^^ use of unresolved module or unlinked crate `librsync`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `librsync`, use `cargo add librsync` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::signature::SignatureType;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `SignatureType`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 116 -                     librsync::SignatureType::MD4,
[INFO] [stdout] 116 +                     SignatureType::MD4,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u8>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |     } else if len <= u8::max_value() as u64 {
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u16>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |     } else if len <= u16::max_value() as u64 {
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 |     } else if len <= u32::max_value() as u64 {
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u8>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:68:23
[INFO] [stdout]    |
[INFO] [stdout] 68 |         if val <= u8::max_value() as u64 {
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u16>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:70:31
[INFO] [stdout]    |
[INFO] [stdout] 70 |         } else if val <= u16::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:72:31
[INFO] [stdout]    |
[INFO] [stdout] 72 |         } else if val <= u32::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u8>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 87 |         if val <= u8::max_value() as u64 {
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u16>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:89:31
[INFO] [stdout]    |
[INFO] [stdout] 89 |         } else if val <= u16::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/diff.rs:91:31
[INFO] [stdout]    |
[INFO] [stdout] 91 |         } else if val <= u32::max_value() as u64 {
[INFO] [stdout]    |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |               if val as u64 > <$ty>::max_value() as u64 {
[INFO] [stdout]     |                                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 | /                     safe_cast!(
[INFO] [stdout] 189 | |                         read_varint!(1 << (cmd - RS_OP_LITERAL_N1) as usize, "literal length"),
[INFO] [stdout] 190 | |                         usize,
[INFO] [stdout] 191 | |                         ApplyError::OutputLimit {
[INFO] [stdout] ...   |
[INFO] [stdout] 196 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `safe_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:193:44
[INFO] [stdout]     |
[INFO] [stdout] 193 | ...                   wanted: usize::max_value(),
[INFO] [stdout]     |                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |             if val as u64 > <$ty>::max_value() as u64 {
[INFO] [stdout]     |                                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |                 let offset = safe_cast!(offset, usize, make_oob_error());
[INFO] [stdout]     |                              ------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `safe_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:153:36
[INFO] [stdout]     |
[INFO] [stdout] 153 |             if val as u64 > <$ty>::max_value() as u64 {
[INFO] [stdout]     |                                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |                 let len = safe_cast!(len, usize, make_oob_error());
[INFO] [stdout]     |                           ---------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `safe_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/patch.rs:240:44
[INFO] [stdout]     |
[INFO] [stdout] 240 |     apply_limited(base, delta, out, usize::max_value())
[INFO] [stdout]     |                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fast_rsync` (lib test) due to 4 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6ccec4531945ad25eae28e09d38d631d11d15d08bdc4d14554ac63c8d74035b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ccec4531945ad25eae28e09d38d631d11d15d08bdc4d14554ac63c8d74035b6", kill_on_drop: false }`
[INFO] [stdout] 6ccec4531945ad25eae28e09d38d631d11d15d08bdc4d14554ac63c8d74035b6
