[INFO] fetching crate mv-binary-format 0.1.5... [INFO] checking mv-binary-format-0.1.5 against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] extracting crate mv-binary-format 0.1.5 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate mv-binary-format 0.1.5 on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mv-binary-format 0.1.5 [INFO] finished tweaking crates.io crate mv-binary-format 0.1.5 [INFO] tweaked toml for crates.io crate mv-binary-format 0.1.5 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 937945a1c6013edb9ea06d379763717fd1894d311ddc434e26c75073e8d667e1 [INFO] running `Command { std: "docker" "start" "-a" "937945a1c6013edb9ea06d379763717fd1894d311ddc434e26c75073e8d667e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "937945a1c6013edb9ea06d379763717fd1894d311ddc434e26c75073e8d667e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "937945a1c6013edb9ea06d379763717fd1894d311ddc434e26c75073e8d667e1", kill_on_drop: false }` [INFO] [stdout] 937945a1c6013edb9ea06d379763717fd1894d311ddc434e26c75073e8d667e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbcdaea5928fbff1a3a71ead311fa8f9e0dbd6f19c31096e743716407cf3acd3 [INFO] running `Command { std: "docker" "start" "-a" "fbcdaea5928fbff1a3a71ead311fa8f9e0dbd6f19c31096e743716407cf3acd3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling ref-cast v1.0.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.7 [INFO] [stderr] Compiling variant_count v1.1.0 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking serde_bytes v0.11.6 [INFO] [stderr] Checking bcs v0.1.3 [INFO] [stderr] Checking mv-core-types v0.1.5 [INFO] [stderr] Checking mv-binary-format v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/number_tests.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(read_uleb128_as_u64(&mut Cursor::new(&[])).is_err()); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array of 0 elements [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[_; 0]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/file_format_common.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn read_uleb128_as_u64(cursor: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/number_tests.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | assert!(read_uleb128_as_u64(&mut Cursor::new(&[0x80])).is_err()); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[{integer}; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[{integer}; 1]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/file_format_common.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn read_uleb128_as_u64(cursor: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/number_tests.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(read_uleb128_as_u64(&mut Cursor::new(&[0x80, 0x80])).is_err()); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[{integer}; 2]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[{integer}; 2]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/file_format_common.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn read_uleb128_as_u64(cursor: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/number_tests.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | assert!(read_uleb128_as_u64(&mut Cursor::new(&[0x80, 0x80, 0x80, 0x80])).is_err()); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[{integer}; 4]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[{integer}; 4]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/file_format_common.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn read_uleb128_as_u64(cursor: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/number_tests.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | assert!(read_uleb128_as_u64(&mut Cursor::new(&[ [INFO] [stdout] | _____________-------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 56 | | 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x2 [INFO] [stdout] 57 | | ])) [INFO] [stdout] | |______^ expected slice `[u8]`, found array `[{integer}; 10]` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[{integer}; 10]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/file_format_common.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn read_uleb128_as_u64(cursor: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/number_tests.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(read_uleb128_as_u64(&mut Cursor::new(&[0x80, 0x00])).is_err()); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[{integer}; 2]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[{integer}; 2]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/file_format_common.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn read_uleb128_as_u64(cursor: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/number_tests.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(read_uleb128_as_u64(&mut Cursor::new(&[0x80, 0x00, 0x00])).is_err()); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[{integer}; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[{integer}; 3]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/file_format_common.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn read_uleb128_as_u64(cursor: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/number_tests.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(read_uleb128_as_u64(&mut Cursor::new(&[0x80, 0x80, 0x80, 0x80, 0x0f])).is_ok()); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found array `[{integer}; 5]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[{integer}; 5]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/file_format_common.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn read_uleb128_as_u64(cursor: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/number_tests.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | assert!(read_uleb128_as_u64(&mut Cursor::new(&[ [INFO] [stdout] | _____________-------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 67 | | 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x1 [INFO] [stdout] 68 | | ])) [INFO] [stdout] | |______^ expected slice `[u8]`, found array `[{integer}; 10]` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::io::Cursor<&[u8]>` [INFO] [stdout] found mutable reference `&mut std::io::Cursor<&[{integer}; 10]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/file_format_common.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn read_uleb128_as_u64(cursor: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mv-binary-format` due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "fbcdaea5928fbff1a3a71ead311fa8f9e0dbd6f19c31096e743716407cf3acd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbcdaea5928fbff1a3a71ead311fa8f9e0dbd6f19c31096e743716407cf3acd3", kill_on_drop: false }` [INFO] [stdout] fbcdaea5928fbff1a3a71ead311fa8f9e0dbd6f19c31096e743716407cf3acd3