0s autopkgtest [21:09:14]: starting date and time: 2025-02-11 21:09:14+0000 0s autopkgtest [21:09:14]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [21:09:14]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.l7xsfnn4/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:rust-defaults,src:libgit2,src:rustc-1.84 --apt-upgrade rust-bitstream-io --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=rust-defaults/1.84.0ubuntu1 libgit2/1.9.0~ds-0ubuntu1 rustc-1.84/1.84.0+dfsg0ubuntu1-0ubuntu1' -- lxd -r lxd-armhf-10.145.243.234 lxd-armhf-10.145.243.234:autopkgtest/ubuntu/plucky/armhf 50s autopkgtest [21:10:04]: testbed dpkg architecture: armhf 52s autopkgtest [21:10:06]: testbed apt version: 2.9.14ubuntu1 56s autopkgtest [21:10:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 58s autopkgtest [21:10:12]: testbed release detected to be: None 67s autopkgtest [21:10:21]: updating testbed package index (apt update) 69s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 69s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [249 kB] 69s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [110 kB] 69s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [110 kB] 69s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [871 kB] 70s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [66.8 kB] 70s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 70s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [75.8 kB] 70s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Components [2472 B] 70s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Components [212 B] 70s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [784 kB] 70s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Components [421 kB] 70s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [4384 B] 70s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Components [1072 B] 70s Get:15 http://ftpmaster.internal/ubuntu plucky/restricted Sources [17.8 kB] 70s Get:16 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [296 kB] 70s Get:17 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.9 MB] 70s Get:18 http://ftpmaster.internal/ubuntu plucky/main Sources [1382 kB] 71s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1366 kB] 71s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf Components [403 kB] 71s Get:21 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2900 B] 71s Get:22 http://ftpmaster.internal/ubuntu plucky/restricted armhf Components [196 B] 71s Get:23 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.7 MB] 71s Get:24 http://ftpmaster.internal/ubuntu plucky/universe armhf Components [3938 kB] 71s Get:25 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [171 kB] 71s Get:26 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Components [39.9 kB] 71s Get:27 http://ftpmaster.internal/ubuntu plucky-updates/main armhf Components [208 B] 71s Get:28 http://ftpmaster.internal/ubuntu plucky-updates/restricted armhf Components [212 B] 71s Get:29 http://ftpmaster.internal/ubuntu plucky-updates/universe armhf Components [212 B] 71s Get:30 http://ftpmaster.internal/ubuntu plucky-updates/multiverse armhf Components [212 B] 71s Get:31 http://ftpmaster.internal/ubuntu plucky-security/main armhf Components [204 B] 71s Get:32 http://ftpmaster.internal/ubuntu plucky-security/restricted armhf Components [212 B] 71s Get:33 http://ftpmaster.internal/ubuntu plucky-security/universe armhf Components [208 B] 71s Get:34 http://ftpmaster.internal/ubuntu plucky-security/multiverse armhf Components [208 B] 78s Fetched 46.1 MB in 7s (6596 kB/s) 80s Reading package lists... 86s autopkgtest [21:10:40]: upgrading testbed (apt dist-upgrade and autopurge) 88s Reading package lists... 89s Building dependency tree... 89s Reading state information... 89s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 90s Starting 2 pkgProblemResolver with broken count: 0 90s Done 91s Entering ResolveByKeep 91s 92s The following packages were automatically installed and are no longer required: 92s libassuan0 libicu74 libnsl2 libpython3.12-minimal libpython3.12-stdlib 92s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic python3.12 92s python3.12-minimal 92s Use 'apt autoremove' to remove them. 92s The following NEW packages will be installed: 92s libicu76 libpython3.13-minimal libpython3.13-stdlib linux-headers-6.12.0-15 92s linux-headers-6.12.0-15-generic login.defs openssl-provider-legacy 92s python3-bcrypt python3.13 python3.13-minimal 92s The following packages will be upgraded: 92s apparmor apport apport-core-dump-handler appstream apt apt-utils base-passwd 92s bash bash-completion bind9-dnsutils bind9-host bind9-libs binutils 92s binutils-arm-linux-gnueabihf binutils-common bsdextrautils bsdutils 92s btrfs-progs busybox-initramfs busybox-static ca-certificates cloud-init 92s cloud-init-base console-setup console-setup-linux curl dhcpcd-base diffutils 92s dirmngr distro-info dmsetup dpkg dpkg-dev dracut-install e2fsprogs 92s e2fsprogs-l10n ed eject ethtool fdisk fwupd gcc-14-base gettext-base 92s gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg gnupg-l10n gnupg-utils gpg 92s gpg-agent gpg-wks-client gpgconf gpgsm gpgv groff-base gzip htop 92s ibverbs-providers initramfs-tools initramfs-tools-bin initramfs-tools-core 92s iptables iputils-ping iputils-tracepath keyboard-configuration keyboxd 92s kpartx krb5-locales libapparmor1 libappstream5 libapt-pkg6.0t64 92s libarchive13t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 92s libcap-ng0 libcom-err2 libcrypt1 libctf-nobfd0 libctf0 libcurl3t64-gnutls 92s libcurl4t64 libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libedit2 92s libext2fs2t64 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 92s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 92s libgpg-error-l10n libgpg-error0 libgpgme11t64 libgssapi-krb5-2 92s libgstreamer1.0-0 libgudev-1.0-0 libibverbs1 libicu74 libip4tc2 libip6tc2 92s libjson-glib-1.0-0 libjson-glib-1.0-common libk5crypto3 libkrb5-3 92s libkrb5support0 libldap-common libldap2 liblz4-1 libmount1 libncurses6 92s libncursesw6 libnetplan1 libnewt0.52 libnpth0t64 libnss-systemd libnss3 92s libnvme1t64 libpam-systemd libpcap0.8t64 libpng16-16t64 libpolkit-agent-1-0 92s libpolkit-gobject-1-0 libprotobuf-c1 libpython3-stdlib libpython3.12-minimal 92s libpython3.12-stdlib libqmi-glib5 libqmi-proxy libreadline8t64 libsasl2-2 92s libsasl2-modules libsasl2-modules-db libselinux1 libsemanage-common 92s libsemanage2 libsframe1 libsmartcols1 libss2 libssl3t64 libstdc++6 92s libsystemd-shared libsystemd0 libtinfo6 libtraceevent1 libtraceevent1-plugin 92s libudev1 libudisks2-0 libunistring5 libusb-1.0-0 libuuid1 libvolume-key1 92s libwrap0 libxkbcommon0 libxml2 libxtables12 libyaml-0-2 libzstd1 92s linux-headers-generic locales login logsave make mawk mount multipath-tools 92s nano ncurses-base ncurses-bin ncurses-term netcat-openbsd netplan-generator 92s netplan.io openssl passwd pci.ids polkitd pollinate publicsuffix 92s python-apt-common python-babel-localedata python3 python3-apport python3-apt 92s python3-attr python3-babel python3-certifi python3-chardet 92s python3-cryptography python3-distro-info python3-gdbm python3-gi 92s python3-idna python3-jinja2 python3-json-pointer python3-jsonpatch 92s python3-jsonschema python3-jwt python3-launchpadlib python3-lazr.uri 92s python3-minimal python3-more-itertools python3-netplan python3-newt 92s python3-oauthlib python3-openssl python3-pkg-resources 92s python3-problem-report python3-referencing python3-rich python3-setuptools 92s python3-software-properties python3-urllib3 python3-wadllib python3.12 92s python3.12-gdbm python3.12-minimal python3.13-gdbm readline-common rsync 92s rsyslog software-properties-common systemd systemd-cryptsetup 92s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ubuntu-minimal 92s ubuntu-standard ucf udev udisks2 ufw usb.ids util-linux uuid-runtime 92s whiptail xauth xfsprogs zstd 92s 250 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 92s Need to get 126 MB of archives. 92s After this operation, 188 MB of additional disk space will be used. 92s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 93s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-14ubuntu1 [110 kB] 93s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf diffutils armhf 1:3.10-2 [172 kB] 93s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-16ubuntu1 [7890 B] 93s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-16ubuntu1 [53.3 kB] 93s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-16ubuntu1 [40.6 kB] 93s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-16ubuntu1 [711 kB] 93s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 93s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf liblz4-1 armhf 1.10.0-3 [57.2 kB] 93s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 93s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 94s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libzstd1 armhf 1.5.6+dfsg-2 [266 kB] 94s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257.2-3ubuntu1 [42.1 kB] 94s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257.2-3ubuntu1 [315 kB] 94s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257.2-3ubuntu1 [126 kB] 94s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libncurses6 armhf 6.5+20250125-2 [88.8 kB] 94s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libncursesw6 armhf 6.5+20250125-2 [118 kB] 94s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libtinfo6 armhf 6.5+20250125-2 [91.9 kB] 94s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-14ubuntu1 [94.2 kB] 94s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-14ubuntu1 [63.4 kB] 94s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-14ubuntu1 [157 kB] 94s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-14ubuntu1 [169 kB] 94s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-14ubuntu1 [194 kB] 94s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-14ubuntu1 [137 kB] 94s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-14ubuntu1 [41.0 kB] 94s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-14ubuntu1 [1190 kB] 94s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-14ubuntu1 [63.7 kB] 94s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-14ubuntu1 [217 kB] 94s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-14ubuntu1 [158 kB] 94s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 94s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 94s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 94s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt1 armhf 1:4.4.38-1 [91.7 kB] 94s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257.2-3ubuntu1 [2203 kB] 94s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257.2-3ubuntu1 [3028 kB] 94s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257.2-3ubuntu1 [1402 kB] 95s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257.2-3ubuntu1 [11.9 kB] 95s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257.2-3ubuntu1 [164 kB] 95s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257.2-3ubuntu1 [238 kB] 95s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257.2-3ubuntu1 [193 kB] 95s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libapparmor1 armhf 4.1.0~beta1-0ubuntu5 [47.3 kB] 95s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257.2-3ubuntu1 [494 kB] 95s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.28 [1080 kB] 95s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 95s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg armhf 1.22.11ubuntu4 [1242 kB] 95s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf gzip armhf 1.12-1.1ubuntu2 [96.5 kB] 95s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-bin armhf 6.5+20250125-2 [179 kB] 95s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 95s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 95s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 95s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-base all 6.5+20250125-2 [25.8 kB] 95s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-term all 6.5+20250125-2 [276 kB] 95s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.28 [1389 kB] 95s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.28 [214 kB] 95s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 95s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 95s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 95s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu22 [87.5 kB] 95s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu22 [347 kB] 95s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu22 [242 kB] 95s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu22 [159 kB] 95s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu22 [237 kB] 95s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu22 [525 kB] 95s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu22 [116 kB] 95s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu22 [359 kB] 95s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu22 [111 kB] 95s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-8build1 [19.0 kB] 95s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-2 armhf 2.1.28+dfsg1-8build1 [49.9 kB] 95s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libldap-common all 2.6.9+dfsg-1~exp2ubuntu1 [33.2 kB] 95s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf libldap2 armhf 2.6.9+dfsg-1~exp2ubuntu1 [177 kB] 95s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu22 [225 kB] 95s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs-l10n all 1.47.2-1ubuntu1 [7030 B] 95s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf logsave armhf 1.47.2-1ubuntu1 [25.7 kB] 95s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-minimal armhf 1.545 [11.3 kB] 95s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools all 0.145ubuntu2 [7948 B] 95s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-core all 0.145ubuntu2 [51.5 kB] 95s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libext2fs2t64 armhf 1.47.2-1ubuntu1 [207 kB] 95s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs armhf 1.47.2-1ubuntu1 [588 kB] 95s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup-linux all 1.226ubuntu3 [1880 kB] 95s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup all 1.226ubuntu3 [110 kB] 95s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf keyboard-configuration all 1.226ubuntu3 [212 kB] 95s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf dhcpcd-base armhf 1:10.1.0-6 [188 kB] 95s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 95s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 96s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 96s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf login armhf 1:4.16.0-2+really2.40.2-14ubuntu1 [85.0 kB] 96s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf mawk armhf 1.3.4.20250131-1 [119 kB] 96s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf netcat-openbsd armhf 1.228-1 [42.4 kB] 96s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.2-1 [868 kB] 96s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.2-1 [2012 kB] 96s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 96s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 96s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 96s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 96s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-6ubuntu1 [197 kB] 96s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.2-1 [1969 kB] 96s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.2-1 [734 kB] 96s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 96s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-4 [25.3 kB] 96s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.83.3-2 [184 kB] 96s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-4 [109 kB] 96s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.83.3-2 [52.7 kB] 96s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.83.3-2 [92.7 kB] 96s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.83.3-2 [1452 kB] 96s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf netplan-generator armhf 1.1.2-2ubuntu1 [60.8 kB] 96s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 96s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf python3-netplan armhf 1.1.2-2ubuntu1 [24.2 kB] 96s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf netplan.io armhf 1.1.2-2ubuntu1 [67.7 kB] 96s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf libnetplan1 armhf 1.1.2-2ubuntu1 [123 kB] 96s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 96s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage-common all 3.7-2.1 [7198 B] 96s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage2 armhf 3.7-2.1 [85.4 kB] 96s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf passwd armhf 1:4.16.0-7ubuntu1 [1041 kB] 97s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 97s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 97s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 97s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 97s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-bin armhf 0.145ubuntu2 [24.5 kB] 97s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-initramfs armhf 1:1.37.0-4ubuntu1 [188 kB] 97s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.9-1 [671 kB] 97s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.9-1 [1946 kB] 97s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.9-1 [2012 kB] 97s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.9-1 [825 kB] 97s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-4 [421 kB] 97s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.8 [21.1 kB] 97s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.8 [174 kB] 97s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf python3-lazr.uri all 1.0.6-5 [13.6 kB] 97s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf python3-launchpadlib all 2.1.0-1 [126 kB] 97s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu5 [25.5 kB] 97s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu5 [93.1 kB] 97s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gi armhf 3.50.0-4 [260 kB] 97s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu5 [18.4 kB] 97s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu5 [83.0 kB] 97s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 97s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 97s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf libcom-err2 armhf 1.47.2-1ubuntu1 [25.6 kB] 97s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf libss2 armhf 1.47.2-1ubuntu1 [15.6 kB] 97s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 97s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf ca-certificates all 20241223 [165 kB] 97s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf distro-info armhf 1.13 [19.1 kB] 97s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf krb5-locales all 1.21.3-4ubuntu1 [14.7 kB] 97s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 97s Get:143 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 97s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf libgssapi-krb5-2 armhf 1.21.3-4ubuntu1 [121 kB] 97s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5-3 armhf 1.21.3-4ubuntu1 [314 kB] 97s Get:146 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5support0 armhf 1.21.3-4ubuntu1 [31.8 kB] 97s Get:147 http://ftpmaster.internal/ubuntu plucky/main armhf libk5crypto3 armhf 1.21.3-4ubuntu1 [78.6 kB] 97s Get:148 http://ftpmaster.internal/ubuntu plucky/main armhf libicu74 armhf 74.2-1ubuntu6 [10.5 MB] 98s Get:149 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2ubuntu3 [599 kB] 98s Get:150 http://ftpmaster.internal/ubuntu plucky/main armhf iptables armhf 1.8.11-2ubuntu1 [342 kB] 98s Get:151 http://ftpmaster.internal/ubuntu plucky/main armhf libip4tc2 armhf 1.8.11-2ubuntu1 [21.7 kB] 98s Get:152 http://ftpmaster.internal/ubuntu plucky/main armhf libip6tc2 armhf 1.8.11-2ubuntu1 [22.1 kB] 98s Get:153 http://ftpmaster.internal/ubuntu plucky/main armhf libxtables12 armhf 1.8.11-2ubuntu1 [33.0 kB] 98s Get:154 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 98s Get:155 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0049 [43.3 kB] 98s Get:156 http://ftpmaster.internal/ubuntu plucky/main armhf rsyslog armhf 8.2406.0-1ubuntu3 [467 kB] 98s Get:157 http://ftpmaster.internal/ubuntu plucky/main armhf apparmor armhf 4.1.0~beta1-0ubuntu5 [589 kB] 98s Get:158 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-7 [214 kB] 98s Get:159 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-dnsutils armhf 1:9.20.0-2ubuntu4 [155 kB] 98s Get:160 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-host armhf 1:9.20.0-2ubuntu4 [46.2 kB] 98s Get:161 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-libs armhf 1:9.20.0-2ubuntu4 [1176 kB] 98s Get:162 http://ftpmaster.internal/ubuntu plucky/main armhf libedit2 armhf 3.1-20250104-1 [79.3 kB] 98s Get:163 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-static armhf 1:1.37.0-4ubuntu1 [857 kB] 98s Get:164 http://ftpmaster.internal/ubuntu plucky/main armhf libdevmapper1.02.1 armhf 2:1.02.201-1ubuntu1 [137 kB] 98s Get:165 http://ftpmaster.internal/ubuntu plucky/main armhf dmsetup armhf 2:1.02.201-1ubuntu1 [80.4 kB] 98s Get:166 http://ftpmaster.internal/ubuntu plucky/main armhf ed armhf 1.21-1 [52.8 kB] 98s Get:167 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.23.1-1 [43.3 kB] 98s Get:168 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 98s Get:169 http://ftpmaster.internal/ubuntu plucky/main armhf libibverbs1 armhf 55.0-1ubuntu1 [58.5 kB] 98s Get:170 http://ftpmaster.internal/ubuntu plucky/main armhf ibverbs-providers armhf 55.0-1ubuntu1 [27.6 kB] 98s Get:171 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 98s Get:172 http://ftpmaster.internal/ubuntu plucky/main armhf libpcap0.8t64 armhf 1.10.5-2ubuntu1 [140 kB] 98s Get:173 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.46-4 [171 kB] 98s Get:174 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 98s Get:175 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 98s Get:176 http://ftpmaster.internal/ubuntu plucky/main armhf libusb-1.0-0 armhf 2:1.0.27-2 [49.5 kB] 98s Get:177 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 98s Get:178 http://ftpmaster.internal/ubuntu plucky/main armhf nano armhf 8.3-1 [277 kB] 98s Get:179 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2025.02.05-1 [284 kB] 98s Get:180 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20250108.1153-0.1 [134 kB] 98s Get:181 http://ftpmaster.internal/ubuntu plucky/main armhf python3-distro-info all 1.13 [7798 B] 98s Get:182 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.2-1 [30.2 kB] 98s Get:183 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.9-1 [29.3 kB] 98s Get:184 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 98s Get:185 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-standard armhf 1.545 [11.3 kB] 98s Get:186 http://ftpmaster.internal/ubuntu plucky/main armhf ufw all 0.36.2-9 [170 kB] 98s Get:187 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2025.01.14-1 [223 kB] 98s Get:188 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 98s Get:189 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 98s Get:190 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 98s Get:191 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 98s Get:192 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.44-1ubuntu1 [74.4 kB] 98s Get:193 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.44-1ubuntu1 [77.6 kB] 98s Get:194 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.44-1ubuntu1 [995 kB] 98s Get:195 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.44-1ubuntu1 [405 kB] 98s Get:196 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.44-1ubuntu1 [3238 B] 98s Get:197 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.44-1ubuntu1 [216 kB] 98s Get:198 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.44-1ubuntu1 [12.5 kB] 98s Get:199 http://ftpmaster.internal/ubuntu plucky/main armhf btrfs-progs armhf 6.12-1build1 [884 kB] 98s Get:200 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.5-2 [109 kB] 98s Get:201 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 98s Get:202 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 98s Get:203 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 25.1.0-1 [50.4 kB] 99s Get:204 http://ftpmaster.internal/ubuntu plucky/main armhf python3-referencing all 0.35.1-2ubuntu1 [21.9 kB] 99s Get:205 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonschema all 4.19.2-6ubuntu1 [65.5 kB] 99s Get:206 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jwt all 2.10.1-2 [21.0 kB] 99s Get:207 http://ftpmaster.internal/ubuntu plucky/main armhf python3-oauthlib all 3.2.2-3 [89.9 kB] 99s Get:208 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init-base all 25.1~3geb1965a4-0ubuntu1 [615 kB] 99s Get:209 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 99s Get:210 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 99s Get:211 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-dev all 1.22.11ubuntu4 [1088 kB] 99s Get:212 http://ftpmaster.internal/ubuntu plucky/main armhf libdpkg-perl all 1.22.11ubuntu4 [279 kB] 99s Get:213 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 99s Get:214 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive13t64 armhf 3.7.7-0ubuntu1 [335 kB] 99s Get:215 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 99s Get:216 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 99s Get:217 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.5-1 [5151 kB] 99s Get:218 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.5-1 [125 kB] 99s Get:219 http://ftpmaster.internal/ubuntu plucky/main armhf polkitd armhf 126-2 [92.5 kB] 99s Get:220 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-agent-1-0 armhf 126-2 [15.1 kB] 99s Get:221 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-gobject-1-0 armhf 126-2 [45.0 kB] 99s Get:222 http://ftpmaster.internal/ubuntu plucky/main armhf libprotobuf-c1 armhf 1.5.1-1ubuntu1 [18.1 kB] 99s Get:223 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 99s Get:224 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 99s Get:225 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu22 [66.4 kB] 99s Get:226 http://ftpmaster.internal/ubuntu plucky/main armhf htop armhf 3.3.0-5 [140 kB] 99s Get:227 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 99s Get:228 http://ftpmaster.internal/ubuntu plucky/main armhf libgpgme11t64 armhf 1.24.1-4ubuntu1 [125 kB] 99s Get:229 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.25.1-1 [1160 kB] 99s Get:230 http://ftpmaster.internal/ubuntu plucky/main armhf libgudev-1.0-0 armhf 1:238-6 [13.7 kB] 99s Get:231 http://ftpmaster.internal/ubuntu plucky/main armhf libicu76 armhf 76.1-1ubuntu2 [10.8 MB] 100s Get:232 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 100s Get:233 http://ftpmaster.internal/ubuntu plucky/main armhf libnvme1t64 armhf 1.11.1-1build1 [73.6 kB] 100s Get:234 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules armhf 2.1.28+dfsg1-8build1 [62.7 kB] 100s Get:235 http://ftpmaster.internal/ubuntu plucky/main armhf udisks2 armhf 2.10.1-11ubuntu2 [278 kB] 100s Get:236 http://ftpmaster.internal/ubuntu plucky/main armhf libudisks2-0 armhf 2.10.1-11ubuntu2 [142 kB] 100s Get:237 http://ftpmaster.internal/ubuntu plucky/main armhf libvolume-key1 armhf 0.3.12-9 [39.1 kB] 100s Get:238 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-35 [45.6 kB] 100s Get:239 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15 all 6.12.0-15.15 [14.1 MB] 100s Get:240 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15-generic armhf 6.12.0-15.15 [1414 kB] 100s Get:241 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-generic armhf 6.12.0-15.15+1 [10.8 kB] 100s Get:242 http://ftpmaster.internal/ubuntu plucky/main armhf pollinate all 4.33-4ubuntu2 [12.4 kB] 100s Get:243 http://ftpmaster.internal/ubuntu plucky/main armhf python3-babel all 2.17.0-1 [101 kB] 100s Get:244 http://ftpmaster.internal/ubuntu plucky/main armhf python-babel-localedata all 2.17.0-1 [6678 kB] 101s Get:245 http://ftpmaster.internal/ubuntu plucky/main armhf python3-certifi all 2024.12.14+ds-1 [9800 B] 101s Get:246 http://ftpmaster.internal/ubuntu plucky/main armhf python3-chardet all 5.2.0+dfsg-2 [116 kB] 101s Get:247 http://ftpmaster.internal/ubuntu plucky/main armhf python3-idna all 3.10-1 [47.4 kB] 101s Get:248 http://ftpmaster.internal/ubuntu plucky/main armhf python3-more-itertools all 10.6.0-1 [57.7 kB] 101s Get:249 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 25.0.0-1 [46.1 kB] 101s Get:250 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 101s Get:251 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 101s Get:252 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 101s Get:253 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 101s Get:254 http://ftpmaster.internal/ubuntu plucky/main armhf python3-urllib3 all 2.3.0-1 [94.0 kB] 101s Get:255 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 101s Get:256 http://ftpmaster.internal/ubuntu plucky/main armhf xfsprogs armhf 6.8.0-2.2ubuntu3 [893 kB] 101s Get:257 http://ftpmaster.internal/ubuntu plucky/main armhf zstd armhf 1.5.6+dfsg-2 [690 kB] 101s Get:258 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init all 25.1~3geb1965a4-0ubuntu1 [2102 B] 101s Get:259 http://ftpmaster.internal/ubuntu plucky/main armhf kpartx armhf 0.9.9-1ubuntu4 [35.0 kB] 101s Get:260 http://ftpmaster.internal/ubuntu plucky/main armhf multipath-tools armhf 0.9.9-1ubuntu4 [294 kB] 102s Preconfiguring packages ... 104s Fetched 126 MB in 9s (13.9 MB/s) 104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 104s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 104s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 104s Setting up bash (5.2.37-1ubuntu1) ... 104s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 104s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_armhf.deb ... 104s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu1) ... 105s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 105s Preparing to unpack .../diffutils_1%3a3.10-2_armhf.deb ... 105s Unpacking diffutils (1:3.10-2) over (1:3.10-1build1) ... 105s Setting up diffutils (1:3.10-2) ... 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 105s Preparing to unpack .../libatomic1_14.2.0-16ubuntu1_armhf.deb ... 105s Unpacking libatomic1:armhf (14.2.0-16ubuntu1) over (14.2.0-8ubuntu1) ... 105s Preparing to unpack .../gcc-14-base_14.2.0-16ubuntu1_armhf.deb ... 105s Unpacking gcc-14-base:armhf (14.2.0-16ubuntu1) over (14.2.0-8ubuntu1) ... 105s Setting up gcc-14-base:armhf (14.2.0-16ubuntu1) ... 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 105s Preparing to unpack .../libgcc-s1_14.2.0-16ubuntu1_armhf.deb ... 105s Unpacking libgcc-s1:armhf (14.2.0-16ubuntu1) over (14.2.0-8ubuntu1) ... 105s Setting up libgcc-s1:armhf (14.2.0-16ubuntu1) ... 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 105s Preparing to unpack .../libstdc++6_14.2.0-16ubuntu1_armhf.deb ... 105s Unpacking libstdc++6:armhf (14.2.0-16ubuntu1) over (14.2.0-8ubuntu1) ... 105s Setting up libstdc++6:armhf (14.2.0-16ubuntu1) ... 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 105s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 105s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 106s Setting up libc6:armhf (2.40-4ubuntu1) ... 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 106s Preparing to unpack .../liblz4-1_1.10.0-3_armhf.deb ... 106s Unpacking liblz4-1:armhf (1.10.0-3) over (1.9.4-3) ... 106s Setting up liblz4-1:armhf (1.10.0-3) ... 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 106s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 106s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 106s Selecting previously unselected package openssl-provider-legacy. 106s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 106s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 106s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 106s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59973 files and directories currently installed.) 106s Preparing to unpack .../libzstd1_1.5.6+dfsg-2_armhf.deb ... 106s Unpacking libzstd1:armhf (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 106s Setting up libzstd1:armhf (1.5.6+dfsg-2) ... 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59973 files and directories currently installed.) 106s Preparing to unpack .../0-systemd-timesyncd_257.2-3ubuntu1_armhf.deb ... 106s Unpacking systemd-timesyncd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 106s Preparing to unpack .../1-systemd-resolved_257.2-3ubuntu1_armhf.deb ... 106s Unpacking systemd-resolved (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 106s Preparing to unpack .../2-systemd-cryptsetup_257.2-3ubuntu1_armhf.deb ... 106s Unpacking systemd-cryptsetup (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 107s Preparing to unpack .../3-libncurses6_6.5+20250125-2_armhf.deb ... 107s Unpacking libncurses6:armhf (6.5+20250125-2) over (6.5-2) ... 107s Preparing to unpack .../4-libncursesw6_6.5+20250125-2_armhf.deb ... 107s Unpacking libncursesw6:armhf (6.5+20250125-2) over (6.5-2) ... 107s Preparing to unpack .../5-libtinfo6_6.5+20250125-2_armhf.deb ... 107s Unpacking libtinfo6:armhf (6.5+20250125-2) over (6.5-2) ... 107s Setting up libtinfo6:armhf (6.5+20250125-2) ... 107s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 107s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_armhf.deb ... 107s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 107s Preparing to unpack .../eject_2.40.2-14ubuntu1_armhf.deb ... 107s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 107s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_armhf.deb ... 107s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 107s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_armhf.deb ... 107s Unpacking libblkid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 107s Setting up libblkid1:armhf (2.40.2-14ubuntu1) ... 107s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 107s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_armhf.deb ... 107s Unpacking libmount1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 107s Setting up libmount1:armhf (2.40.2-14ubuntu1) ... 107s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 107s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_armhf.deb ... 107s Unpacking libsmartcols1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 107s Setting up libsmartcols1:armhf (2.40.2-14ubuntu1) ... 107s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 107s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_armhf.deb ... 107s Unpacking libuuid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 107s Setting up libuuid1:armhf (2.40.2-14ubuntu1) ... 107s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 107s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_armhf.deb ... 107s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 108s Setting up util-linux (2.40.2-14ubuntu1) ... 108s fstrim.service is a disabled or a static unit not running, not starting it. 108s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59963 files and directories currently installed.) 108s Preparing to unpack .../0-uuid-runtime_2.40.2-14ubuntu1_armhf.deb ... 108s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 109s Preparing to unpack .../1-libfdisk1_2.40.2-14ubuntu1_armhf.deb ... 109s Unpacking libfdisk1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 109s Preparing to unpack .../2-mount_2.40.2-14ubuntu1_armhf.deb ... 109s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 109s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 109s Unpacking readline-common (8.2-6) over (8.2-5) ... 109s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 109s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 109s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 109s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 109s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 109s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 109s Preparing to unpack .../5-libselinux1_3.7-3ubuntu2_armhf.deb ... 109s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 109s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59963 files and directories currently installed.) 109s Preparing to unpack .../libcrypt1_1%3a4.4.38-1_armhf.deb ... 109s Unpacking libcrypt1:armhf (1:4.4.38-1) over (1:4.4.36-5) ... 109s Setting up libcrypt1:armhf (1:4.4.38-1) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59963 files and directories currently installed.) 109s Preparing to unpack .../libsystemd-shared_257.2-3ubuntu1_armhf.deb ... 109s Unpacking libsystemd-shared:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 109s Setting up libsystemd-shared:armhf (257.2-3ubuntu1) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59963 files and directories currently installed.) 109s Preparing to unpack .../systemd_257.2-3ubuntu1_armhf.deb ... 109s Unpacking systemd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 110s Preparing to unpack .../udev_257.2-3ubuntu1_armhf.deb ... 110s Unpacking udev (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 110s Preparing to unpack .../libsystemd0_257.2-3ubuntu1_armhf.deb ... 110s Unpacking libsystemd0:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 110s Setting up libsystemd0:armhf (257.2-3ubuntu1) ... 110s Setting up mount (2.40.2-14ubuntu1) ... 110s Setting up systemd (257.2-3ubuntu1) ... 110s Installing new version of config file /etc/systemd/logind.conf ... 110s Installing new version of config file /etc/systemd/sleep.conf ... 110s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 110s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 110s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59957 files and directories currently installed.) 111s Preparing to unpack .../systemd-sysv_257.2-3ubuntu1_armhf.deb ... 111s Unpacking systemd-sysv (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 111s Preparing to unpack .../libnss-systemd_257.2-3ubuntu1_armhf.deb ... 111s Unpacking libnss-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 111s Preparing to unpack .../libpam-systemd_257.2-3ubuntu1_armhf.deb ... 111s Unpacking libpam-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 111s Preparing to unpack .../libudev1_257.2-3ubuntu1_armhf.deb ... 111s Unpacking libudev1:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 111s Setting up libudev1:armhf (257.2-3ubuntu1) ... 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59957 files and directories currently installed.) 111s Preparing to unpack .../libapparmor1_4.1.0~beta1-0ubuntu5_armhf.deb ... 111s Unpacking libapparmor1:armhf (4.1.0~beta1-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 111s Preparing to unpack .../libapt-pkg6.0t64_2.9.28_armhf.deb ... 111s Unpacking libapt-pkg6.0t64:armhf (2.9.28) over (2.9.14ubuntu1) ... 111s Setting up libapt-pkg6.0t64:armhf (2.9.28) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59957 files and directories currently installed.) 112s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 112s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 112s Setting up tar (1.35+dfsg-3.1) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59957 files and directories currently installed.) 112s Preparing to unpack .../dpkg_1.22.11ubuntu4_armhf.deb ... 112s Unpacking dpkg (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 112s Setting up dpkg (1.22.11ubuntu4) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59957 files and directories currently installed.) 112s Preparing to unpack .../gzip_1.12-1.1ubuntu2_armhf.deb ... 112s Unpacking gzip (1.12-1.1ubuntu2) over (1.12-1.1ubuntu1) ... 112s Setting up gzip (1.12-1.1ubuntu2) ... 113s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59957 files and directories currently installed.) 113s Preparing to unpack .../ncurses-bin_6.5+20250125-2_armhf.deb ... 113s Unpacking ncurses-bin (6.5+20250125-2) over (6.5-2) ... 113s Setting up ncurses-bin (6.5+20250125-2) ... 113s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59957 files and directories currently installed.) 113s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 113s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 113s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 113s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59957 files and directories currently installed.) 113s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 113s Unpacking base-passwd (3.6.6) over (3.6.5) ... 113s Setting up base-passwd (3.6.6) ... 113s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59957 files and directories currently installed.) 113s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 113s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 113s Setting up libc-bin (2.40-4ubuntu1) ... 113s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59957 files and directories currently installed.) 113s Preparing to unpack .../ncurses-base_6.5+20250125-2_all.deb ... 113s Unpacking ncurses-base (6.5+20250125-2) over (6.5-2) ... 114s Setting up ncurses-base (6.5+20250125-2) ... 114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59957 files and directories currently installed.) 114s Preparing to unpack .../ncurses-term_6.5+20250125-2_all.deb ... 114s Unpacking ncurses-term (6.5+20250125-2) over (6.5-2) ... 114s Preparing to unpack .../archives/apt_2.9.28_armhf.deb ... 114s Unpacking apt (2.9.28) over (2.9.14ubuntu1) ... 115s Setting up apt (2.9.28) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 115s Preparing to unpack .../apt-utils_2.9.28_armhf.deb ... 115s Unpacking apt-utils (2.9.28) over (2.9.14ubuntu1) ... 115s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 115s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 115s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 115s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 116s Setting up libgpg-error0:armhf (1.51-3) ... 116s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 116s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 116s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 116s Setting up libnpth0t64:armhf (1.8-2) ... 116s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 116s Preparing to unpack .../00-gpg-wks-client_2.4.4-2ubuntu22_armhf.deb ... 116s Unpacking gpg-wks-client (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 116s Preparing to unpack .../01-dirmngr_2.4.4-2ubuntu22_armhf.deb ... 116s Unpacking dirmngr (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 116s Preparing to unpack .../02-gpgsm_2.4.4-2ubuntu22_armhf.deb ... 116s Unpacking gpgsm (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 116s Preparing to unpack .../03-gnupg-utils_2.4.4-2ubuntu22_armhf.deb ... 116s Unpacking gnupg-utils (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 116s Preparing to unpack .../04-gpg-agent_2.4.4-2ubuntu22_armhf.deb ... 116s Unpacking gpg-agent (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 116s Preparing to unpack .../05-gpg_2.4.4-2ubuntu22_armhf.deb ... 116s Unpacking gpg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 116s Preparing to unpack .../06-gpgconf_2.4.4-2ubuntu22_armhf.deb ... 116s Unpacking gpgconf (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 116s Preparing to unpack .../07-gnupg_2.4.4-2ubuntu22_all.deb ... 116s Unpacking gnupg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 116s Preparing to unpack .../08-keyboxd_2.4.4-2ubuntu22_armhf.deb ... 116s Unpacking keyboxd (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 116s Preparing to unpack .../09-libsasl2-modules-db_2.1.28+dfsg1-8build1_armhf.deb ... 116s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 116s Preparing to unpack .../10-libsasl2-2_2.1.28+dfsg1-8build1_armhf.deb ... 116s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 116s Preparing to unpack .../11-libldap-common_2.6.9+dfsg-1~exp2ubuntu1_all.deb ... 116s Unpacking libldap-common (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 117s Preparing to unpack .../12-libldap2_2.6.9+dfsg-1~exp2ubuntu1_armhf.deb ... 117s Unpacking libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 117s Preparing to unpack .../13-gpgv_2.4.4-2ubuntu22_armhf.deb ... 117s Unpacking gpgv (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 117s Setting up gpgv (2.4.4-2ubuntu22) ... 117s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59965 files and directories currently installed.) 117s Preparing to unpack .../0-e2fsprogs-l10n_1.47.2-1ubuntu1_all.deb ... 117s Unpacking e2fsprogs-l10n (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 117s Preparing to unpack .../1-logsave_1.47.2-1ubuntu1_armhf.deb ... 117s Unpacking logsave (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 117s Preparing to unpack .../2-ubuntu-minimal_1.545_armhf.deb ... 117s Unpacking ubuntu-minimal (1.545) over (1.544) ... 117s Preparing to unpack .../3-initramfs-tools_0.145ubuntu2_all.deb ... 117s Unpacking initramfs-tools (0.145ubuntu2) over (0.142ubuntu35) ... 117s Preparing to unpack .../4-initramfs-tools-core_0.145ubuntu2_all.deb ... 117s Unpacking initramfs-tools-core (0.145ubuntu2) over (0.142ubuntu35) ... 117s Preparing to unpack .../5-libext2fs2t64_1.47.2-1ubuntu1_armhf.deb ... 117s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 117s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 117s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 117s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 117s Unpacking libext2fs2t64:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 117s Setting up libext2fs2t64:armhf (1.47.2-1ubuntu1) ... 117s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59965 files and directories currently installed.) 117s Preparing to unpack .../0-e2fsprogs_1.47.2-1ubuntu1_armhf.deb ... 117s Unpacking e2fsprogs (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 117s Preparing to unpack .../1-console-setup-linux_1.226ubuntu3_all.deb ... 117s Unpacking console-setup-linux (1.226ubuntu3) over (1.226ubuntu2) ... 117s Preparing to unpack .../2-console-setup_1.226ubuntu3_all.deb ... 117s Unpacking console-setup (1.226ubuntu3) over (1.226ubuntu2) ... 117s Preparing to unpack .../3-keyboard-configuration_1.226ubuntu3_all.deb ... 117s Unpacking keyboard-configuration (1.226ubuntu3) over (1.226ubuntu2) ... 117s Preparing to unpack .../4-dhcpcd-base_1%3a10.1.0-6_armhf.deb ... 117s Unpacking dhcpcd-base (1:10.1.0-6) over (1:10.1.0-2) ... 118s Preparing to unpack .../5-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 118s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 118s Preparing to unpack .../6-locales_2.40-4ubuntu1_all.deb ... 118s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 118s Selecting previously unselected package login.defs. 118s Preparing to unpack .../7-login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 118s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 118s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 118s Setting up login.defs (1:4.16.0-7ubuntu1) ... 118s Installing new version of config file /etc/login.defs ... 118s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59968 files and directories currently installed.) 118s Preparing to unpack .../0-login_1%3a4.16.0-2+really2.40.2-14ubuntu1_armhf.deb ... 118s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 118s Preparing to unpack .../1-mawk_1.3.4.20250131-1_armhf.deb ... 118s Unpacking mawk (1.3.4.20250131-1) over (1.3.4.20240905-1) ... 118s Preparing to unpack .../2-netcat-openbsd_1.228-1_armhf.deb ... 118s Unpacking netcat-openbsd (1.228-1) over (1.226-1.1) ... 118s Selecting previously unselected package libpython3.13-minimal:armhf. 118s Preparing to unpack .../3-libpython3.13-minimal_3.13.2-1_armhf.deb ... 118s Unpacking libpython3.13-minimal:armhf (3.13.2-1) ... 118s Selecting previously unselected package python3.13-minimal. 118s Preparing to unpack .../4-python3.13-minimal_3.13.2-1_armhf.deb ... 118s Unpacking python3.13-minimal (3.13.2-1) ... 118s Preparing to unpack .../5-python3-cryptography_43.0.0-1_armhf.deb ... 119s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 119s Setting up libpython3.13-minimal:armhf (3.13.2-1) ... 119s Setting up python3.13-minimal (3.13.2-1) ... 120s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60250 files and directories currently installed.) 120s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 120s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 120s Setting up python3-minimal (3.13.1-1~exp2) ... 120s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60250 files and directories currently installed.) 120s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 120s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 120s Selecting previously unselected package python3-bcrypt. 120s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 120s Unpacking python3-bcrypt (4.2.0-2.1) ... 120s Preparing to unpack .../02-tzdata_2024b-6ubuntu1_all.deb ... 120s Unpacking tzdata (2024b-6ubuntu1) over (2024b-1ubuntu2) ... 121s Selecting previously unselected package libpython3.13-stdlib:armhf. 121s Preparing to unpack .../03-libpython3.13-stdlib_3.13.2-1_armhf.deb ... 121s Unpacking libpython3.13-stdlib:armhf (3.13.2-1) ... 121s Selecting previously unselected package python3.13. 121s Preparing to unpack .../04-python3.13_3.13.2-1_armhf.deb ... 121s Unpacking python3.13 (3.13.2-1) ... 121s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 121s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 121s Preparing to unpack .../06-gir1.2-girepository-2.0_1.82.0-4_armhf.deb ... 121s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-4) over (1.82.0-2) ... 121s Preparing to unpack .../07-gir1.2-glib-2.0_2.83.3-2_armhf.deb ... 121s Unpacking gir1.2-glib-2.0:armhf (2.83.3-2) over (2.82.2-3) ... 121s Preparing to unpack .../08-libgirepository-1.0-1_1.82.0-4_armhf.deb ... 121s Unpacking libgirepository-1.0-1:armhf (1.82.0-4) over (1.82.0-2) ... 121s Preparing to unpack .../09-libglib2.0-data_2.83.3-2_all.deb ... 121s Unpacking libglib2.0-data (2.83.3-2) over (2.82.2-3) ... 121s Preparing to unpack .../10-libglib2.0-bin_2.83.3-2_armhf.deb ... 121s Unpacking libglib2.0-bin (2.83.3-2) over (2.82.2-3) ... 121s Preparing to unpack .../11-libglib2.0-0t64_2.83.3-2_armhf.deb ... 121s Unpacking libglib2.0-0t64:armhf (2.83.3-2) over (2.82.2-3) ... 121s Preparing to unpack .../12-netplan-generator_1.1.2-2ubuntu1_armhf.deb ... 121s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 121s Unpacking netplan-generator (1.1.2-2ubuntu1) over (1.1.1-1) ... 121s Preparing to unpack .../13-libyaml-0-2_0.2.5-2_armhf.deb ... 121s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 121s Preparing to unpack .../14-python3-netplan_1.1.2-2ubuntu1_armhf.deb ... 121s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 121s for fn in glob1(directory, "%s.*" % fname): 121s Unpacking python3-netplan (1.1.2-2ubuntu1) over (1.1.1-1) ... 122s Preparing to unpack .../15-netplan.io_1.1.2-2ubuntu1_armhf.deb ... 122s Unpacking netplan.io (1.1.2-2ubuntu1) over (1.1.1-1) ... 122s Preparing to unpack .../16-libnetplan1_1.1.2-2ubuntu1_armhf.deb ... 122s Unpacking libnetplan1:armhf (1.1.2-2ubuntu1) over (1.1.1-1) ... 122s Preparing to unpack .../17-ethtool_1%3a6.11-1_armhf.deb ... 122s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 122s Preparing to unpack .../18-libsemanage-common_3.7-2.1_all.deb ... 122s Unpacking libsemanage-common (3.7-2.1) over (3.7-2build1) ... 122s Setting up libsemanage-common (3.7-2.1) ... 122s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60673 files and directories currently installed.) 122s Preparing to unpack .../libsemanage2_3.7-2.1_armhf.deb ... 122s Unpacking libsemanage2:armhf (3.7-2.1) over (3.7-2build1) ... 122s Setting up libsemanage2:armhf (3.7-2.1) ... 122s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60673 files and directories currently installed.) 122s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_armhf.deb ... 122s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 122s Setting up passwd (1:4.16.0-7ubuntu1) ... 122s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60708 files and directories currently installed.) 122s Preparing to unpack .../00-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 122s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 122s for fn in glob1(directory, "%s.*" % fname): 122s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 122s Preparing to unpack .../01-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 122s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 122s Preparing to unpack .../02-whiptail_0.52.24-4ubuntu1_armhf.deb ... 122s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 122s Preparing to unpack .../03-dracut-install_105-2ubuntu5_armhf.deb ... 122s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 123s Preparing to unpack .../04-initramfs-tools-bin_0.145ubuntu2_armhf.deb ... 123s Unpacking initramfs-tools-bin (0.145ubuntu2) over (0.142ubuntu35) ... 123s Preparing to unpack .../05-busybox-initramfs_1%3a1.37.0-4ubuntu1_armhf.deb ... 123s Unpacking busybox-initramfs (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 123s Preparing to unpack .../06-python3.12_3.12.9-1_armhf.deb ... 123s Unpacking python3.12 (3.12.9-1) over (3.12.7-3) ... 123s Preparing to unpack .../07-libpython3.12-stdlib_3.12.9-1_armhf.deb ... 123s Unpacking libpython3.12-stdlib:armhf (3.12.9-1) over (3.12.7-3) ... 123s Preparing to unpack .../08-python3.12-minimal_3.12.9-1_armhf.deb ... 123s Unpacking python3.12-minimal (3.12.9-1) over (3.12.7-3) ... 123s Preparing to unpack .../09-libpython3.12-minimal_3.12.9-1_armhf.deb ... 123s Unpacking libpython3.12-minimal:armhf (3.12.9-1) over (3.12.7-3) ... 123s Preparing to unpack .../10-rsync_3.3.0+ds1-4_armhf.deb ... 123s Unpacking rsync (3.3.0+ds1-4) over (3.3.0-1) ... 123s Preparing to unpack .../11-python-apt-common_2.9.8_all.deb ... 123s Unpacking python-apt-common (2.9.8) over (2.9.0ubuntu2) ... 123s Preparing to unpack .../12-python3-apt_2.9.8_armhf.deb ... 123s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 123s for fn in glob1(directory, "%s.*" % fname): 123s Unpacking python3-apt (2.9.8) over (2.9.0ubuntu2) ... 124s Preparing to unpack .../13-python3-lazr.uri_1.0.6-5_all.deb ... 124s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 124s for fn in glob1(directory, "%s.*" % fname): 124s Unpacking python3-lazr.uri (1.0.6-5) over (1.0.6-4) ... 124s Preparing to unpack .../14-python3-launchpadlib_2.1.0-1_all.deb ... 124s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 124s for fn in glob1(directory, "%s.*" % fname): 124s Unpacking python3-launchpadlib (2.1.0-1) over (2.0.0-1) ... 124s Preparing to unpack .../15-python3-problem-report_2.31.0-0ubuntu5_all.deb ... 124s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 124s for fn in glob1(directory, "%s.*" % fname): 124s Unpacking python3-problem-report (2.31.0-0ubuntu5) over (2.30.0-0ubuntu5) ... 124s Preparing to unpack .../16-python3-apport_2.31.0-0ubuntu5_all.deb ... 124s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 124s for fn in glob1(directory, "%s.*" % fname): 124s Unpacking python3-apport (2.31.0-0ubuntu5) over (2.30.0-0ubuntu5) ... 124s Preparing to unpack .../17-python3-gi_3.50.0-4_armhf.deb ... 124s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 124s for fn in glob1(directory, "%s.*" % fname): 124s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 124s Preparing to unpack .../18-apport-core-dump-handler_2.31.0-0ubuntu5_all.deb ... 124s Unpacking apport-core-dump-handler (2.31.0-0ubuntu5) over (2.30.0-0ubuntu5) ... 124s Preparing to unpack .../19-apport_2.31.0-0ubuntu5_all.deb ... 124s Unpacking apport (2.31.0-0ubuntu5) over (2.30.0-0ubuntu5) ... 125s Preparing to unpack .../20-libcap-ng0_0.8.5-4_armhf.deb ... 125s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 125s Setting up libcap-ng0:armhf (0.8.5-4) ... 125s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60707 files and directories currently installed.) 125s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 125s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 125s Setting up libunistring5:armhf (1.3-1) ... 125s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60707 files and directories currently installed.) 125s Preparing to unpack .../000-libcom-err2_1.47.2-1ubuntu1_armhf.deb ... 125s Unpacking libcom-err2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 125s Preparing to unpack .../001-libss2_1.47.2-1ubuntu1_armhf.deb ... 125s Unpacking libss2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 125s Preparing to unpack .../002-openssl_3.4.0-1ubuntu2_armhf.deb ... 125s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 125s Preparing to unpack .../003-ca-certificates_20241223_all.deb ... 125s Unpacking ca-certificates (20241223) over (20240203) ... 125s Preparing to unpack .../004-distro-info_1.13_armhf.deb ... 125s Unpacking distro-info (1.13) over (1.12) ... 125s Preparing to unpack .../005-krb5-locales_1.21.3-4ubuntu1_all.deb ... 125s Unpacking krb5-locales (1.21.3-4ubuntu1) over (1.21.3-3) ... 125s Preparing to unpack .../006-libbpf1_1%3a1.5.0-2_armhf.deb ... 125s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 125s Preparing to unpack .../007-libfribidi0_1.0.16-1_armhf.deb ... 125s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 125s Preparing to unpack .../008-libgssapi-krb5-2_1.21.3-4ubuntu1_armhf.deb ... 125s Unpacking libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 125s Preparing to unpack .../009-libkrb5-3_1.21.3-4ubuntu1_armhf.deb ... 125s Unpacking libkrb5-3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 125s Preparing to unpack .../010-libkrb5support0_1.21.3-4ubuntu1_armhf.deb ... 125s Unpacking libkrb5support0:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 125s Preparing to unpack .../011-libk5crypto3_1.21.3-4ubuntu1_armhf.deb ... 125s Unpacking libk5crypto3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 125s Preparing to unpack .../012-libicu74_74.2-1ubuntu6_armhf.deb ... 125s Unpacking libicu74:armhf (74.2-1ubuntu6) over (74.2-1ubuntu4) ... 126s Preparing to unpack .../013-libxml2_2.12.7+dfsg+really2.9.14-0.2ubuntu3_armhf.deb ... 126s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) over (2.12.7+dfsg-3) ... 126s Preparing to unpack .../014-iptables_1.8.11-2ubuntu1_armhf.deb ... 126s Unpacking iptables (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 126s Preparing to unpack .../015-libip4tc2_1.8.11-2ubuntu1_armhf.deb ... 126s Unpacking libip4tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 126s Preparing to unpack .../016-libip6tc2_1.8.11-2ubuntu1_armhf.deb ... 126s Unpacking libip6tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 126s Preparing to unpack .../017-libxtables12_1.8.11-2ubuntu1_armhf.deb ... 126s Unpacking libxtables12:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 126s Preparing to unpack .../018-python3-rich_13.9.4-1_all.deb ... 126s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 126s for fn in glob1(directory, "%s.*" % fname): 126s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 126s Preparing to unpack .../019-ucf_3.0049_all.deb ... 126s Unpacking ucf (3.0049) over (3.0043+nmu1) ... 126s Preparing to unpack .../020-rsyslog_8.2406.0-1ubuntu3_armhf.deb ... 126s Unpacking rsyslog (8.2406.0-1ubuntu3) over (8.2406.0-1ubuntu2) ... 126s Preparing to unpack .../021-apparmor_4.1.0~beta1-0ubuntu5_armhf.deb ... 127s Unpacking apparmor (4.1.0~beta1-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 128s Preparing to unpack .../022-bash-completion_1%3a2.16.0-7_all.deb ... 128s Unpacking bash-completion (1:2.16.0-7) over (1:2.14.0-2) ... 128s Preparing to unpack .../023-bind9-dnsutils_1%3a9.20.0-2ubuntu4_armhf.deb ... 128s Unpacking bind9-dnsutils (1:9.20.0-2ubuntu4) over (1:9.20.0-2ubuntu3) ... 128s Preparing to unpack .../024-bind9-host_1%3a9.20.0-2ubuntu4_armhf.deb ... 128s Unpacking bind9-host (1:9.20.0-2ubuntu4) over (1:9.20.0-2ubuntu3) ... 128s Preparing to unpack .../025-bind9-libs_1%3a9.20.0-2ubuntu4_armhf.deb ... 128s Unpacking bind9-libs:armhf (1:9.20.0-2ubuntu4) over (1:9.20.0-2ubuntu3) ... 128s Preparing to unpack .../026-libedit2_3.1-20250104-1_armhf.deb ... 128s Unpacking libedit2:armhf (3.1-20250104-1) over (3.1-20240808-1) ... 128s Preparing to unpack .../027-busybox-static_1%3a1.37.0-4ubuntu1_armhf.deb ... 128s Unpacking busybox-static (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 128s Preparing to unpack .../028-libdevmapper1.02.1_2%3a1.02.201-1ubuntu1_armhf.deb ... 128s Unpacking libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 128s Preparing to unpack .../029-dmsetup_2%3a1.02.201-1ubuntu1_armhf.deb ... 128s Unpacking dmsetup (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 128s Preparing to unpack .../030-ed_1.21-1_armhf.deb ... 128s Unpacking ed (1.21-1) over (1.20.2-2) ... 129s Preparing to unpack .../031-gettext-base_0.23.1-1_armhf.deb ... 129s Unpacking gettext-base (0.23.1-1) over (0.22.5-2) ... 129s Preparing to unpack .../032-groff-base_1.23.0-7_armhf.deb ... 129s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 129s Preparing to unpack .../033-libibverbs1_55.0-1ubuntu1_armhf.deb ... 129s Unpacking libibverbs1:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 129s Preparing to unpack .../034-ibverbs-providers_55.0-1ubuntu1_armhf.deb ... 129s Unpacking ibverbs-providers:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 129s Preparing to unpack .../035-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 129s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 129s Preparing to unpack .../036-libpcap0.8t64_1.10.5-2ubuntu1_armhf.deb ... 129s Unpacking libpcap0.8t64:armhf (1.10.5-2ubuntu1) over (1.10.5-1ubuntu1) ... 129s Preparing to unpack .../037-libpng16-16t64_1.6.46-4_armhf.deb ... 129s Unpacking libpng16-16t64:armhf (1.6.46-4) over (1.6.44-2) ... 129s Preparing to unpack .../038-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 129s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 129s Preparing to unpack .../039-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 129s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 129s Preparing to unpack .../040-libusb-1.0-0_2%3a1.0.27-2_armhf.deb ... 129s Unpacking libusb-1.0-0:armhf (2:1.0.27-2) over (2:1.0.27-1) ... 129s Preparing to unpack .../041-libxkbcommon0_1.7.0-2_armhf.deb ... 129s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 129s Preparing to unpack .../042-nano_8.3-1_armhf.deb ... 129s Unpacking nano (8.3-1) over (8.2-1) ... 129s Preparing to unpack .../043-pci.ids_0.0~2025.02.05-1_all.deb ... 129s Unpacking pci.ids (0.0~2025.02.05-1) over (0.0~2024.10.24-1) ... 129s Preparing to unpack .../044-publicsuffix_20250108.1153-0.1_all.deb ... 129s Unpacking publicsuffix (20250108.1153-0.1) over (20231001.0357-0.1) ... 129s Preparing to unpack .../045-python3-distro-info_1.13_all.deb ... 129s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 129s for fn in glob1(directory, "%s.*" % fname): 129s Unpacking python3-distro-info (1.13) over (1.12) ... 129s Preparing to unpack .../046-python3.13-gdbm_3.13.2-1_armhf.deb ... 129s Unpacking python3.13-gdbm (3.13.2-1) over (3.13.0-2) ... 130s Preparing to unpack .../047-python3.12-gdbm_3.12.9-1_armhf.deb ... 130s Unpacking python3.12-gdbm (3.12.9-1) over (3.12.7-3) ... 130s Preparing to unpack .../048-python3-gdbm_3.13.1-1_armhf.deb ... 130s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 130s Preparing to unpack .../049-ubuntu-standard_1.545_armhf.deb ... 130s Unpacking ubuntu-standard (1.545) over (1.544) ... 130s Preparing to unpack .../050-ufw_0.36.2-9_all.deb ... 130s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 130s for fn in glob1(directory, "%s.*" % fname): 130s Unpacking ufw (0.36.2-9) over (0.36.2-8) ... 130s Preparing to unpack .../051-usb.ids_2025.01.14-1_all.deb ... 130s Unpacking usb.ids (2025.01.14-1) over (2024.07.04-1) ... 130s Preparing to unpack .../052-xauth_1%3a1.1.2-1.1_armhf.deb ... 130s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 130s Preparing to unpack .../053-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 130s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 130s Preparing to unpack .../054-libappstream5_1.0.4-1_armhf.deb ... 130s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 130s Preparing to unpack .../055-appstream_1.0.4-1_armhf.deb ... 130s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 130s Preparing to unpack .../056-libctf0_2.44-1ubuntu1_armhf.deb ... 130s Unpacking libctf0:armhf (2.44-1ubuntu1) over (2.43.1-4ubuntu1) ... 130s Preparing to unpack .../057-libctf-nobfd0_2.44-1ubuntu1_armhf.deb ... 130s Unpacking libctf-nobfd0:armhf (2.44-1ubuntu1) over (2.43.1-4ubuntu1) ... 130s Preparing to unpack .../058-binutils-arm-linux-gnueabihf_2.44-1ubuntu1_armhf.deb ... 130s Unpacking binutils-arm-linux-gnueabihf (2.44-1ubuntu1) over (2.43.1-4ubuntu1) ... 130s Preparing to unpack .../059-libbinutils_2.44-1ubuntu1_armhf.deb ... 130s Unpacking libbinutils:armhf (2.44-1ubuntu1) over (2.43.1-4ubuntu1) ... 130s Preparing to unpack .../060-binutils_2.44-1ubuntu1_armhf.deb ... 130s Unpacking binutils (2.44-1ubuntu1) over (2.43.1-4ubuntu1) ... 130s Preparing to unpack .../061-binutils-common_2.44-1ubuntu1_armhf.deb ... 130s Unpacking binutils-common:armhf (2.44-1ubuntu1) over (2.43.1-4ubuntu1) ... 130s Preparing to unpack .../062-libsframe1_2.44-1ubuntu1_armhf.deb ... 130s Unpacking libsframe1:armhf (2.44-1ubuntu1) over (2.43.1-4ubuntu1) ... 130s Preparing to unpack .../063-btrfs-progs_6.12-1build1_armhf.deb ... 130s Unpacking btrfs-progs (6.12-1build1) over (6.6.3-1.2) ... 131s Preparing to unpack .../064-python3-jinja2_3.1.5-2_all.deb ... 131s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 131s for fn in glob1(directory, "%s.*" % fname): 131s Unpacking python3-jinja2 (3.1.5-2) over (3.1.3-1ubuntu1) ... 131s Preparing to unpack .../065-python3-json-pointer_2.4-3_all.deb ... 131s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 131s for fn in glob1(directory, "%s.*" % fname): 131s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 131s Preparing to unpack .../066-python3-jsonpatch_1.32-5_all.deb ... 131s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 131s for fn in glob1(directory, "%s.*" % fname): 131s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 131s Preparing to unpack .../067-python3-attr_25.1.0-1_all.deb ... 131s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 131s for fn in glob1(directory, "%s.*" % fname): 131s Unpacking python3-attr (25.1.0-1) over (23.2.0-2) ... 131s Preparing to unpack .../068-python3-referencing_0.35.1-2ubuntu1_all.deb ... 131s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 131s for fn in glob1(directory, "%s.*" % fname): 131s Unpacking python3-referencing (0.35.1-2ubuntu1) over (0.35.1-1ubuntu1) ... 131s Preparing to unpack .../069-python3-jsonschema_4.19.2-6ubuntu1_all.deb ... 131s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 131s for fn in glob1(directory, "%s.*" % fname): 131s Unpacking python3-jsonschema (4.19.2-6ubuntu1) over (4.19.2-3ubuntu1) ... 131s Preparing to unpack .../070-python3-jwt_2.10.1-2_all.deb ... 131s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 131s for fn in glob1(directory, "%s.*" % fname): 132s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 132s Preparing to unpack .../071-python3-oauthlib_3.2.2-3_all.deb ... 132s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 132s for fn in glob1(directory, "%s.*" % fname): 132s Unpacking python3-oauthlib (3.2.2-3) over (3.2.2-2) ... 132s Preparing to unpack .../072-cloud-init-base_25.1~3geb1965a4-0ubuntu1_all.deb ... 132s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 132s for fn in glob1(directory, "%s.*" % fname): 132s Unpacking cloud-init-base (25.1~3geb1965a4-0ubuntu1) over (24.4-0ubuntu1) ... 132s dpkg: warning: unable to delete old directory '/lib/systemd/system/sshd-keygen@.service.d': Directory not empty 132s Preparing to unpack .../073-curl_8.11.1-1ubuntu1_armhf.deb ... 132s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 132s Preparing to unpack .../074-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 132s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 132s Preparing to unpack .../075-dpkg-dev_1.22.11ubuntu4_all.deb ... 132s Unpacking dpkg-dev (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 133s Preparing to unpack .../076-libdpkg-perl_1.22.11ubuntu4_all.deb ... 133s Unpacking libdpkg-perl (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 133s Preparing to unpack .../077-make_4.4.1-1_armhf.deb ... 133s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 133s Preparing to unpack .../078-libarchive13t64_3.7.7-0ubuntu1_armhf.deb ... 133s Unpacking libarchive13t64:armhf (3.7.7-0ubuntu1) over (3.7.4-1.1) ... 133s Preparing to unpack .../079-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 133s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 133s Preparing to unpack .../080-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 133s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 133s Preparing to unpack .../081-fwupd_2.0.5-1_armhf.deb ... 133s Unpacking fwupd (2.0.5-1) over (2.0.2-1) ... 133s Preparing to unpack .../082-libfwupd3_2.0.5-1_armhf.deb ... 133s Unpacking libfwupd3:armhf (2.0.5-1) over (2.0.2-1) ... 133s Preparing to unpack .../083-polkitd_126-2_armhf.deb ... 133s Unpacking polkitd (126-2) over (125-2ubuntu1) ... 134s Preparing to unpack .../084-libpolkit-agent-1-0_126-2_armhf.deb ... 134s Unpacking libpolkit-agent-1-0:armhf (126-2) over (125-2ubuntu1) ... 134s Preparing to unpack .../085-libpolkit-gobject-1-0_126-2_armhf.deb ... 134s Unpacking libpolkit-gobject-1-0:armhf (126-2) over (125-2ubuntu1) ... 134s Preparing to unpack .../086-libprotobuf-c1_1.5.1-1ubuntu1_armhf.deb ... 134s Unpacking libprotobuf-c1:armhf (1.5.1-1ubuntu1) over (1.4.1-1ubuntu4) ... 134s Preparing to unpack .../087-libqmi-proxy_1.35.6-1_armhf.deb ... 134s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 134s Preparing to unpack .../088-libqmi-glib5_1.35.6-1_armhf.deb ... 134s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 134s Preparing to unpack .../089-gnupg-l10n_2.4.4-2ubuntu22_all.deb ... 134s Unpacking gnupg-l10n (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 134s Preparing to unpack .../090-htop_3.3.0-5_armhf.deb ... 134s Unpacking htop (3.3.0-5) over (3.3.0-4build1) ... 134s Preparing to unpack .../091-libftdi1-2_1.5-8_armhf.deb ... 134s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 134s Preparing to unpack .../092-libgpgme11t64_1.24.1-4ubuntu1_armhf.deb ... 134s Unpacking libgpgme11t64:armhf (1.24.1-4ubuntu1) over (1.24.0-2ubuntu1) ... 134s Preparing to unpack .../093-libgstreamer1.0-0_1.25.1-1_armhf.deb ... 134s Unpacking libgstreamer1.0-0:armhf (1.25.1-1) over (1.24.9-1) ... 134s Preparing to unpack .../094-libgudev-1.0-0_1%3a238-6_armhf.deb ... 134s Unpacking libgudev-1.0-0:armhf (1:238-6) over (1:238-5ubuntu1) ... 134s Selecting previously unselected package libicu76:armhf. 134s Preparing to unpack .../095-libicu76_76.1-1ubuntu2_armhf.deb ... 134s Unpacking libicu76:armhf (76.1-1ubuntu2) ... 134s Preparing to unpack .../096-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 134s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 135s Preparing to unpack .../097-libnvme1t64_1.11.1-1build1_armhf.deb ... 135s Unpacking libnvme1t64 (1.11.1-1build1) over (1.11.1-1) ... 135s Preparing to unpack .../098-libsasl2-modules_2.1.28+dfsg1-8build1_armhf.deb ... 135s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 135s Preparing to unpack .../099-udisks2_2.10.1-11ubuntu2_armhf.deb ... 135s Unpacking udisks2 (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 135s Preparing to unpack .../100-libudisks2-0_2.10.1-11ubuntu2_armhf.deb ... 135s Unpacking libudisks2-0:armhf (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 135s Preparing to unpack .../101-libvolume-key1_0.3.12-9_armhf.deb ... 135s Unpacking libvolume-key1:armhf (0.3.12-9) over (0.3.12-8) ... 135s Preparing to unpack .../102-libwrap0_7.6.q-35_armhf.deb ... 135s Unpacking libwrap0:armhf (7.6.q-35) over (7.6.q-33) ... 135s Selecting previously unselected package linux-headers-6.12.0-15. 135s Preparing to unpack .../103-linux-headers-6.12.0-15_6.12.0-15.15_all.deb ... 135s Unpacking linux-headers-6.12.0-15 (6.12.0-15.15) ... 138s Selecting previously unselected package linux-headers-6.12.0-15-generic. 138s Preparing to unpack .../104-linux-headers-6.12.0-15-generic_6.12.0-15.15_armhf.deb ... 138s Unpacking linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 139s Preparing to unpack .../105-linux-headers-generic_6.12.0-15.15+1_armhf.deb ... 139s Unpacking linux-headers-generic (6.12.0-15.15+1) over (6.11.0-8.8) ... 140s Preparing to unpack .../106-pollinate_4.33-4ubuntu2_all.deb ... 140s Unpacking pollinate (4.33-4ubuntu2) over (4.33-4ubuntu1) ... 140s Preparing to unpack .../107-python3-babel_2.17.0-1_all.deb ... 140s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 140s for fn in glob1(directory, "%s.*" % fname): 140s Unpacking python3-babel (2.17.0-1) over (2.16.0-1) ... 140s Preparing to unpack .../108-python-babel-localedata_2.17.0-1_all.deb ... 140s Unpacking python-babel-localedata (2.17.0-1) over (2.16.0-1) ... 140s Preparing to unpack .../109-python3-certifi_2024.12.14+ds-1_all.deb ... 140s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 140s for fn in glob1(directory, "%s.*" % fname): 140s Unpacking python3-certifi (2024.12.14+ds-1) over (2024.8.30+dfsg-1) ... 140s Preparing to unpack .../110-python3-chardet_5.2.0+dfsg-2_all.deb ... 140s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 140s for fn in glob1(directory, "%s.*" % fname): 141s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 141s Preparing to unpack .../111-python3-idna_3.10-1_all.deb ... 141s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 141s for fn in glob1(directory, "%s.*" % fname): 141s Unpacking python3-idna (3.10-1) over (3.8-2) ... 141s Preparing to unpack .../112-python3-more-itertools_10.6.0-1_all.deb ... 141s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 141s for fn in glob1(directory, "%s.*" % fname): 141s Unpacking python3-more-itertools (10.6.0-1) over (10.5.0-1) ... 141s Preparing to unpack .../113-python3-openssl_25.0.0-1_all.deb ... 141s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 141s for fn in glob1(directory, "%s.*" % fname): 141s Unpacking python3-openssl (25.0.0-1) over (24.2.1-1) ... 141s Preparing to unpack .../114-python3-pkg-resources_75.6.0-1_all.deb ... 141s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 141s for fn in glob1(directory, "%s.*" % fname): 141s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 141s Preparing to unpack .../115-python3-setuptools_75.6.0-1_all.deb ... 141s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 141s for fn in glob1(directory, "%s.*" % fname): 141s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 142s Preparing to unpack .../116-software-properties-common_0.108_all.deb ... 142s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 142s for fn in glob1(directory, "%s.*" % fname): 142s Unpacking software-properties-common (0.108) over (0.105) ... 142s Preparing to unpack .../117-python3-software-properties_0.108_all.deb ... 142s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 142s for fn in glob1(directory, "%s.*" % fname): 142s Unpacking python3-software-properties (0.108) over (0.105) ... 142s Preparing to unpack .../118-python3-urllib3_2.3.0-1_all.deb ... 142s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 142s for fn in glob1(directory, "%s.*" % fname): 142s Unpacking python3-urllib3 (2.3.0-1) over (2.0.7-2ubuntu0.1) ... 142s Preparing to unpack .../119-python3-wadllib_2.0.0-2_all.deb ... 142s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 142s for fn in glob1(directory, "%s.*" % fname): 142s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 142s Preparing to unpack .../120-xfsprogs_6.8.0-2.2ubuntu3_armhf.deb ... 142s Unpacking xfsprogs (6.8.0-2.2ubuntu3) over (6.8.0-2.2ubuntu2) ... 142s Preparing to unpack .../121-zstd_1.5.6+dfsg-2_armhf.deb ... 142s Unpacking zstd (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 142s Preparing to unpack .../122-cloud-init_25.1~3geb1965a4-0ubuntu1_all.deb ... 142s Unpacking cloud-init (25.1~3geb1965a4-0ubuntu1) over (24.4-0ubuntu1) ... 142s Preparing to unpack .../123-kpartx_0.9.9-1ubuntu4_armhf.deb ... 142s Unpacking kpartx (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 142s Preparing to unpack .../124-multipath-tools_0.9.9-1ubuntu4_armhf.deb ... 142s Unpacking multipath-tools (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 143s Setting up libip4tc2:armhf (1.8.11-2ubuntu1) ... 143s Setting up distro-info (1.13) ... 143s Setting up libibverbs1:armhf (55.0-1ubuntu1) ... 143s Setting up systemd-sysv (257.2-3ubuntu1) ... 143s Setting up libapparmor1:armhf (4.1.0~beta1-0ubuntu5) ... 143s Setting up pci.ids (0.0~2025.02.05-1) ... 143s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 143s Setting up apt-utils (2.9.28) ... 143s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 143s Setting up ibverbs-providers:armhf (55.0-1ubuntu1) ... 143s Setting up libyaml-0-2:armhf (0.2.5-2) ... 143s Setting up libip6tc2:armhf (1.8.11-2ubuntu1) ... 143s Setting up python3.12-gdbm (3.12.9-1) ... 143s Setting up libedit2:armhf (3.1-20250104-1) ... 143s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-8build1) ... 143s Setting up netcat-openbsd (1.228-1) ... 143s Setting up libpython3.12-minimal:armhf (3.12.9-1) ... 143s Setting up binutils-common:armhf (2.44-1ubuntu1) ... 143s Setting up libctf-nobfd0:armhf (2.44-1ubuntu1) ... 143s Setting up gettext-base (0.23.1-1) ... 143s Setting up libnss-systemd:armhf (257.2-3ubuntu1) ... 143s Setting up krb5-locales (1.21.3-4ubuntu1) ... 143s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 143s Setting up libcom-err2:armhf (1.47.2-1ubuntu1) ... 143s Setting up locales (2.40-4ubuntu1) ... 144s Generating locales (this might take a while)... 146s en_US.UTF-8... done 146s Generation complete. 146s Setting up libldap-common (2.6.9+dfsg-1~exp2ubuntu1) ... 146s Installing new version of config file /etc/ldap/ldap.conf ... 146s Setting up libprotobuf-c1:armhf (1.5.1-1ubuntu1) ... 146s Setting up libsframe1:armhf (2.44-1ubuntu1) ... 146s Setting up python-babel-localedata (2.17.0-1) ... 146s Setting up libkrb5support0:armhf (1.21.3-4ubuntu1) ... 146s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) ... 146s Setting up tzdata (2024b-6ubuntu1) ... 146s 146s Current default time zone: 'Etc/UTC' 146s Local time is now: Tue Feb 11 21:11:40 UTC 2025. 146s Universal Time is now: Tue Feb 11 21:11:40 UTC 2025. 146s Run 'dpkg-reconfigure tzdata' if you wish to change it. 146s 146s Setting up eject (2.40.2-14ubuntu1) ... 146s Setting up apparmor (4.1.0~beta1-0ubuntu5) ... 146s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 146s 147s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 147s 147s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 147s 147s Reloading AppArmor profiles 147s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 147s 147s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 147s 147s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 147s 147s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 147s 147s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 147s 147s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 147s 147s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 147s 147s /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 147s 147s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 147s 148s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 148s 148s Error: At least one profile failed to load 148s Setting up libglib2.0-data (2.83.3-2) ... 148s Setting up busybox-static (1:1.37.0-4ubuntu1) ... 148s Setting up systemd-cryptsetup (257.2-3ubuntu1) ... 148s Setting up libwrap0:armhf (7.6.q-35) ... 148s Setting up libnvme1t64 (1.11.1-1build1) ... 148s Setting up make (4.4.1-1) ... 148s Setting up gnupg-l10n (2.4.4-2ubuntu22) ... 148s Setting up ed (1.21-1) ... 148s Setting up bash-completion (1:2.16.0-7) ... 148s Setting up libncurses6:armhf (6.5+20250125-2) ... 148s Setting up libfribidi0:armhf (1.0.16-1) ... 148s Setting up libpng16-16t64:armhf (1.6.46-4) ... 148s Setting up systemd-timesyncd (257.2-3ubuntu1) ... 149s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 149s Setting up libatomic1:armhf (14.2.0-16ubuntu1) ... 149s Setting up udev (257.2-3ubuntu1) ... 150s Setting up libss2:armhf (1.47.2-1ubuntu1) ... 150s Setting up usb.ids (2025.01.14-1) ... 150s Setting up dhcpcd-base (1:10.1.0-6) ... 150s Installing new version of config file /etc/dhcpcd.conf ... 150s Setting up ucf (3.0049) ... 150s Installing new version of config file /etc/ucf.conf ... 150s Setting up libncursesw6:armhf (6.5+20250125-2) ... 150s Setting up libk5crypto3:armhf (1.21.3-4ubuntu1) ... 150s Setting up busybox-initramfs (1:1.37.0-4ubuntu1) ... 150s Setting up libxtables12:armhf (1.8.11-2ubuntu1) ... 150s Setting up libdpkg-perl (1.22.11ubuntu4) ... 150s Setting up logsave (1.47.2-1ubuntu1) ... 150s Setting up libsasl2-2:armhf (2.1.28+dfsg1-8build1) ... 150s Setting up libfdisk1:armhf (2.40.2-14ubuntu1) ... 150s Setting up libicu74:armhf (74.2-1ubuntu6) ... 150s Setting up nano (8.3-1) ... 150s Installing new version of config file /etc/nanorc ... 150s Setting up libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) ... 150s Setting up whiptail (0.52.24-4ubuntu1) ... 150s Setting up python-apt-common (2.9.8) ... 150s Setting up dracut-install (105-2ubuntu5) ... 150s Setting up dmsetup (2:1.02.201-1ubuntu1) ... 150s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 150s uuidd.service is a disabled or a static unit not running, not starting it. 151s Setting up xauth (1:1.1.2-1.1) ... 151s Setting up groff-base (1.23.0-7) ... 151s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 151s Setting up kpartx (0.9.9-1ubuntu4) ... 151s Setting up libpam-systemd:armhf (257.2-3ubuntu1) ... 151s Setting up libpcap0.8t64:armhf (1.10.5-2ubuntu1) ... 151s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 151s Setting up mawk (1.3.4.20250131-1) ... 151s Setting up libkrb5-3:armhf (1.21.3-4ubuntu1) ... 151s Setting up libusb-1.0-0:armhf (2:1.0.27-2) ... 151s Setting up libicu76:armhf (76.1-1ubuntu2) ... 151s Setting up linux-headers-6.12.0-15 (6.12.0-15.15) ... 151s Setting up keyboard-configuration (1.226ubuntu3) ... 152s Your console font configuration will be updated the next time your system 152s boots. If you want to update it now, run 'setupcon' from a virtual console. 152s update-initramfs: deferring update (trigger activated) 152s Setting up libbinutils:armhf (2.44-1ubuntu1) ... 152s Setting up openssl (3.4.0-1ubuntu2) ... 152s Installing new version of config file /etc/ssl/openssl.cnf ... 152s Setting up libgpg-error-l10n (1.51-3) ... 152s Setting up iputils-ping (3:20240905-1ubuntu1) ... 152s Setting up readline-common (8.2-6) ... 152s Setting up publicsuffix (20250108.1153-0.1) ... 152s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) ... 152s Setting up zstd (1.5.6+dfsg-2) ... 152s Setting up libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) ... 152s Setting up libbpf1:armhf (1:1.5.0-2) ... 152s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 152s Setting up rsync (3.3.0+ds1-4) ... 153s rsync.service is a disabled or a static unit not running, not starting it. 153s Setting up python3.13-gdbm (3.13.2-1) ... 153s Setting up ethtool (1:6.11-1) ... 153s Setting up gnupg-utils (2.4.4-2ubuntu22) ... 153s Setting up systemd-resolved (257.2-3ubuntu1) ... 153s Setting up initramfs-tools-bin (0.145ubuntu2) ... 153s Setting up ncurses-term (6.5+20250125-2) ... 153s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 153s Setting up libxkbcommon0:armhf (1.7.0-2) ... 153s Setting up libctf0:armhf (2.44-1ubuntu1) ... 153s Setting up python3.12-minimal (3.12.9-1) ... 154s Setting up iptables (1.8.11-2ubuntu1) ... 154s Setting up htop (3.3.0-5) ... 154s Setting up btrfs-progs (6.12-1build1) ... 154s Setting up rsyslog (8.2406.0-1ubuntu3) ... 154s Installing new version of config file /etc/apparmor.d/usr.sbin.rsyslogd ... 155s info: The user `syslog' is already a member of `adm'. 155s apparmor_parser: Unable to replace "rsyslogd". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 155s 156s Setting up e2fsprogs (1.47.2-1ubuntu1) ... 156s update-initramfs: deferring update (trigger activated) 157s Setting up multipath-tools (0.9.9-1ubuntu4) ... 157s Setting up libftdi1-2:armhf (1.5-8) ... 157s Setting up ca-certificates (20241223) ... 160s Updating certificates in /etc/ssl/certs... 162s rehash: warning: skipping ca-certificates.crt, it does not contain exactly one certificate or CRL 162s 7 added, 1 removed; done. 162s Setting up libglib2.0-0t64:armhf (2.83.3-2) ... 162s No schema files found: doing nothing. 162s Setting up linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 162s Setting up libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) ... 162s Setting up gir1.2-glib-2.0:armhf (2.83.3-2) ... 162s Setting up libreadline8t64:armhf (8.2-6) ... 162s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 162s Setting up gpgconf (2.4.4-2ubuntu22) ... 162s Setting up libgirepository-1.0-1:armhf (1.82.0-4) ... 162s Setting up console-setup-linux (1.226ubuntu3) ... 163s Setting up initramfs-tools-core (0.145ubuntu2) ... 163s Setting up binutils-arm-linux-gnueabihf (2.44-1ubuntu1) ... 163s Setting up libarchive13t64:armhf (3.7.7-0ubuntu1) ... 164s Setting up libpython3.13-stdlib:armhf (3.13.2-1) ... 164s Setting up gpg (2.4.4-2ubuntu22) ... 164s Setting up libgudev-1.0-0:armhf (1:238-6) ... 164s Setting up libpolkit-gobject-1-0:armhf (126-2) ... 164s Setting up libgstreamer1.0-0:armhf (1.25.1-1) ... 164s Setcap worked! gst-ptp-helper is not suid! 164s Setting up libudisks2-0:armhf (2.10.1-11ubuntu2) ... 164s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 164s Setting up console-setup (1.226ubuntu3) ... 164s update-initramfs: deferring update (trigger activated) 164s Setting up gpg-agent (2.4.4-2ubuntu22) ... 165s Setting up libpython3.12-stdlib:armhf (3.12.9-1) ... 165s Setting up initramfs-tools (0.145ubuntu2) ... 165s update-initramfs: deferring update (trigger activated) 165s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 165s Setting up bind9-libs:armhf (1:9.20.0-2ubuntu4) ... 165s Setting up e2fsprogs-l10n (1.47.2-1ubuntu1) ... 165s Setting up python3.13 (3.13.2-1) ... 166s Setting up python3.12 (3.12.9-1) ... 167s Setting up gpgsm (2.4.4-2ubuntu22) ... 167s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 167s Setting up libglib2.0-bin (2.83.3-2) ... 167s Setting up libappstream5:armhf (1.0.4-1) ... 167s Setting up libqmi-glib5:armhf (1.35.6-1) ... 167s Setting up python3 (3.13.1-1~exp2) ... 168s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 168s for fn in glob1(directory, "%s.*" % fname): 168s Setting up linux-headers-generic (6.12.0-15.15+1) ... 168s Setting up binutils (2.44-1ubuntu1) ... 168s Setting up libnetplan1:armhf (1.1.2-2ubuntu1) ... 168s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 168s Setting up fdisk (2.40.2-14ubuntu1) ... 168s Setting up dpkg-dev (1.22.11ubuntu4) ... 168s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 168s Setting up dirmngr (2.4.4-2ubuntu22) ... 168s Setting up python3-jinja2 (3.1.5-2) ... 169s Setting up python3-chardet (5.2.0+dfsg-2) ... 170s Setting up appstream (1.0.4-1) ... 172s ✔ Metadata cache was updated successfully. 172s Setting up python3-certifi (2024.12.14+ds-1) ... 172s Setting up gir1.2-girepository-2.0:armhf (1.82.0-4) ... 172s Setting up python3-gi (3.50.0-4) ... 173s Setting up python3-idna (3.10-1) ... 173s Setting up xfsprogs (6.8.0-2.2ubuntu3) ... 173s update-initramfs: deferring update (trigger activated) 173s Setting up keyboxd (2.4.4-2ubuntu22) ... 174s Setting up python3-urllib3 (2.3.0-1) ... 174s Setting up python3-json-pointer (2.4-3) ... 174s Setting up gnupg (2.4.4-2ubuntu22) ... 174s Setting up python3-netplan (1.1.2-2ubuntu1) ... 174s Setting up libpolkit-agent-1-0:armhf (126-2) ... 174s Setting up libgpgme11t64:armhf (1.24.1-4ubuntu1) ... 174s Setting up curl (8.11.1-1ubuntu1) ... 174s Setting up libvolume-key1:armhf (0.3.12-9) ... 174s Setting up netplan-generator (1.1.2-2ubuntu1) ... 174s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 174s Setting up bind9-host (1:9.20.0-2ubuntu4) ... 174s Setting up python3-distro-info (1.13) ... 175s Setting up polkitd (126-2) ... 175s Setting up python3-more-itertools (10.6.0-1) ... 176s Setting up python3-attr (25.1.0-1) ... 176s Setting up udisks2 (2.10.1-11ubuntu2) ... 176s vda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/uevent': Permission denied 176s vda1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda1/uevent': Permission denied 176s vda15: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda15/uevent': Permission denied 176s vda2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda2/uevent': Permission denied 176s loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied 176s loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied 176s loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied 176s loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied 176s loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied 176s loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied 176s loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied 176s loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied 176s loop8: Failed to write 'change' to '/sys/devices/virtual/block/loop8/uevent': Permission denied 176s loop9: Failed to write 'change' to '/sys/devices/virtual/block/loop9/uevent': Permission denied 176s Setting up gpg-wks-client (2.4.4-2ubuntu22) ... 176s Setting up python3-jwt (2.10.1-2) ... 177s Setting up python3-babel (2.17.0-1) ... 177s Setting up python3-rich (13.9.4-1) ... 178s Setting up python3-gdbm:armhf (3.13.1-1) ... 178s Setting up python3-problem-report (2.31.0-0ubuntu5) ... 178s Setting up python3-apt (2.9.8) ... 178s Setting up python3-jsonpatch (1.32-5) ... 178s Setting up python3-bcrypt (4.2.0-2.1) ... 179s Setting up libqmi-proxy (1.35.6-1) ... 179s Setting up libfwupd3:armhf (2.0.5-1) ... 179s Setting up ufw (0.36.2-9) ... 180s Setting up python3-lazr.uri (1.0.6-5) ... 180s Setting up netplan.io (1.1.2-2ubuntu1) ... 180s Setting up pollinate (4.33-4ubuntu2) ... 180s Setting up python3-cryptography (43.0.0-1) ... 181s Setting up python3-wadllib (2.0.0-2) ... 181s Setting up bind9-dnsutils (1:9.20.0-2ubuntu4) ... 181s Setting up fwupd (2.0.5-1) ... 182s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 182s fwupd.service is a disabled or a static unit not running, not starting it. 182s Setting up python3-referencing (0.35.1-2ubuntu1) ... 182s Setting up python3-pkg-resources (75.6.0-1) ... 182s Setting up python3-setuptools (75.6.0-1) ... 185s Setting up ubuntu-minimal (1.545) ... 185s Setting up python3-openssl (25.0.0-1) ... 185s Setting up python3-launchpadlib (2.1.0-1) ... 185s Setting up ubuntu-standard (1.545) ... 185s Setting up python3-apport (2.31.0-0ubuntu5) ... 186s Setting up python3-oauthlib (3.2.2-3) ... 186s Setting up python3-software-properties (0.108) ... 186s Setting up python3-jsonschema (4.19.2-6ubuntu1) ... 187s Setting up cloud-init-base (25.1~3geb1965a4-0ubuntu1) ... 187s Installing new version of config file /etc/cloud/templates/sources.list.debian.deb822.tmpl ... 187s Installing new version of config file /etc/cloud/templates/sources.list.ubuntu.deb822.tmpl ... 189s Setting up software-properties-common (0.108) ... 189s Setting up cloud-init (25.1~3geb1965a4-0ubuntu1) ... 189s Setting up apport-core-dump-handler (2.31.0-0ubuntu5) ... 190s Setting up apport (2.31.0-0ubuntu5) ... 191s apport-autoreport.service is a disabled or a static unit not running, not starting it. 191s Processing triggers for dbus (1.14.10-4ubuntu5) ... 191s Processing triggers for shared-mime-info (2.4-5) ... 191s Warning: program compiled against libxml 212 using older 209 192s Processing triggers for sgml-base (1.31) ... 192s Processing triggers for debianutils (5.21) ... 192s Processing triggers for install-info (7.1.1-1) ... 192s Processing triggers for libc-bin (2.40-4ubuntu1) ... 192s Processing triggers for systemd (257.2-3ubuntu1) ... 192s Processing triggers for man-db (2.13.0-1) ... 194s Processing triggers for ca-certificates (20241223) ... 194s Updating certificates in /etc/ssl/certs... 195s 0 added, 0 removed; done. 195s Running hooks in /etc/ca-certificates/update.d... 195s done. 195s Processing triggers for initramfs-tools (0.145ubuntu2) ... 198s Reading package lists... 198s Building dependency tree... 198s Reading state information... 199s Starting pkgProblemResolver with broken count: 0 199s Starting 2 pkgProblemResolver with broken count: 0 199s Done 200s The following packages will be REMOVED: 200s libassuan0* libicu74* libnsl2* libpython3.12-minimal* libpython3.12-stdlib* 200s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* python3.12* 200s python3.12-minimal* 201s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 201s After this operation, 151 MB disk space will be freed. 201s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 92703 files and directories currently installed.) 201s Removing libassuan0:armhf (2.5.6-1build1) ... 201s Removing libicu74:armhf (74.2-1ubuntu6) ... 201s Removing python3.12 (3.12.9-1) ... 201s Removing libpython3.12-stdlib:armhf (3.12.9-1) ... 201s Removing libnsl2:armhf (1.3.0-3build3) ... 201s Removing python3.12-minimal (3.12.9-1) ... 201s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 201s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 202s Removing libpython3.12-minimal:armhf (3.12.9-1) ... 202s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 202s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 203s Processing triggers for systemd (257.2-3ubuntu1) ... 204s Processing triggers for man-db (2.13.0-1) ... 204s Processing triggers for libc-bin (2.40-4ubuntu1) ... 204s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60258 files and directories currently installed.) 204s Purging configuration files for python3.12-minimal (3.12.9-1) ... 204s Purging configuration files for libpython3.12-minimal:armhf (3.12.9-1) ... 207s autopkgtest [21:12:41]: rebooting testbed after setup commands that affected boot 253s autopkgtest [21:13:27]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 285s autopkgtest [21:13:59]: @@@@@@@@@@@@@@@@@@@@ apt-source rust-bitstream-io 297s Get:1 http://ftpmaster.internal/ubuntu plucky/universe rust-bitstream-io 2.5.0-1 (dsc) [1618 B] 297s Get:2 http://ftpmaster.internal/ubuntu plucky/universe rust-bitstream-io 2.5.0-1 (tar) [37.7 kB] 297s Get:3 http://ftpmaster.internal/ubuntu plucky/universe rust-bitstream-io 2.5.0-1 (diff) [2936 B] 297s gpgv: Signature made Sun Jul 14 20:14:18 2024 UTC 297s gpgv: using EDDSA key 42627E841D9967DA83E1FA9021936B36600FCD89 297s gpgv: Can't check signature: No public key 297s dpkg-source: warning: cannot verify inline signature for ./rust-bitstream-io_2.5.0-1.dsc: no acceptable signature found 297s autopkgtest [21:14:11]: testing package rust-bitstream-io version 2.5.0-1 300s autopkgtest [21:14:14]: build not needed 303s autopkgtest [21:14:17]: test rust-bitstream-io:@: preparing testbed 305s Reading package lists... 305s Building dependency tree... 305s Reading state information... 306s Starting pkgProblemResolver with broken count: 0 306s Starting 2 pkgProblemResolver with broken count: 0 306s Done 307s The following NEW packages will be installed: 307s autoconf automake autopoint autotools-dev cargo cargo-1.84 cpp cpp-14 307s cpp-14-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper debugedit 307s dh-autoreconf dh-cargo dh-cargo-tools dh-strip-nondeterminism dwz gcc gcc-14 307s gcc-14-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext intltool-debian 307s libarchive-zip-perl libasan8 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev 307s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-14-dev libgit2-1.9 307s libgomp1 libisl23 libllvm19 libmpc3 librust-ahash-dev 307s librust-allocator-api2-dev librust-arbitrary-dev librust-bitstream-io-dev 307s librust-byteorder-dev librust-cfg-if-dev librust-compiler-builtins-dev 307s librust-const-random-dev librust-const-random-macro-dev librust-core2-dev 307s librust-critical-section-dev librust-crossbeam-deque-dev 307s librust-crossbeam-epoch+std-dev librust-crossbeam-epoch-dev 307s librust-crossbeam-utils-dev librust-crunchy-dev librust-derive-arbitrary-dev 307s librust-either-dev librust-equivalent-dev librust-erased-serde-dev 307s librust-getrandom-dev librust-hashbrown-dev librust-indexmap-dev 307s librust-itoa-dev librust-libc-dev librust-log-dev librust-memchr-dev 307s librust-no-panic-dev librust-once-cell-dev librust-parking-lot-core-dev 307s librust-portable-atomic-dev librust-proc-macro2-dev librust-quote-dev 307s librust-rayon-core-dev librust-rayon-dev 307s librust-rustc-std-workspace-core-dev librust-ryu-dev 307s librust-serde-derive-dev librust-serde-dev librust-serde-fmt-dev 307s librust-serde-json-dev librust-serde-test-dev librust-smallvec-dev 307s librust-sval-buffer-dev librust-sval-derive-dev librust-sval-dev 307s librust-sval-dynamic-dev librust-sval-fmt-dev librust-sval-ref-dev 307s librust-sval-serde-dev librust-syn-dev librust-tiny-keccak-dev 307s librust-unicode-ident-dev librust-value-bag-dev librust-value-bag-serde1-dev 307s librust-value-bag-sval2-dev librust-version-check-dev 307s librust-zerocopy-derive-dev librust-zerocopy-dev libstd-rust-1.84 307s libstd-rust-1.84-dev libtool libubsan1 linux-libc-dev m4 po-debconf 307s rpcsvc-proto rustc rustc-1.84 308s 0 upgraded, 106 newly installed, 0 to remove and 0 not upgraded. 308s Need to get 149 MB of archives. 308s After this operation, 523 MB of additional disk space will be used. 308s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf m4 armhf 1.4.19-5 [238 kB] 308s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf autoconf all 2.72-3 [382 kB] 308s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf autotools-dev all 20220109.1 [44.9 kB] 308s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf automake all 1:1.17-3 [572 kB] 308s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf autopoint all 0.23.1-1 [619 kB] 308s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libgit2-1.9 armhf 1.9.0~ds-0ubuntu1 [485 kB] 308s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libllvm19 armhf 1:19.1.7-1ubuntu1 [27.8 MB] 309s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libstd-rust-1.84 armhf 1.84.0+dfsg0ubuntu1-0ubuntu1 [21.5 MB] 310s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libstd-rust-1.84-dev armhf 1.84.0+dfsg0ubuntu1-0ubuntu1 [44.1 MB] 311s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 311s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 311s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-16ubuntu1 [9222 kB] 312s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-16ubuntu1 [1034 B] 312s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [5578 B] 312s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.2.0-1ubuntu1 [22.4 kB] 312s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-16ubuntu1 [43.5 kB] 312s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-16ubuntu1 [125 kB] 312s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-16ubuntu1 [2901 kB] 312s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-16ubuntu1 [1151 kB] 312s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-16ubuntu1 [897 kB] 312s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-16ubuntu1 [18.0 MB] 312s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-16ubuntu1 [505 kB] 312s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [1218 B] 312s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.2.0-1ubuntu1 [5004 B] 312s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-4ubuntu1 [19.2 kB] 312s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.12.0-15.15 [1697 kB] 312s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.38-1 [120 kB] 312s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 312s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-4ubuntu1 [1358 kB] 312s Get:30 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf rustc-1.84 armhf 1.84.0+dfsg0ubuntu1-0ubuntu1 [5094 kB] 312s Get:31 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf cargo-1.84 armhf 1.84.0+dfsg0ubuntu1-0ubuntu1 [6238 kB] 313s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libdebhelper-perl all 13.23ubuntu1 [95.1 kB] 313s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libtool all 2.5.4-3build1 [168 kB] 313s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf dh-autoreconf all 20 [16.1 kB] 313s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 313s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libfile-stripnondeterminism-perl all 1.14.1-2 [20.3 kB] 313s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf dh-strip-nondeterminism all 1.14.1-2 [5064 B] 313s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf debugedit armhf 1:5.1-2 [46.7 kB] 313s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf dwz armhf 0.15-1build6 [116 kB] 313s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf gettext armhf 0.23.1-1 [1053 kB] 313s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 313s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 313s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf debhelper all 13.23ubuntu1 [895 kB] 313s Get:44 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf rustc armhf 1.84.0ubuntu1 [2828 B] 313s Get:45 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf cargo armhf 1.84.0ubuntu1 [2238 B] 313s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf dh-cargo-tools all 31ubuntu4 [5834 B] 313s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf dh-cargo all 31ubuntu4 [8668 B] 313s Get:48 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-critical-section-dev armhf 1.2.0-1 [21.0 kB] 313s Get:49 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-unicode-ident-dev armhf 1.0.13-1 [38.5 kB] 313s Get:50 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-proc-macro2-dev armhf 1.0.92-1 [46.1 kB] 313s Get:51 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-quote-dev armhf 1.0.37-1 [29.5 kB] 313s Get:52 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-syn-dev armhf 2.0.96-2 [227 kB] 313s Get:53 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-serde-derive-dev armhf 1.0.217-1 [51.2 kB] 313s Get:54 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-serde-dev armhf 1.0.217-1 [67.2 kB] 313s Get:55 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-portable-atomic-dev armhf 1.10.0-3 [128 kB] 313s Get:56 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-cfg-if-dev armhf 1.0.0-1 [10.5 kB] 313s Get:57 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-rustc-std-workspace-core-dev armhf 1.0.0-1 [3020 B] 313s Get:58 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-libc-dev armhf 0.2.169-1 [382 kB] 313s Get:59 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-getrandom-dev armhf 0.2.15-1 [37.8 kB] 313s Get:60 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-derive-arbitrary-dev armhf 1.4.1-1 [13.5 kB] 313s Get:61 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-arbitrary-dev armhf 1.4.1-1 [36.9 kB] 313s Get:62 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-smallvec-dev armhf 1.13.2-1 [35.5 kB] 313s Get:63 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-parking-lot-core-dev armhf 0.9.10-1 [32.6 kB] 313s Get:64 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-once-cell-dev armhf 1.20.2-1 [31.9 kB] 313s Get:65 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-crunchy-dev armhf 0.2.2-1 [5336 B] 313s Get:66 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-tiny-keccak-dev armhf 2.0.2-1 [20.9 kB] 313s Get:67 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-const-random-macro-dev armhf 0.1.16-2 [10.5 kB] 313s Get:68 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-const-random-dev armhf 0.1.17-2 [8588 B] 313s Get:69 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-version-check-dev armhf 0.9.5-1 [16.9 kB] 313s Get:70 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-byteorder-dev armhf 1.5.0-1 [22.4 kB] 313s Get:71 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-zerocopy-derive-dev armhf 0.7.34-1 [30.3 kB] 313s Get:72 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-zerocopy-dev armhf 0.7.34-1 [117 kB] 313s Get:73 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-ahash-dev all 0.8.11-9 [38.1 kB] 313s Get:74 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-allocator-api2-dev armhf 0.2.16-1 [54.8 kB] 313s Get:75 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-compiler-builtins-dev armhf 0.1.139-1 [178 kB] 313s Get:76 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-sval-derive-dev armhf 2.6.1-2 [11.0 kB] 313s Get:77 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-sval-dev armhf 2.6.1-2 [28.0 kB] 313s Get:78 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-sval-ref-dev armhf 2.6.1-1 [8936 B] 313s Get:79 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-erased-serde-dev armhf 0.3.31-1 [22.7 kB] 313s Get:80 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-serde-fmt-dev all 1.0.3-4 [7202 B] 313s Get:81 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-equivalent-dev armhf 1.0.1-1 [8240 B] 313s Get:82 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-either-dev armhf 1.13.0-1 [20.2 kB] 313s Get:83 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-crossbeam-utils-dev armhf 0.8.19-1 [41.1 kB] 313s Get:84 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-crossbeam-epoch-dev armhf 0.9.18-1 [42.3 kB] 313s Get:85 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-crossbeam-epoch+std-dev armhf 0.9.18-1 [1128 B] 313s Get:86 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-crossbeam-deque-dev armhf 0.8.5-1 [22.4 kB] 313s Get:87 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-rayon-core-dev armhf 1.12.1-1 [63.7 kB] 313s Get:88 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-rayon-dev armhf 1.10.0-1 [149 kB] 313s Get:89 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-hashbrown-dev armhf 0.14.5-5 [110 kB] 313s Get:90 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-indexmap-dev armhf 2.7.0-1 [69.4 kB] 313s Get:91 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-no-panic-dev armhf 0.1.32-1 [14.6 kB] 313s Get:92 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-itoa-dev armhf 1.0.14-1 [13.5 kB] 313s Get:93 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-ryu-dev armhf 1.0.19-1 [43.1 kB] 313s Get:94 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-serde-json-dev armhf 1.0.133-1 [130 kB] 313s Get:95 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-serde-test-dev armhf 1.0.171-1 [20.6 kB] 313s Get:96 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-value-bag-serde1-dev armhf 1.9.0-1 [7820 B] 313s Get:97 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-sval-buffer-dev armhf 2.6.1-1 [16.8 kB] 313s Get:98 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-sval-dynamic-dev armhf 2.6.1-1 [9542 B] 313s Get:99 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-sval-fmt-dev armhf 2.6.1-1 [12.0 kB] 313s Get:100 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-sval-serde-dev armhf 2.6.1-1 [13.2 kB] 313s Get:101 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-value-bag-sval2-dev armhf 1.9.0-1 [7862 B] 314s Get:102 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-value-bag-dev armhf 1.9.0-1 [37.6 kB] 314s Get:103 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-log-dev armhf 0.4.22-1 [43.0 kB] 314s Get:104 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-memchr-dev armhf 2.7.4-1 [71.8 kB] 314s Get:105 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-core2-dev armhf 0.4.0-1 [35.8 kB] 314s Get:106 http://ftpmaster.internal/ubuntu plucky/universe armhf librust-bitstream-io-dev armhf 2.5.0-1 [32.8 kB] 315s Fetched 149 MB in 7s (22.8 MB/s) 315s Selecting previously unselected package m4. 315s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60256 files and directories currently installed.) 315s Preparing to unpack .../000-m4_1.4.19-5_armhf.deb ... 315s Unpacking m4 (1.4.19-5) ... 315s Selecting previously unselected package autoconf. 315s Preparing to unpack .../001-autoconf_2.72-3_all.deb ... 315s Unpacking autoconf (2.72-3) ... 315s Selecting previously unselected package autotools-dev. 315s Preparing to unpack .../002-autotools-dev_20220109.1_all.deb ... 315s Unpacking autotools-dev (20220109.1) ... 315s Selecting previously unselected package automake. 315s Preparing to unpack .../003-automake_1%3a1.17-3_all.deb ... 315s Unpacking automake (1:1.17-3) ... 315s Selecting previously unselected package autopoint. 315s Preparing to unpack .../004-autopoint_0.23.1-1_all.deb ... 315s Unpacking autopoint (0.23.1-1) ... 315s Selecting previously unselected package libgit2-1.9:armhf. 315s Preparing to unpack .../005-libgit2-1.9_1.9.0~ds-0ubuntu1_armhf.deb ... 315s Unpacking libgit2-1.9:armhf (1.9.0~ds-0ubuntu1) ... 315s Selecting previously unselected package libllvm19:armhf. 315s Preparing to unpack .../006-libllvm19_1%3a19.1.7-1ubuntu1_armhf.deb ... 315s Unpacking libllvm19:armhf (1:19.1.7-1ubuntu1) ... 316s Selecting previously unselected package libstd-rust-1.84:armhf. 316s Preparing to unpack .../007-libstd-rust-1.84_1.84.0+dfsg0ubuntu1-0ubuntu1_armhf.deb ... 316s Unpacking libstd-rust-1.84:armhf (1.84.0+dfsg0ubuntu1-0ubuntu1) ... 317s Selecting previously unselected package libstd-rust-1.84-dev:armhf. 317s Preparing to unpack .../008-libstd-rust-1.84-dev_1.84.0+dfsg0ubuntu1-0ubuntu1_armhf.deb ... 317s Unpacking libstd-rust-1.84-dev:armhf (1.84.0+dfsg0ubuntu1-0ubuntu1) ... 318s Selecting previously unselected package libisl23:armhf. 318s Preparing to unpack .../009-libisl23_0.27-1_armhf.deb ... 318s Unpacking libisl23:armhf (0.27-1) ... 318s Selecting previously unselected package libmpc3:armhf. 318s Preparing to unpack .../010-libmpc3_1.3.1-1build2_armhf.deb ... 318s Unpacking libmpc3:armhf (1.3.1-1build2) ... 318s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 318s Preparing to unpack .../011-cpp-14-arm-linux-gnueabihf_14.2.0-16ubuntu1_armhf.deb ... 318s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-16ubuntu1) ... 318s Selecting previously unselected package cpp-14. 318s Preparing to unpack .../012-cpp-14_14.2.0-16ubuntu1_armhf.deb ... 318s Unpacking cpp-14 (14.2.0-16ubuntu1) ... 318s Selecting previously unselected package cpp-arm-linux-gnueabihf. 318s Preparing to unpack .../013-cpp-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 318s Unpacking cpp-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 318s Selecting previously unselected package cpp. 318s Preparing to unpack .../014-cpp_4%3a14.2.0-1ubuntu1_armhf.deb ... 318s Unpacking cpp (4:14.2.0-1ubuntu1) ... 319s Selecting previously unselected package libcc1-0:armhf. 319s Preparing to unpack .../015-libcc1-0_14.2.0-16ubuntu1_armhf.deb ... 319s Unpacking libcc1-0:armhf (14.2.0-16ubuntu1) ... 319s Selecting previously unselected package libgomp1:armhf. 319s Preparing to unpack .../016-libgomp1_14.2.0-16ubuntu1_armhf.deb ... 319s Unpacking libgomp1:armhf (14.2.0-16ubuntu1) ... 319s Selecting previously unselected package libasan8:armhf. 319s Preparing to unpack .../017-libasan8_14.2.0-16ubuntu1_armhf.deb ... 319s Unpacking libasan8:armhf (14.2.0-16ubuntu1) ... 319s Selecting previously unselected package libubsan1:armhf. 319s Preparing to unpack .../018-libubsan1_14.2.0-16ubuntu1_armhf.deb ... 319s Unpacking libubsan1:armhf (14.2.0-16ubuntu1) ... 319s Selecting previously unselected package libgcc-14-dev:armhf. 319s Preparing to unpack .../019-libgcc-14-dev_14.2.0-16ubuntu1_armhf.deb ... 319s Unpacking libgcc-14-dev:armhf (14.2.0-16ubuntu1) ... 319s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 319s Preparing to unpack .../020-gcc-14-arm-linux-gnueabihf_14.2.0-16ubuntu1_armhf.deb ... 319s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-16ubuntu1) ... 319s Selecting previously unselected package gcc-14. 319s Preparing to unpack .../021-gcc-14_14.2.0-16ubuntu1_armhf.deb ... 319s Unpacking gcc-14 (14.2.0-16ubuntu1) ... 320s Selecting previously unselected package gcc-arm-linux-gnueabihf. 320s Preparing to unpack .../022-gcc-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 320s Unpacking gcc-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 320s Selecting previously unselected package gcc. 320s Preparing to unpack .../023-gcc_4%3a14.2.0-1ubuntu1_armhf.deb ... 320s Unpacking gcc (4:14.2.0-1ubuntu1) ... 320s Selecting previously unselected package libc-dev-bin. 320s Preparing to unpack .../024-libc-dev-bin_2.40-4ubuntu1_armhf.deb ... 320s Unpacking libc-dev-bin (2.40-4ubuntu1) ... 320s Selecting previously unselected package linux-libc-dev:armhf. 320s Preparing to unpack .../025-linux-libc-dev_6.12.0-15.15_armhf.deb ... 320s Unpacking linux-libc-dev:armhf (6.12.0-15.15) ... 320s Selecting previously unselected package libcrypt-dev:armhf. 320s Preparing to unpack .../026-libcrypt-dev_1%3a4.4.38-1_armhf.deb ... 320s Unpacking libcrypt-dev:armhf (1:4.4.38-1) ... 320s Selecting previously unselected package rpcsvc-proto. 320s Preparing to unpack .../027-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 320s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 320s Selecting previously unselected package libc6-dev:armhf. 320s Preparing to unpack .../028-libc6-dev_2.40-4ubuntu1_armhf.deb ... 320s Unpacking libc6-dev:armhf (2.40-4ubuntu1) ... 320s Selecting previously unselected package rustc-1.84. 320s Preparing to unpack .../029-rustc-1.84_1.84.0+dfsg0ubuntu1-0ubuntu1_armhf.deb ... 320s Unpacking rustc-1.84 (1.84.0+dfsg0ubuntu1-0ubuntu1) ... 320s Selecting previously unselected package cargo-1.84. 320s Preparing to unpack .../030-cargo-1.84_1.84.0+dfsg0ubuntu1-0ubuntu1_armhf.deb ... 320s Unpacking cargo-1.84 (1.84.0+dfsg0ubuntu1-0ubuntu1) ... 321s Selecting previously unselected package libdebhelper-perl. 321s Preparing to unpack .../031-libdebhelper-perl_13.23ubuntu1_all.deb ... 321s Unpacking libdebhelper-perl (13.23ubuntu1) ... 321s Selecting previously unselected package libtool. 321s Preparing to unpack .../032-libtool_2.5.4-3build1_all.deb ... 321s Unpacking libtool (2.5.4-3build1) ... 321s Selecting previously unselected package dh-autoreconf. 321s Preparing to unpack .../033-dh-autoreconf_20_all.deb ... 321s Unpacking dh-autoreconf (20) ... 321s Selecting previously unselected package libarchive-zip-perl. 321s Preparing to unpack .../034-libarchive-zip-perl_1.68-1_all.deb ... 321s Unpacking libarchive-zip-perl (1.68-1) ... 321s Selecting previously unselected package libfile-stripnondeterminism-perl. 321s Preparing to unpack .../035-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... 321s Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... 321s Selecting previously unselected package dh-strip-nondeterminism. 321s Preparing to unpack .../036-dh-strip-nondeterminism_1.14.1-2_all.deb ... 321s Unpacking dh-strip-nondeterminism (1.14.1-2) ... 321s Selecting previously unselected package debugedit. 321s Preparing to unpack .../037-debugedit_1%3a5.1-2_armhf.deb ... 321s Unpacking debugedit (1:5.1-2) ... 321s Selecting previously unselected package dwz. 321s Preparing to unpack .../038-dwz_0.15-1build6_armhf.deb ... 321s Unpacking dwz (0.15-1build6) ... 321s Selecting previously unselected package gettext. 321s Preparing to unpack .../039-gettext_0.23.1-1_armhf.deb ... 321s Unpacking gettext (0.23.1-1) ... 321s Selecting previously unselected package intltool-debian. 321s Preparing to unpack .../040-intltool-debian_0.35.0+20060710.6_all.deb ... 321s Unpacking intltool-debian (0.35.0+20060710.6) ... 321s Selecting previously unselected package po-debconf. 321s Preparing to unpack .../041-po-debconf_1.0.21+nmu1_all.deb ... 321s Unpacking po-debconf (1.0.21+nmu1) ... 321s Selecting previously unselected package debhelper. 321s Preparing to unpack .../042-debhelper_13.23ubuntu1_all.deb ... 321s Unpacking debhelper (13.23ubuntu1) ... 321s Selecting previously unselected package rustc. 321s Preparing to unpack .../043-rustc_1.84.0ubuntu1_armhf.deb ... 321s Unpacking rustc (1.84.0ubuntu1) ... 321s Selecting previously unselected package cargo. 322s Preparing to unpack .../044-cargo_1.84.0ubuntu1_armhf.deb ... 322s Unpacking cargo (1.84.0ubuntu1) ... 322s Selecting previously unselected package dh-cargo-tools. 322s Preparing to unpack .../045-dh-cargo-tools_31ubuntu4_all.deb ... 322s Unpacking dh-cargo-tools (31ubuntu4) ... 322s Selecting previously unselected package dh-cargo. 322s Preparing to unpack .../046-dh-cargo_31ubuntu4_all.deb ... 322s Unpacking dh-cargo (31ubuntu4) ... 322s Selecting previously unselected package librust-critical-section-dev:armhf. 322s Preparing to unpack .../047-librust-critical-section-dev_1.2.0-1_armhf.deb ... 322s Unpacking librust-critical-section-dev:armhf (1.2.0-1) ... 322s Selecting previously unselected package librust-unicode-ident-dev:armhf. 322s Preparing to unpack .../048-librust-unicode-ident-dev_1.0.13-1_armhf.deb ... 322s Unpacking librust-unicode-ident-dev:armhf (1.0.13-1) ... 322s Selecting previously unselected package librust-proc-macro2-dev:armhf. 322s Preparing to unpack .../049-librust-proc-macro2-dev_1.0.92-1_armhf.deb ... 322s Unpacking librust-proc-macro2-dev:armhf (1.0.92-1) ... 322s Selecting previously unselected package librust-quote-dev:armhf. 322s Preparing to unpack .../050-librust-quote-dev_1.0.37-1_armhf.deb ... 322s Unpacking librust-quote-dev:armhf (1.0.37-1) ... 322s Selecting previously unselected package librust-syn-dev:armhf. 322s Preparing to unpack .../051-librust-syn-dev_2.0.96-2_armhf.deb ... 322s Unpacking librust-syn-dev:armhf (2.0.96-2) ... 322s Selecting previously unselected package librust-serde-derive-dev:armhf. 322s Preparing to unpack .../052-librust-serde-derive-dev_1.0.217-1_armhf.deb ... 322s Unpacking librust-serde-derive-dev:armhf (1.0.217-1) ... 322s Selecting previously unselected package librust-serde-dev:armhf. 322s Preparing to unpack .../053-librust-serde-dev_1.0.217-1_armhf.deb ... 322s Unpacking librust-serde-dev:armhf (1.0.217-1) ... 322s Selecting previously unselected package librust-portable-atomic-dev:armhf. 322s Preparing to unpack .../054-librust-portable-atomic-dev_1.10.0-3_armhf.deb ... 322s Unpacking librust-portable-atomic-dev:armhf (1.10.0-3) ... 322s Selecting previously unselected package librust-cfg-if-dev:armhf. 322s Preparing to unpack .../055-librust-cfg-if-dev_1.0.0-1_armhf.deb ... 322s Unpacking librust-cfg-if-dev:armhf (1.0.0-1) ... 322s Selecting previously unselected package librust-rustc-std-workspace-core-dev:armhf. 322s Preparing to unpack .../056-librust-rustc-std-workspace-core-dev_1.0.0-1_armhf.deb ... 322s Unpacking librust-rustc-std-workspace-core-dev:armhf (1.0.0-1) ... 322s Selecting previously unselected package librust-libc-dev:armhf. 322s Preparing to unpack .../057-librust-libc-dev_0.2.169-1_armhf.deb ... 322s Unpacking librust-libc-dev:armhf (0.2.169-1) ... 322s Selecting previously unselected package librust-getrandom-dev:armhf. 322s Preparing to unpack .../058-librust-getrandom-dev_0.2.15-1_armhf.deb ... 322s Unpacking librust-getrandom-dev:armhf (0.2.15-1) ... 322s Selecting previously unselected package librust-derive-arbitrary-dev:armhf. 322s Preparing to unpack .../059-librust-derive-arbitrary-dev_1.4.1-1_armhf.deb ... 322s Unpacking librust-derive-arbitrary-dev:armhf (1.4.1-1) ... 322s Selecting previously unselected package librust-arbitrary-dev:armhf. 322s Preparing to unpack .../060-librust-arbitrary-dev_1.4.1-1_armhf.deb ... 322s Unpacking librust-arbitrary-dev:armhf (1.4.1-1) ... 322s Selecting previously unselected package librust-smallvec-dev:armhf. 323s Preparing to unpack .../061-librust-smallvec-dev_1.13.2-1_armhf.deb ... 323s Unpacking librust-smallvec-dev:armhf (1.13.2-1) ... 323s Selecting previously unselected package librust-parking-lot-core-dev:armhf. 323s Preparing to unpack .../062-librust-parking-lot-core-dev_0.9.10-1_armhf.deb ... 323s Unpacking librust-parking-lot-core-dev:armhf (0.9.10-1) ... 323s Selecting previously unselected package librust-once-cell-dev:armhf. 323s Preparing to unpack .../063-librust-once-cell-dev_1.20.2-1_armhf.deb ... 323s Unpacking librust-once-cell-dev:armhf (1.20.2-1) ... 323s Selecting previously unselected package librust-crunchy-dev:armhf. 323s Preparing to unpack .../064-librust-crunchy-dev_0.2.2-1_armhf.deb ... 323s Unpacking librust-crunchy-dev:armhf (0.2.2-1) ... 323s Selecting previously unselected package librust-tiny-keccak-dev:armhf. 323s Preparing to unpack .../065-librust-tiny-keccak-dev_2.0.2-1_armhf.deb ... 323s Unpacking librust-tiny-keccak-dev:armhf (2.0.2-1) ... 323s Selecting previously unselected package librust-const-random-macro-dev:armhf. 323s Preparing to unpack .../066-librust-const-random-macro-dev_0.1.16-2_armhf.deb ... 323s Unpacking librust-const-random-macro-dev:armhf (0.1.16-2) ... 323s Selecting previously unselected package librust-const-random-dev:armhf. 323s Preparing to unpack .../067-librust-const-random-dev_0.1.17-2_armhf.deb ... 323s Unpacking librust-const-random-dev:armhf (0.1.17-2) ... 323s Selecting previously unselected package librust-version-check-dev:armhf. 323s Preparing to unpack .../068-librust-version-check-dev_0.9.5-1_armhf.deb ... 323s Unpacking librust-version-check-dev:armhf (0.9.5-1) ... 323s Selecting previously unselected package librust-byteorder-dev:armhf. 323s Preparing to unpack .../069-librust-byteorder-dev_1.5.0-1_armhf.deb ... 323s Unpacking librust-byteorder-dev:armhf (1.5.0-1) ... 323s Selecting previously unselected package librust-zerocopy-derive-dev:armhf. 323s Preparing to unpack .../070-librust-zerocopy-derive-dev_0.7.34-1_armhf.deb ... 323s Unpacking librust-zerocopy-derive-dev:armhf (0.7.34-1) ... 323s Selecting previously unselected package librust-zerocopy-dev:armhf. 323s Preparing to unpack .../071-librust-zerocopy-dev_0.7.34-1_armhf.deb ... 323s Unpacking librust-zerocopy-dev:armhf (0.7.34-1) ... 323s Selecting previously unselected package librust-ahash-dev. 323s Preparing to unpack .../072-librust-ahash-dev_0.8.11-9_all.deb ... 323s Unpacking librust-ahash-dev (0.8.11-9) ... 323s Selecting previously unselected package librust-allocator-api2-dev:armhf. 323s Preparing to unpack .../073-librust-allocator-api2-dev_0.2.16-1_armhf.deb ... 323s Unpacking librust-allocator-api2-dev:armhf (0.2.16-1) ... 323s Selecting previously unselected package librust-compiler-builtins-dev:armhf. 323s Preparing to unpack .../074-librust-compiler-builtins-dev_0.1.139-1_armhf.deb ... 323s Unpacking librust-compiler-builtins-dev:armhf (0.1.139-1) ... 323s Selecting previously unselected package librust-sval-derive-dev:armhf. 323s Preparing to unpack .../075-librust-sval-derive-dev_2.6.1-2_armhf.deb ... 323s Unpacking librust-sval-derive-dev:armhf (2.6.1-2) ... 323s Selecting previously unselected package librust-sval-dev:armhf. 323s Preparing to unpack .../076-librust-sval-dev_2.6.1-2_armhf.deb ... 323s Unpacking librust-sval-dev:armhf (2.6.1-2) ... 323s Selecting previously unselected package librust-sval-ref-dev:armhf. 323s Preparing to unpack .../077-librust-sval-ref-dev_2.6.1-1_armhf.deb ... 323s Unpacking librust-sval-ref-dev:armhf (2.6.1-1) ... 323s Selecting previously unselected package librust-erased-serde-dev:armhf. 324s Preparing to unpack .../078-librust-erased-serde-dev_0.3.31-1_armhf.deb ... 324s Unpacking librust-erased-serde-dev:armhf (0.3.31-1) ... 324s Selecting previously unselected package librust-serde-fmt-dev. 324s Preparing to unpack .../079-librust-serde-fmt-dev_1.0.3-4_all.deb ... 324s Unpacking librust-serde-fmt-dev (1.0.3-4) ... 324s Selecting previously unselected package librust-equivalent-dev:armhf. 324s Preparing to unpack .../080-librust-equivalent-dev_1.0.1-1_armhf.deb ... 324s Unpacking librust-equivalent-dev:armhf (1.0.1-1) ... 324s Selecting previously unselected package librust-either-dev:armhf. 324s Preparing to unpack .../081-librust-either-dev_1.13.0-1_armhf.deb ... 324s Unpacking librust-either-dev:armhf (1.13.0-1) ... 324s Selecting previously unselected package librust-crossbeam-utils-dev:armhf. 324s Preparing to unpack .../082-librust-crossbeam-utils-dev_0.8.19-1_armhf.deb ... 324s Unpacking librust-crossbeam-utils-dev:armhf (0.8.19-1) ... 324s Selecting previously unselected package librust-crossbeam-epoch-dev:armhf. 324s Preparing to unpack .../083-librust-crossbeam-epoch-dev_0.9.18-1_armhf.deb ... 324s Unpacking librust-crossbeam-epoch-dev:armhf (0.9.18-1) ... 324s Selecting previously unselected package librust-crossbeam-epoch+std-dev:armhf. 324s Preparing to unpack .../084-librust-crossbeam-epoch+std-dev_0.9.18-1_armhf.deb ... 324s Unpacking librust-crossbeam-epoch+std-dev:armhf (0.9.18-1) ... 324s Selecting previously unselected package librust-crossbeam-deque-dev:armhf. 324s Preparing to unpack .../085-librust-crossbeam-deque-dev_0.8.5-1_armhf.deb ... 324s Unpacking librust-crossbeam-deque-dev:armhf (0.8.5-1) ... 324s Selecting previously unselected package librust-rayon-core-dev:armhf. 324s Preparing to unpack .../086-librust-rayon-core-dev_1.12.1-1_armhf.deb ... 324s Unpacking librust-rayon-core-dev:armhf (1.12.1-1) ... 324s Selecting previously unselected package librust-rayon-dev:armhf. 324s Preparing to unpack .../087-librust-rayon-dev_1.10.0-1_armhf.deb ... 324s Unpacking librust-rayon-dev:armhf (1.10.0-1) ... 324s Selecting previously unselected package librust-hashbrown-dev:armhf. 324s Preparing to unpack .../088-librust-hashbrown-dev_0.14.5-5_armhf.deb ... 324s Unpacking librust-hashbrown-dev:armhf (0.14.5-5) ... 324s Selecting previously unselected package librust-indexmap-dev:armhf. 324s Preparing to unpack .../089-librust-indexmap-dev_2.7.0-1_armhf.deb ... 324s Unpacking librust-indexmap-dev:armhf (2.7.0-1) ... 324s Selecting previously unselected package librust-no-panic-dev:armhf. 324s Preparing to unpack .../090-librust-no-panic-dev_0.1.32-1_armhf.deb ... 324s Unpacking librust-no-panic-dev:armhf (0.1.32-1) ... 324s Selecting previously unselected package librust-itoa-dev:armhf. 324s Preparing to unpack .../091-librust-itoa-dev_1.0.14-1_armhf.deb ... 324s Unpacking librust-itoa-dev:armhf (1.0.14-1) ... 324s Selecting previously unselected package librust-ryu-dev:armhf. 324s Preparing to unpack .../092-librust-ryu-dev_1.0.19-1_armhf.deb ... 324s Unpacking librust-ryu-dev:armhf (1.0.19-1) ... 324s Selecting previously unselected package librust-serde-json-dev:armhf. 325s Preparing to unpack .../093-librust-serde-json-dev_1.0.133-1_armhf.deb ... 325s Unpacking librust-serde-json-dev:armhf (1.0.133-1) ... 325s Selecting previously unselected package librust-serde-test-dev:armhf. 325s Preparing to unpack .../094-librust-serde-test-dev_1.0.171-1_armhf.deb ... 325s Unpacking librust-serde-test-dev:armhf (1.0.171-1) ... 325s Selecting previously unselected package librust-value-bag-serde1-dev:armhf. 325s Preparing to unpack .../095-librust-value-bag-serde1-dev_1.9.0-1_armhf.deb ... 325s Unpacking librust-value-bag-serde1-dev:armhf (1.9.0-1) ... 325s Selecting previously unselected package librust-sval-buffer-dev:armhf. 325s Preparing to unpack .../096-librust-sval-buffer-dev_2.6.1-1_armhf.deb ... 325s Unpacking librust-sval-buffer-dev:armhf (2.6.1-1) ... 325s Selecting previously unselected package librust-sval-dynamic-dev:armhf. 325s Preparing to unpack .../097-librust-sval-dynamic-dev_2.6.1-1_armhf.deb ... 325s Unpacking librust-sval-dynamic-dev:armhf (2.6.1-1) ... 325s Selecting previously unselected package librust-sval-fmt-dev:armhf. 325s Preparing to unpack .../098-librust-sval-fmt-dev_2.6.1-1_armhf.deb ... 325s Unpacking librust-sval-fmt-dev:armhf (2.6.1-1) ... 325s Selecting previously unselected package librust-sval-serde-dev:armhf. 325s Preparing to unpack .../099-librust-sval-serde-dev_2.6.1-1_armhf.deb ... 325s Unpacking librust-sval-serde-dev:armhf (2.6.1-1) ... 325s Selecting previously unselected package librust-value-bag-sval2-dev:armhf. 325s Preparing to unpack .../100-librust-value-bag-sval2-dev_1.9.0-1_armhf.deb ... 325s Unpacking librust-value-bag-sval2-dev:armhf (1.9.0-1) ... 325s Selecting previously unselected package librust-value-bag-dev:armhf. 325s Preparing to unpack .../101-librust-value-bag-dev_1.9.0-1_armhf.deb ... 325s Unpacking librust-value-bag-dev:armhf (1.9.0-1) ... 325s Selecting previously unselected package librust-log-dev:armhf. 325s Preparing to unpack .../102-librust-log-dev_0.4.22-1_armhf.deb ... 325s Unpacking librust-log-dev:armhf (0.4.22-1) ... 325s Selecting previously unselected package librust-memchr-dev:armhf. 325s Preparing to unpack .../103-librust-memchr-dev_2.7.4-1_armhf.deb ... 325s Unpacking librust-memchr-dev:armhf (2.7.4-1) ... 325s Selecting previously unselected package librust-core2-dev:armhf. 325s Preparing to unpack .../104-librust-core2-dev_0.4.0-1_armhf.deb ... 325s Unpacking librust-core2-dev:armhf (0.4.0-1) ... 325s Selecting previously unselected package librust-bitstream-io-dev:armhf. 325s Preparing to unpack .../105-librust-bitstream-io-dev_2.5.0-1_armhf.deb ... 325s Unpacking librust-bitstream-io-dev:armhf (2.5.0-1) ... 325s Setting up librust-crossbeam-utils-dev:armhf (0.8.19-1) ... 325s Setting up libllvm19:armhf (1:19.1.7-1ubuntu1) ... 325s Setting up librust-either-dev:armhf (1.13.0-1) ... 325s Setting up dh-cargo-tools (31ubuntu4) ... 325s Setting up librust-version-check-dev:armhf (0.9.5-1) ... 325s Setting up libarchive-zip-perl (1.68-1) ... 325s Setting up libdebhelper-perl (13.23ubuntu1) ... 325s Setting up linux-libc-dev:armhf (6.12.0-15.15) ... 325s Setting up m4 (1.4.19-5) ... 325s Setting up librust-ryu-dev:armhf (1.0.19-1) ... 325s Setting up libgomp1:armhf (14.2.0-16ubuntu1) ... 325s Setting up librust-compiler-builtins-dev:armhf (0.1.139-1) ... 325s Setting up librust-crossbeam-epoch-dev:armhf (0.9.18-1) ... 325s Setting up autotools-dev (20220109.1) ... 325s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 325s Setting up librust-rustc-std-workspace-core-dev:armhf (1.0.0-1) ... 325s Setting up librust-critical-section-dev:armhf (1.2.0-1) ... 325s Setting up libmpc3:armhf (1.3.1-1build2) ... 325s Setting up autopoint (0.23.1-1) ... 325s Setting up librust-crunchy-dev:armhf (0.2.2-1) ... 325s Setting up libgit2-1.9:armhf (1.9.0~ds-0ubuntu1) ... 325s Setting up autoconf (2.72-3) ... 325s Setting up libstd-rust-1.84:armhf (1.84.0+dfsg0ubuntu1-0ubuntu1) ... 325s Setting up libubsan1:armhf (14.2.0-16ubuntu1) ... 325s Setting up librust-unicode-ident-dev:armhf (1.0.13-1) ... 325s Setting up librust-equivalent-dev:armhf (1.0.1-1) ... 325s Setting up dwz (0.15-1build6) ... 325s Setting up libcrypt-dev:armhf (1:4.4.38-1) ... 325s Setting up libasan8:armhf (14.2.0-16ubuntu1) ... 325s Setting up libstd-rust-1.84-dev:armhf (1.84.0+dfsg0ubuntu1-0ubuntu1) ... 325s Setting up librust-cfg-if-dev:armhf (1.0.0-1) ... 325s Setting up debugedit (1:5.1-2) ... 325s Setting up librust-byteorder-dev:armhf (1.5.0-1) ... 325s Setting up libgcc-14-dev:armhf (14.2.0-16ubuntu1) ... 325s Setting up libisl23:armhf (0.27-1) ... 325s Setting up libc-dev-bin (2.40-4ubuntu1) ... 325s Setting up libcc1-0:armhf (14.2.0-16ubuntu1) ... 325s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-16ubuntu1) ... 325s Setting up automake (1:1.17-3) ... 325s update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode 325s Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... 325s Setting up librust-crossbeam-epoch+std-dev:armhf (0.9.18-1) ... 325s Setting up librust-libc-dev:armhf (0.2.169-1) ... 325s Setting up gettext (0.23.1-1) ... 325s Setting up librust-crossbeam-deque-dev:armhf (0.8.5-1) ... 325s Setting up librust-tiny-keccak-dev:armhf (2.0.2-1) ... 325s Setting up librust-getrandom-dev:armhf (0.2.15-1) ... 325s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-16ubuntu1) ... 325s Setting up librust-proc-macro2-dev:armhf (1.0.92-1) ... 325s Setting up librust-rayon-core-dev:armhf (1.12.1-1) ... 325s Setting up intltool-debian (0.35.0+20060710.6) ... 325s Setting up cpp-14 (14.2.0-16ubuntu1) ... 325s Setting up dh-strip-nondeterminism (1.14.1-2) ... 325s Setting up libc6-dev:armhf (2.40-4ubuntu1) ... 325s Setting up librust-rayon-dev:armhf (1.10.0-1) ... 325s Setting up cpp-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 325s Setting up gcc-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 325s Setting up po-debconf (1.0.21+nmu1) ... 325s Setting up librust-quote-dev:armhf (1.0.37-1) ... 325s Setting up librust-syn-dev:armhf (2.0.96-2) ... 325s Setting up gcc-14 (14.2.0-16ubuntu1) ... 325s Setting up librust-sval-derive-dev:armhf (2.6.1-2) ... 325s Setting up librust-no-panic-dev:armhf (0.1.32-1) ... 325s Setting up cpp (4:14.2.0-1ubuntu1) ... 325s Setting up librust-serde-derive-dev:armhf (1.0.217-1) ... 325s Setting up librust-zerocopy-derive-dev:armhf (0.7.34-1) ... 325s Setting up librust-serde-dev:armhf (1.0.217-1) ... 325s Setting up librust-derive-arbitrary-dev:armhf (1.4.1-1) ... 325s Setting up librust-allocator-api2-dev:armhf (0.2.16-1) ... 325s Setting up librust-serde-fmt-dev (1.0.3-4) ... 325s Setting up libtool (2.5.4-3build1) ... 325s Setting up librust-portable-atomic-dev:armhf (1.10.0-3) ... 325s Setting up librust-sval-dev:armhf (2.6.1-2) ... 325s Setting up librust-itoa-dev:armhf (1.0.14-1) ... 325s Setting up gcc (4:14.2.0-1ubuntu1) ... 325s Setting up dh-autoreconf (20) ... 325s Setting up librust-sval-ref-dev:armhf (2.6.1-1) ... 325s Setting up librust-zerocopy-dev:armhf (0.7.34-1) ... 325s Setting up rustc-1.84 (1.84.0+dfsg0ubuntu1-0ubuntu1) ... 325s Setting up rustc (1.84.0ubuntu1) ... 325s Setting up librust-arbitrary-dev:armhf (1.4.1-1) ... 325s Setting up librust-serde-test-dev:armhf (1.0.171-1) ... 325s Setting up librust-erased-serde-dev:armhf (0.3.31-1) ... 325s Setting up cargo-1.84 (1.84.0+dfsg0ubuntu1-0ubuntu1) ... 325s Setting up librust-sval-dynamic-dev:armhf (2.6.1-1) ... 325s Setting up librust-sval-buffer-dev:armhf (2.6.1-1) ... 325s Setting up debhelper (13.23ubuntu1) ... 325s Setting up librust-smallvec-dev:armhf (1.13.2-1) ... 325s Setting up librust-sval-fmt-dev:armhf (2.6.1-1) ... 325s Setting up cargo (1.84.0ubuntu1) ... 325s Setting up dh-cargo (31ubuntu4) ... 325s Setting up librust-parking-lot-core-dev:armhf (0.9.10-1) ... 325s Setting up librust-once-cell-dev:armhf (1.20.2-1) ... 325s Setting up librust-sval-serde-dev:armhf (2.6.1-1) ... 325s Setting up librust-const-random-macro-dev:armhf (0.1.16-2) ... 325s Setting up librust-const-random-dev:armhf (0.1.17-2) ... 325s Setting up librust-ahash-dev (0.8.11-9) ... 325s Setting up librust-value-bag-sval2-dev:armhf (1.9.0-1) ... 325s Setting up librust-hashbrown-dev:armhf (0.14.5-5) ... 325s Setting up librust-indexmap-dev:armhf (2.7.0-1) ... 325s Setting up librust-serde-json-dev:armhf (1.0.133-1) ... 325s Setting up librust-value-bag-serde1-dev:armhf (1.9.0-1) ... 325s Setting up librust-value-bag-dev:armhf (1.9.0-1) ... 325s Setting up librust-log-dev:armhf (0.4.22-1) ... 325s Setting up librust-memchr-dev:armhf (2.7.4-1) ... 325s Setting up librust-core2-dev:armhf (0.4.0-1) ... 325s Setting up librust-bitstream-io-dev:armhf (2.5.0-1) ... 325s Processing triggers for libc-bin (2.40-4ubuntu1) ... 325s Processing triggers for man-db (2.13.0-1) ... 326s Processing triggers for install-info (7.1.1-1) ... 336s autopkgtest [21:14:50]: test rust-bitstream-io:@: /usr/share/cargo/bin/cargo-auto-test bitstream-io 2.5.0 --all-targets --all-features 336s autopkgtest [21:14:50]: test rust-bitstream-io:@: [----------------------- 338s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 338s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 338s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 338s debian cargo wrapper: linking /usr/share/cargo/registry/* into /tmp/tmp.ioLiwSnNWZ/registry/ 338s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 338s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 338s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 338s debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j8', '--target', 'armv7-unknown-linux-gnueabihf', '--all-targets', '--all-features'],) {} 339s Compiling memchr v2.7.4 339s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=memchr CARGO_MANIFEST_DIR=/tmp/tmp.ioLiwSnNWZ/registry/memchr-2.7.4 CARGO_MANIFEST_PATH=/tmp/tmp.ioLiwSnNWZ/registry/memchr-2.7.4/Cargo.toml CARGO_PKG_AUTHORS='Andrew Gallant :bluss' CARGO_PKG_DESCRIPTION='Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for 339s 1, 2 or 3 byte search and single substring search. 339s ' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/memchr' CARGO_PKG_LICENSE='Unlicense OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=memchr CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/memchr' CARGO_PKG_RUST_VERSION=1.61 CARGO_PKG_VERSION=2.7.4 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name memchr --edition=2021 /tmp/tmp.ioLiwSnNWZ/registry/memchr-2.7.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=7ec06d6b41e659ab -C extra-filename=-7ec06d6b41e659ab --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` 340s Compiling core2 v0.4.0 340s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=core2 CARGO_MANIFEST_DIR=/tmp/tmp.ioLiwSnNWZ/registry/core2-0.4.0 CARGO_MANIFEST_PATH=/tmp/tmp.ioLiwSnNWZ/registry/core2-0.4.0/Cargo.toml CARGO_PKG_AUTHORS='Brendan Molloy ' CARGO_PKG_DESCRIPTION='The bare essentials of std::io for use in no_std. Alloc support is optional.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=core2 CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/bbqsrc/core2' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.4.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name core2 --edition=2018 /tmp/tmp.ioLiwSnNWZ/registry/core2-0.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=4ceb33dd85bb7c3c -C extra-filename=-4ceb33dd85bb7c3c --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern memchr=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libmemchr-7ec06d6b41e659ab.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` 340s warning: unexpected `cfg` condition value: `nightly` 340s --> /usr/share/cargo/registry/core2-0.4.0/src/lib.rs:1:13 340s | 340s 1 | #![cfg_attr(feature = "nightly", feature(maybe_uninit_ref))] 340s | ^^^^^^^^^^^^^^^^^^^ 340s | 340s = note: expected values for `feature` are: `alloc`, `default`, and `std` 340s = help: consider adding `nightly` as a feature in `Cargo.toml` 340s = note: see for more information about checking conditional configuration 340s = note: `#[warn(unexpected_cfgs)]` on by default 340s 340s warning: unexpected `cfg` condition value: `nightly` 340s --> /usr/share/cargo/registry/core2-0.4.0/src/lib.rs:2:13 340s | 340s 2 | #![cfg_attr(feature = "nightly", feature(never_type))] 340s | ^^^^^^^^^^^^^^^^^^^ 340s | 340s = note: expected values for `feature` are: `alloc`, `default`, and `std` 340s = help: consider adding `nightly` as a feature in `Cargo.toml` 340s = note: see for more information about checking conditional configuration 340s 340s warning: unexpected `cfg` condition value: `nightly` 340s --> /usr/share/cargo/registry/core2-0.4.0/src/lib.rs:3:34 340s | 340s 3 | #![cfg_attr(all(feature = "std", feature = "nightly"), feature(read_initializer))] 340s | ^^^^^^^^^^^^^^^^^^^ 340s | 340s = note: expected values for `feature` are: `alloc`, `default`, and `std` 340s = help: consider adding `nightly` as a feature in `Cargo.toml` 340s = note: see for more information about checking conditional configuration 340s 340s warning: unexpected `cfg` condition value: `nightly` 340s --> /usr/share/cargo/registry/core2-0.4.0/src/error.rs:323:7 340s | 340s 323 | #[cfg(feature = "nightly")] 340s | ^^^^^^^^^^^^^^^^^^^ 340s | 340s = note: expected values for `feature` are: `alloc`, `default`, and `std` 340s = help: consider adding `nightly` as a feature in `Cargo.toml` 340s = note: see for more information about checking conditional configuration 340s 340s warning: unexpected `cfg` condition value: `nightly` 340s --> /usr/share/cargo/registry/core2-0.4.0/src/io/mod.rs:1:7 340s | 340s 1 | #[cfg(feature = "nightly")] 340s | ^^^^^^^^^^^^^^^^^^^ 340s | 340s = note: expected values for `feature` are: `alloc`, `default`, and `std` 340s = help: consider adding `nightly` as a feature in `Cargo.toml` 340s = note: see for more information about checking conditional configuration 340s 340s warning: unexpected `cfg` condition value: `nightly` 340s --> /usr/share/cargo/registry/core2-0.4.0/src/io/mod.rs:22:7 340s | 340s 22 | #[cfg(feature = "nightly")] 340s | ^^^^^^^^^^^^^^^^^^^ 340s | 340s = note: expected values for `feature` are: `alloc`, `default`, and `std` 340s = help: consider adding `nightly` as a feature in `Cargo.toml` 340s = note: see for more information about checking conditional configuration 340s 340s warning: unexpected `cfg` condition value: `nightly` 340s --> /usr/share/cargo/registry/core2-0.4.0/src/io/mod.rs:25:7 340s | 340s 25 | #[cfg(feature = "nightly")] 340s | ^^^^^^^^^^^^^^^^^^^ 340s | 340s = note: expected values for `feature` are: `alloc`, `default`, and `std` 340s = help: consider adding `nightly` as a feature in `Cargo.toml` 340s = note: see for more information about checking conditional configuration 340s 340s warning: unexpected `cfg` condition value: `nightly` 340s --> /usr/share/cargo/registry/core2-0.4.0/src/io/util.rs:1:7 340s | 340s 1 | #[cfg(feature = "nightly")] 340s | ^^^^^^^^^^^^^^^^^^^ 340s | 340s = note: expected values for `feature` are: `alloc`, `default`, and `std` 340s = help: consider adding `nightly` as a feature in `Cargo.toml` 340s = note: see for more information about checking conditional configuration 340s 340s warning: unexpected `cfg` condition value: `nightly` 340s --> /usr/share/cargo/registry/core2-0.4.0/src/io/util.rs:4:7 340s | 340s 4 | #[cfg(feature = "nightly")] 340s | ^^^^^^^^^^^^^^^^^^^ 340s | 340s = note: expected values for `feature` are: `alloc`, `default`, and `std` 340s = help: consider adding `nightly` as a feature in `Cargo.toml` 340s = note: see for more information about checking conditional configuration 340s 340s warning: unexpected `cfg` condition value: `nightly` 340s --> /usr/share/cargo/registry/core2-0.4.0/src/io/util.rs:7:7 340s | 340s 7 | #[cfg(feature = "nightly")] 340s | ^^^^^^^^^^^^^^^^^^^ 340s | 340s = note: expected values for `feature` are: `alloc`, `default`, and `std` 340s = help: consider adding `nightly` as a feature in `Cargo.toml` 340s = note: see for more information about checking conditional configuration 340s 340s Compiling bitstream-io v2.5.0 (/usr/share/cargo/registry/bitstream-io-2.5.0) 340s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=6a9b9b9765cb8027 -C extra-filename=-6a9b9b9765cb8027 --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` 340s warning: `core2` (lib) generated 10 warnings 340s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=e45b382d2ba5af87 -C extra-filename=-e45b382d2ba5af87 --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` 342s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name read --edition=2018 tests/read.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=7b1c9f98fe5c71f3 -C extra-filename=-7b1c9f98fe5c71f3 --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern bitstream_io=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-6a9b9b9765cb8027.rlib --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` 342s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read_seek CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name read_seek --edition=2018 tests/read_seek.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=6f034ce502fe6542 -C extra-filename=-6f034ce502fe6542 --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern bitstream_io=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-6a9b9b9765cb8027.rlib --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` 342s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=roundtrip CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name roundtrip --edition=2018 tests/roundtrip.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=34e2b66cc519a0ba -C extra-filename=-34e2b66cc519a0ba --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern bitstream_io=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-6a9b9b9765cb8027.rlib --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` 342s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=write CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name write --edition=2018 tests/write.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=46ff07ffb5c15212 -C extra-filename=-46ff07ffb5c15212 --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern bitstream_io=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-6a9b9b9765cb8027.rlib --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` 342s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=huffman CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name huffman --edition=2018 tests/huffman.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=8eab9156373c5483 -C extra-filename=-8eab9156373c5483 --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern bitstream_io=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-6a9b9b9765cb8027.rlib --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` is not satisfied 342s --> tests/read_seek.rs:26:49 342s | 342s 26 | let mut r: BitReader<_, E> = BitReader::new(Cursor::new(&actual_data)); 342s | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 7]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::new` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:412:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` is not satisfied 342s --> tests/read_seek.rs:26:34 342s | 342s 26 | let mut r: BitReader<_, E> = BitReader::new(Cursor::new(&actual_data)); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 7]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` is not satisfied 342s --> tests/read_seek.rs:26:16 342s | 342s 26 | let mut r: BitReader<_, E> = BitReader::new(Cursor::new(&actual_data)); 342s | ^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 7]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` is not satisfied 342s --> tests/huffman.rs:80:35 342s | 342s 80 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[{integer}; 2]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` is not satisfied 342s --> tests/huffman.rs:80:17 342s | 342s 80 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[{integer}; 2]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:30:61 342s | 342s 30 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 342s | ----------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:30:38 342s | 342s 30 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 342s | ----------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:28:18 342s | 342s 28 | assert_eq!(r.position_in_bits()?, 0); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:81:18 342s | 342s 81 | assert_eq!(r.read_huffman(&tree).unwrap(), Some(1)); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: HuffmanRead` 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:82:18 342s | 342s 82 | assert_eq!(r.read_huffman(&tree).unwrap(), Some(2)); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: HuffmanRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:29:7 342s | 342s 29 | r.read_bit()?; 342s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:83:18 342s | 342s 83 | assert_eq!(r.read_huffman(&tree).unwrap(), Some(0)); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: HuffmanRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:30:7 342s | 342s 30 | r.read_bit()?; 342s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `read` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:32:43 342s | 342s 32 | assert_eq!(reader.read::(bits).unwrap(), value as u32); 342s | ^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 342s ... 342s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 342s | ----------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:84:18 342s | 342s 84 | assert_eq!(r.read_huffman(&tree).unwrap(), Some(0)); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: HuffmanRead` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:31:18 342s | 342s 31 | assert_eq!(r.position_in_bits()?, 2); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:85:18 342s | 342s 85 | assert_eq!(r.read_huffman(&tree).unwrap(), None); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: HuffmanRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:51:61 342s | 342s 51 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 342s | ----------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:51:38 342s | 342s 51 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 342s | ----------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:32:20 342s | 342s 32 | let _: u32 = r.read(5)?; 342s | ^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:33:18 342s | 342s 33 | assert_eq!(r.position_in_bits()?, 7); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_signed` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:53:43 342s | 342s 53 | assert_eq!(reader.read_signed::(bits).unwrap(), value as i32); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 342s ... 342s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 342s | ----------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` is not satisfied 342s --> tests/huffman.rs:96:35 342s | 342s 96 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[{integer}; 2]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` is not satisfied 342s --> tests/huffman.rs:96:17 342s | 342s 96 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[{integer}; 2]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:97:18 342s | 342s 97 | assert_eq!(r.read_huffman(&tree).unwrap().deref(), "bar"); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: HuffmanRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:30:61 342s | 342s 30 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 342s | -------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:30:38 342s | 342s 30 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 342s | -------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:34:20 342s | 342s 34 | let _: u32 = r.read(4)?; 342s | ^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:35:18 342s | 342s 35 | assert_eq!(r.position_in_bits()?, 11); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:32:43 342s | 342s 32 | assert_eq!(reader.read::(bits).unwrap(), value as u32); 342s | ^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 342s ... 342s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 342s | -------------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:98:18 342s | 342s 98 | assert_eq!(r.read_huffman(&tree).unwrap().deref(), "baz"); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: HuffmanRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:51:61 342s | 342s 51 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 342s | -------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:51:38 342s | 342s 51 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 342s | -------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:67:35 342s | 342s 67 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:99:18 342s | 342s 99 | assert_eq!(r.read_huffman(&tree).unwrap().deref(), "foo"); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: HuffmanRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:67:17 342s | 342s 67 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `read_bytes` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:37:7 342s | 342s 37 | r.read_bytes(&mut buf)?; 342s | ^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `read_signed` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:53:43 342s | 342s 53 | assert_eq!(reader.read_signed::(bits).unwrap(), value as i32); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 342s ... 342s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 342s | -------------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 342s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:38:18 342s | 342s 38 | assert_eq!(r.position_in_bits()?, 27); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:78:57 342s | 342s 78 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 342s | ----------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:78:34 342s | 342s 78 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 342s | ----------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:100:18 342s | 342s 100 | assert_eq!(r.read_huffman(&tree).unwrap().deref(), "foo"); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: HuffmanRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:39:7 342s | 342s 39 | r.read_bit()?; 342s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `read_unary0` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:80:39 342s | 342s 80 | assert_eq!(reader.read_unary0().unwrap(), value); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 342s ... 342s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 342s | ----------------------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:101:18 342s | 342s 101 | assert_eq!(r.read_huffman(&tree).unwrap().deref(), "kelp"); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: HuffmanRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:94:57 342s | 342s 94 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 342s | ----------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:40:7 342s | 342s 40 | r.read_bit()?; 342s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:94:34 342s | 342s 94 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 342s | ----------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:68:18 342s | 342s 68 | assert_eq!(r.read_bit().unwrap(), true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_unary1` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:96:39 342s | 342s 96 | assert_eq!(reader.read_unary1().unwrap(), value); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 342s ... 342s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 342s | ----------------------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:41:7 342s | 342s 41 | r.read_bit()?; 342s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:69:18 342s | 342s 69 | assert_eq!(r.read_bit().unwrap(), false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:78:57 342s | 342s 78 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:42:7 342s | 342s 42 | r.read_bit()?; 342s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:78:34 342s | 342s 78 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:43:7 342s | 342s 43 | r.read_bit()?; 342s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `read_unary0` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:80:39 342s | 342s 80 | assert_eq!(reader.read_unary0().unwrap(), value); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 342s ... 342s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:70:18 342s | 342s 70 | assert_eq!(r.read_bit().unwrap(), true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/huffman.rs:148:49 342s | 342s 148 | let mut reader_be = BitReader::new(&mut cursor_be); 342s | -------------- ^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::new` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:412:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/huffman.rs:148:29 342s | 342s 148 | let mut reader_be = BitReader::new(&mut cursor_be); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:94:57 342s | 342s 94 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/huffman.rs:149:49 342s | 342s 149 | let mut reader_le = BitReader::new(&mut cursor_le); 342s | -------------- ^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::new` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:412:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:94:34 342s | 342s 94 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/huffman.rs:149:29 342s | 342s 149 | let mut reader_le = BitReader::new(&mut cursor_le); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:44:7 342s | 342s 44 | r.read_bit()?; 342s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:71:18 342s | 342s 71 | assert_eq!(r.read_bit().unwrap(), true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_unary1` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:96:39 342s | 342s 96 | assert_eq!(reader.read_unary1().unwrap(), value); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 342s ... 342s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 342s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:45:7 342s | 342s 45 | r.read_bit()?; 342s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:72:18 342s | 342s 72 | assert_eq!(r.read_bit().unwrap(), false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:121:57 342s | 342s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 130 | define_float_roundtrip!(test_f32_roundtrip_be, BigEndian, f32); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader<&mut Cursor<&Vec>, _>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:152:38 342s | 342s 152 | assert_eq!(reader_be.read_huffman(&read_tree_be).unwrap(), Some(bits)); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, _>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, _>: HuffmanRead<_>` 342s 342s error[E0599]: the method `read_signed` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:46:20 342s | 342s 46 | let _: i32 = r.read_signed(9)?; 342s | --^^^^^^^^^^^--- 342s | | | 342s | | this is an associated function, not a method 342s | help: use associated function syntax instead: `BitReader, E>::read_signed(9)` 342s | 342s = note: found the following associated functions; to be used as methods, functions must have a `self` parameter 342s note: the candidate is defined in the trait `Endianness` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/lib.rs:402:5 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:73:18 342s | 342s 73 | assert_eq!(r.read_bit().unwrap(), false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:121:34 342s | 342s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 130 | define_float_roundtrip!(test_f32_roundtrip_be, BigEndian, f32); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_huffman` exists for struct `BitReader<&mut Cursor<&Vec>, _>`, but its trait bounds were not satisfied 342s --> tests/huffman.rs:153:38 342s | 342s 153 | assert_eq!(reader_le.read_huffman(&read_tree_le).unwrap(), Some(bits)); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, _>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, _>: HuffmanRead<_>` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:74:18 342s | 342s 74 | assert_eq!(r.read_bit().unwrap(), false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:47:18 342s | 342s 47 | assert_eq!(r.position_in_bits()?, 43); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_signed` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:48:20 342s | 342s 48 | let _: i32 = r.read_signed(5)?; 342s | --^^^^^^^^^^^--- 342s | | | 342s | | this is an associated function, not a method 342s | help: use associated function syntax instead: `BitReader, E>::read_signed(5)` 342s | 342s = note: found the following associated functions; to be used as methods, functions must have a `self` parameter 342s note: the candidate is defined in the trait `Endianness` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/lib.rs:402:5 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s which is required by `BitReader, E>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:75:18 342s | 342s 75 | assert_eq!(r.read_bit().unwrap(), true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:49:18 342s | 342s 49 | assert_eq!(r.position_in_bits()?, 48); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:76:18 342s | 342s 76 | assert_eq!(r.read_bit().unwrap(), true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read_seek.rs:57:35 342s | 342s 57 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0599]: the method `read_to` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:123:39 342s | 342s 123 | assert_eq!(reader.read_to::<$t>().unwrap(), value as $t); 342s | ^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 342s ... 342s 130 | define_float_roundtrip!(test_f32_roundtrip_be, BigEndian, f32); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read_seek.rs:57:17 342s | 342s 57 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s Some errors have detailed explanations: E0277, E0599. 342s For more information about an error, try `rustc --explain E0277`. 342s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:59:7 342s | 342s 59 | r.seek_bits(SeekFrom::Start(0))?; 342s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:77:18 342s | 342s 77 | assert_eq!(r.read_bit().unwrap(), true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:121:57 342s | 342s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 131 | define_float_roundtrip!(test_f64_roundtrip_be, BigEndian, f64); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:60:18 342s | 342s 60 | assert_eq!(r.position_in_bits()?, 0); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:121:34 342s | 342s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 131 | define_float_roundtrip!(test_f64_roundtrip_be, BigEndian, f64); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:78:18 342s | 342s 78 | assert_eq!(r.read_bit().unwrap(), true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error: could not compile `bitstream-io` (test "huffman") due to 20 previous errors 342s 342s Caused by: 342s process didn't exit successfully: `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=huffman CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name huffman --edition=2018 tests/huffman.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=8eab9156373c5483 -C extra-filename=-8eab9156373c5483 --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern bitstream_io=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-6a9b9b9765cb8027.rlib --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` (exit status: 1) 342s warning: build failed, waiting for other jobs to finish... 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:61:18 342s | 342s 61 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:79:18 342s | 342s 79 | assert_eq!(r.read_bit().unwrap(), false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_to` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:123:39 342s | 342s 123 | assert_eq!(reader.read_to::<$t>().unwrap(), value as $t); 342s | ^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 342s ... 342s 131 | define_float_roundtrip!(test_f64_roundtrip_be, BigEndian, f64); 342s | -------------------------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:62:18 342s | 342s 62 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:121:57 342s | 342s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 132 | define_float_roundtrip!(test_f32_roundtrip_le, LittleEndian, f32); 342s | ----------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:80:18 342s | 342s 80 | assert_eq!(r.read_bit().unwrap(), true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:121:34 342s | 342s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 132 | define_float_roundtrip!(test_f32_roundtrip_le, LittleEndian, f32); 342s | ----------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:63:18 342s | 342s 63 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_to` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:123:39 342s | 342s 123 | assert_eq!(reader.read_to::<$t>().unwrap(), value as $t); 342s | ^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 342s ... 342s 132 | define_float_roundtrip!(test_f32_roundtrip_le, LittleEndian, f32); 342s | ----------------------------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:81:18 342s | 342s 81 | assert_eq!(r.read_bit().unwrap(), true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:64:18 342s | 342s 64 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:121:57 342s | 342s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s | | 342s | required by a bound introduced by this call 342s ... 342s 133 | define_float_roundtrip!(test_f64_roundtrip_le, LittleEndian, f64); 342s | ----------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 342s --> tests/roundtrip.rs:121:34 342s | 342s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 342s ... 342s 133 | define_float_roundtrip!(test_f64_roundtrip_le, LittleEndian, f64); 342s | ----------------------------------------------------------------- in this macro invocation 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:82:18 342s | 342s 82 | assert_eq!(r.read_bit().unwrap(), false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:65:18 342s | 342s 65 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:83:18 342s | 342s 83 | assert_eq!(r.read_bit().unwrap(), true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:86:35 342s | 342s 86 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:86:17 342s | 342s 86 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:66:18 342s | 342s 66 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_to` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 342s --> tests/roundtrip.rs:123:39 342s | 342s 123 | assert_eq!(reader.read_to::<$t>().unwrap(), value as $t); 342s | ^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 342s ... 342s 133 | define_float_roundtrip!(test_f64_roundtrip_le, LittleEndian, f64); 342s | ----------------------------------------------------------------- in this macro invocation 342s | 342s = note: the following trait bounds were not satisfied: 342s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 342s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 342s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:87:15 342s | 342s 87 | assert!(r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:67:18 342s | 342s 67 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:68:18 342s | 342s 68 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:88:18 342s | 342s 88 | assert_eq!(r.read::(2).unwrap(), 2); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error: could not compile `bitstream-io` (test "roundtrip") due to 36 previous errors 342s 342s Caused by: 342s process didn't exit successfully: `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=roundtrip CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name roundtrip --edition=2018 tests/roundtrip.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=34e2b66cc519a0ba -C extra-filename=-34e2b66cc519a0ba --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern bitstream_io=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-6a9b9b9765cb8027.rlib --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` (exit status: 1) 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:69:18 342s | 342s 69 | assert_eq!(r.position_in_bits()?, 8); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:89:16 342s | 342s 89 | assert!(!r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:71:7 342s | 342s 71 | r.seek_bits(SeekFrom::Start(2))?; 342s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:90:18 342s | 342s 90 | assert_eq!(r.read::(3).unwrap(), 6); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:72:18 342s | 342s 72 | assert_eq!(r.position_in_bits()?, 2); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:91:16 342s | 342s 91 | assert!(!r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:92:18 342s | 342s 92 | assert_eq!(r.read::(5).unwrap(), 7); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:73:18 342s | 342s 73 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:74:18 342s | 342s 74 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:93:16 342s | 342s 93 | assert!(!r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:94:18 342s | 342s 94 | assert_eq!(r.read::(3).unwrap(), 5); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:75:18 342s | 342s 75 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:95:16 342s | 342s 95 | assert!(!r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:76:18 342s | 342s 76 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:96:18 342s | 342s 96 | assert_eq!(r.read::(19).unwrap(), 0x53BC1); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:77:18 342s | 342s 77 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:97:15 342s | 342s 97 | assert!(r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:78:18 342s | 342s 78 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:98:15 342s | 342s 98 | assert!(r.read::(1).is_err()); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:101:35 342s | 342s 101 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:101:17 342s | 342s 101 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:79:18 342s | 342s 79 | assert_eq!(r.position_in_bits()?, 8); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:80:18 342s | 342s 80 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:102:15 342s | 342s 102 | assert!(r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:81:18 342s | 342s 81 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:103:18 342s | 342s 103 | assert_eq!(r.read_in::<2, u32>().unwrap(), 2); 342s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:82:18 342s | 342s 82 | assert_eq!(r.position_in_bits()?, 10); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:104:16 342s | 342s 104 | assert!(!r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:84:7 342s | 342s 84 | r.seek_bits(SeekFrom::Start(7))?; 342s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:105:18 342s | 342s 105 | assert_eq!(r.read_in::<3, u32>().unwrap(), 6); 342s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:85:18 342s | 342s 85 | assert_eq!(r.position_in_bits()?, 7); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:106:16 342s | 342s 106 | assert!(!r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:86:18 342s | 342s 86 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:107:18 342s | 342s 107 | assert_eq!(r.read_in::<5, u32>().unwrap(), 7); 342s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:87:18 342s | 342s 87 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:108:16 342s | 342s 108 | assert!(!r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:88:18 342s | 342s 88 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:109:18 342s | 342s 109 | assert_eq!(r.read_in::<3, u32>().unwrap(), 5); 342s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:89:18 342s | 342s 89 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:110:16 342s | 342s 110 | assert!(!r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:90:18 342s | 342s 90 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 342s --> tests/write.rs:838:35 342s | 342s 838 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Write`: 342s &mut W 342s &mut [u8] 342s Vec 342s core2::io::cursor::Cursor<&mut [u8]> 342s note: required by a bound in `BitWriter::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 342s 342s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:111:18 342s | 342s 111 | assert_eq!(r.read_in::<19, u32>().unwrap(), 0x53BC1); 342s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 342s --> tests/write.rs:838:17 342s | 342s 838 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 342s | 342s = help: the following other types implement trait `core2::io::traits::Write`: 342s &mut W 342s &mut [u8] 342s Vec 342s core2::io::cursor::Cursor<&mut [u8]> 342s note: required by a bound in `BitWriter` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read_seek.rs:98:35 342s | 342s 98 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read_seek.rs:98:17 342s | 342s 98 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:112:15 342s | 342s 112 | assert!(r.byte_aligned()); 342s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:100:7 342s | 342s 100 | r.seek_bits(SeekFrom::Current(2))?; 342s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:101:18 342s | 342s 101 | assert_eq!(r.position_in_bits()?, 2); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:113:15 342s | 342s 113 | assert!(r.read_in::<1, u32>().is_err()); 342s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:116:35 342s | 342s 116 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:116:17 342s | 342s 116 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:102:18 342s | 342s 102 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:117:18 342s | 342s 117 | assert_eq!(r.read::(2).unwrap(), 2); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:103:18 342s | 342s 103 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `skip` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:118:15 342s | 342s 118 | assert!(r.skip(3).is_ok()); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s `BitReader, BigEndian>: Iterator` 342s which is required by `&mut BitReader, BigEndian>: Iterator` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:104:18 342s | 342s 104 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:839:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 839 | assert!(w.write_bit(true).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:119:18 342s | 342s 119 | assert_eq!(r.read::(5).unwrap(), 7); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:105:18 342s | 342s 105 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `skip` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:120:15 342s | 342s 120 | assert!(r.skip(3).is_ok()); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s `BitReader, BigEndian>: Iterator` 342s which is required by `&mut BitReader, BigEndian>: Iterator` 342s 342s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:106:20 342s | 342s 106 | let _: i32 = r.read_signed(11)?; 342s | --^^^^^^^^^^^---- 342s | | | 342s | | this is an associated function, not a method 342s | help: use associated function syntax instead: `BitReader, BigEndian>::read_signed(11)` 342s | 342s = note: found the following associated functions; to be used as methods, functions must have a `self` parameter 342s note: the candidate is defined in the trait `Endianness` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/lib.rs:402:5 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:121:18 342s | 342s 121 | assert_eq!(r.read::(19).unwrap(), 0x53BC1); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:124:35 342s | 342s 124 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:840:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 840 | assert!(w.write_bit(false).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:124:17 342s | 342s 124 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:107:18 342s | 342s 107 | assert_eq!(r.position_in_bits()?, 17); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:125:18 342s | 342s 125 | assert_eq!(r.read_signed::(2).unwrap(), -2); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:109:7 342s | 342s 109 | r.seek_bits(SeekFrom::Current(-3))?; 342s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:110:18 342s | 342s 110 | assert_eq!(r.position_in_bits()?, 14); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:841:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 841 | assert!(w.write_bit(true).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:126:18 342s | 342s 126 | assert_eq!(r.read_signed::(3).unwrap(), -2); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `skip` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:111:7 342s | 342s 111 | r.skip(10)?; 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s `BitReader, BigEndian>: Iterator` 342s which is required by `&mut BitReader, BigEndian>: Iterator` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:112:18 342s | 342s 112 | assert_eq!(r.position_in_bits()?, 24); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:127:18 342s | 342s 127 | assert_eq!(r.read_signed::(5).unwrap(), 7); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:113:7 342s | 342s 113 | r.seek_bits(SeekFrom::Current(0))?; 342s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:128:18 342s | 342s 128 | assert_eq!(r.read_signed::(3).unwrap(), -3); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:114:18 342s | 342s 114 | assert_eq!(r.position_in_bits()?, 24); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:842:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 842 | assert!(w.write_bit(true).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:129:18 342s | 342s 129 | assert_eq!(r.read_signed::(19).unwrap(), -181311); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read_seek.rs:122:35 342s | 342s 122 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read_seek.rs:122:17 342s | 342s 122 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:132:35 342s | 342s 132 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:132:17 342s | 342s 132 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:124:7 342s | 342s 124 | r.seek_bits(SeekFrom::End(7))?; 342s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:843:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 843 | assert!(w.write_bit(false).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:125:18 342s | 342s 125 | assert_eq!(r.position_in_bits()?, 25); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:133:18 342s | 342s 133 | assert_eq!(r.read_signed_in::<2, i32>().unwrap(), -2); 342s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:126:18 342s | 342s 126 | assert_eq!(r.read_bit()?, true); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:134:18 342s | 342s 134 | assert_eq!(r.read_signed_in::<3, i32>().unwrap(), -2); 342s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:127:18 342s | 342s 127 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:844:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 844 | assert!(w.write_bit(false).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:135:18 342s | 342s 135 | assert_eq!(r.read_signed_in::<5, i32>().unwrap(), 7); 342s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:128:18 342s | 342s 128 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:136:18 342s | 342s 136 | assert_eq!(r.read_signed_in::<3, i32>().unwrap(), -3); 342s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:129:18 342s | 342s 129 | assert_eq!(r.read_bit()?, false); 342s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:845:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 845 | assert!(w.write_bit(false).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:137:18 342s | 342s 137 | assert_eq!(r.read_signed_in::<19, i32>().unwrap(), -181311); 342s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:130:18 342s | 342s 130 | assert_eq!(r.position_in_bits()?, 29); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:140:35 342s | 342s 140 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:140:17 342s | 342s 140 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:131:7 342s | 342s 131 | r.seek_bits(SeekFrom::End(0))?; 342s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read_seek.rs:132:18 342s | 342s 132 | assert_eq!(r.position_in_bits()?, 32); 342s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 342s 342s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:141:18 342s | 342s 141 | assert_eq!(r.read_unary0().unwrap(), 1); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:846:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 846 | assert!(w.write_bit(true).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:142:18 342s | 342s 142 | assert_eq!(r.read_unary0().unwrap(), 2); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:143:18 342s | 342s 143 | assert_eq!(r.read_unary0().unwrap(), 0); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error: could not compile `bitstream-io` (test "read_seek") due to 83 previous errors 342s 342s Caused by: 342s process didn't exit successfully: `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read_seek CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name read_seek --edition=2018 tests/read_seek.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=6f034ce502fe6542 -C extra-filename=-6f034ce502fe6542 --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern bitstream_io=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-6a9b9b9765cb8027.rlib --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` (exit status: 1) 342s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:144:18 342s | 342s 144 | assert_eq!(r.read_unary0().unwrap(), 0); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:847:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 847 | assert!(w.write_bit(true).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:145:18 342s | 342s 145 | assert_eq!(r.read_unary0().unwrap(), 4); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:148:35 342s | 342s 148 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:148:17 342s | 342s 148 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:149:18 342s | 342s 149 | assert_eq!(r.read_unary1().unwrap(), 0); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:848:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 848 | assert!(w.write_bit(true).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:150:18 342s | 342s 150 | assert_eq!(r.read_unary1().unwrap(), 1); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:151:18 342s | 342s 151 | assert_eq!(r.read_unary1().unwrap(), 0); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:849:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 849 | assert!(w.write_bit(true).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:152:18 342s | 342s 152 | assert_eq!(r.read_unary1().unwrap(), 3); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:153:18 342s | 342s 153 | assert_eq!(r.read_unary1().unwrap(), 0); 342s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:156:35 342s | 342s 156 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | | 342s | required by a bound introduced by this call 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader::::endian` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 342s 342s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 342s --> tests/read.rs:156:17 342s | 342s 156 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 342s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 342s | 342s = help: the following other types implement trait `core2::io::traits::Read`: 342s &[u8] 342s &mut R 342s core2::io::cursor::Cursor 342s core2::io::traits::Chain 342s core2::io::traits::Take 342s note: required by a bound in `BitReader` 342s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:850:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 850 | assert!(w.write_bit(false).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:157:18 342s | 342s 157 | assert_eq!(r.read::(3).unwrap(), 5); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `byte_align` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:158:7 342s | 342s 158 | r.byte_align(); 342s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:851:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 851 | assert!(w.write_bit(true).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 342s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:159:18 342s | 342s 159 | assert_eq!(r.read::(3).unwrap(), 7); 342s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `byte_align` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:160:7 342s | 342s 160 | r.byte_align(); 342s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `byte_align` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 342s --> tests/read.rs:161:7 342s | 342s 161 | r.byte_align(); 342s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 342s which is required by `BitReader, BigEndian>: BitRead` 342s 342s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 342s --> tests/write.rs:852:15 342s | 342s 806 | struct LimitedWriter { 342s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 342s ... 342s 852 | assert!(w.write_bit(true).is_ok()); 342s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 342s | 342s = note: the following trait bounds were not satisfied: 342s `LimitedWriter: core2::io::traits::Write` 342s which is required by `BitWriter: BitWrite` 342s note: the trait `core2::io::traits::Write` must be implemented 342s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 342s | 342s 614 | pub trait Write { 342s | ^^^^^^^^^^^^^^^ 342s 343s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:162:18 343s | 343s 162 | assert_eq!(r.read::(8).unwrap(), 59); 343s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: BitRead` 343s 343s error[E0599]: the method `byte_align` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:163:7 343s | 343s 163 | r.byte_align(); 343s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:853:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 853 | assert!(w.write_bit(false).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:164:18 343s | 343s 164 | assert_eq!(r.read::(4).unwrap(), 12); 343s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: BitRead` 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:167:35 343s | 343s 167 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:167:17 343s | 343s 167 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:854:18 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 854 | assert_eq!(w.write_bit(true).unwrap_err().kind(), ErrorKind::WriteZero); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:857:35 343s | 343s 857 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:857:17 343s | 343s 857 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 343s 343s error[E0599]: the method `read_bytes` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:169:15 343s | 343s 169 | assert!(r.read_bytes(&mut sub_data).is_ok()); 343s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: BitRead` 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:173:35 343s | 343s 173 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:173:17 343s | 343s 173 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:858:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 858 | assert!(w.write(2, 2u32).is_ok()); 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:175:18 343s | 343s 175 | assert_eq!(r.read::(4).unwrap(), 11); 343s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read_bytes` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:176:15 343s | 343s 176 | assert!(r.read_bytes(&mut sub_data).is_ok()); 343s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:859:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 859 | assert!(w.write(3, 6u32).is_ok()); 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:191:35 343s | 343s 191 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:191:17 343s | 343s 191 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:192:18 343s | 343s 192 | assert_eq!(r.read::(0).unwrap(), 0); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:860:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 860 | assert!(w.write(5, 7u32).is_ok()); 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:193:18 343s | 343s 193 | assert_eq!(r.read::(0).unwrap(), 0); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:194:18 343s | 343s 194 | assert_eq!(r.read::(0).unwrap(), 0); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:195:18 343s | 343s 195 | assert_eq!(r.read::(0).unwrap(), 0); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:861:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 861 | assert!(w.write(3, 5u32).is_ok()); 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:196:18 343s | 343s 196 | assert_eq!(r.read::(8).unwrap(), 255); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:198:35 343s | 343s 198 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:198:17 343s | 343s 198 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:199:18 343s | 343s 199 | assert_eq!(r.read_in::<0, u8>().unwrap(), 0); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:863:11 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 863 | w.write(19, 0x53BC1u32).unwrap_err().kind(), 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:868:35 343s | 343s 868 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:868:17 343s | 343s 868 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:200:18 343s | 343s 200 | assert_eq!(r.read_in::<0, u16>().unwrap(), 0); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:201:18 343s | 343s 201 | assert_eq!(r.read_in::<0, u32>().unwrap(), 0); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:869:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 869 | assert!(w.write_signed(2, -2).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:202:18 343s | 343s 202 | assert_eq!(r.read_in::<0, u64>().unwrap(), 0); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:870:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 870 | assert!(w.write_signed(3, -2).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:203:18 343s | 343s 203 | assert_eq!(r.read_in::<8, u8>().unwrap(), 255); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:205:35 343s | 343s 205 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:205:17 343s | 343s 205 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `read_signed` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:206:15 343s | 343s 206 | assert!(r.read_signed::(0).is_err()); 343s | ^^^^^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:871:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 871 | assert!(w.write_signed(5, 7).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_signed` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:207:15 343s | 343s 207 | assert!(r.read_signed::(0).is_err()); 343s | ^^^^^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read_signed` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:208:15 343s | 343s 208 | assert!(r.read_signed::(0).is_err()); 343s | ^^^^^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read_signed` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:209:15 343s | 343s 209 | assert!(r.read_signed::(0).is_err()); 343s | ^^^^^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:872:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 872 | assert!(w.write_signed(3, -3).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:212:35 343s | 343s 212 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:212:17 343s | 343s 212 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:213:18 343s | 343s 213 | assert_eq!(r.read::(32).unwrap(), 0); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:874:11 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 874 | w.write_signed(19, -181311).unwrap_err().kind(), 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:879:35 343s | 343s 879 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:879:17 343s | 343s 879 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:214:18 343s | 343s 214 | assert_eq!(r.read::(32).unwrap(), 4294967295); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:215:18 343s | 343s 215 | assert_eq!(r.read::(32).unwrap(), 2147483648); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:880:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 880 | assert!(w.write_unary0(1).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:216:18 343s | 343s 216 | assert_eq!(r.read::(32).unwrap(), 2147483647); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:217:18 343s | 343s 217 | assert_eq!(r.read::(64).unwrap(), 0); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:881:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 881 | assert!(w.write_unary0(2).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:218:18 343s | 343s 218 | assert_eq!(r.read::(64).unwrap(), 0xFFFFFFFFFFFFFFFF); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:219:18 343s | 343s 219 | assert_eq!(r.read::(64).unwrap(), 9223372036854775808); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:882:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 882 | assert!(w.write_unary0(0).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:220:18 343s | 343s 220 | assert_eq!(r.read::(64).unwrap(), 9223372036854775807); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:222:35 343s | 343s 222 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:222:17 343s | 343s 222 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:223:18 343s | 343s 223 | assert_eq!(r.read_in::<32, u32>().unwrap(), 0); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:883:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 883 | assert!(w.write_unary0(0).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:224:18 343s | 343s 224 | assert_eq!(r.read_in::<32, u32>().unwrap(), 4294967295); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:884:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 884 | assert!(w.write_unary0(4).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:225:18 343s | 343s 225 | assert_eq!(r.read_in::<32, u32>().unwrap(), 2147483648); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:226:18 343s | 343s 226 | assert_eq!(r.read_in::<32, u32>().unwrap(), 2147483647); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:885:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 885 | assert!(w.write_unary0(2).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:227:18 343s | 343s 227 | assert_eq!(r.read_in::<64, u64>().unwrap(), 0); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:886:18 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 886 | assert_eq!(w.write_unary0(1).unwrap_err().kind(), ErrorKind::WriteZero); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:228:18 343s | 343s 228 | assert_eq!(r.read_in::<64, u64>().unwrap(), 0xFFFFFFFFFFFFFFFF); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:889:35 343s | 343s 889 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:889:17 343s | 343s 889 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:229:18 343s | 343s 229 | assert_eq!(r.read_in::<64, u64>().unwrap(), 9223372036854775808); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:890:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 890 | assert!(w.write_unary1(0).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:230:18 343s | 343s 230 | assert_eq!(r.read_in::<64, u64>().unwrap(), 9223372036854775807); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:233:35 343s | 343s 233 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:233:17 343s | 343s 233 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:234:18 343s | 343s 234 | assert_eq!(r.read::(32).unwrap(), 0); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:891:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 891 | assert!(w.write_unary1(1).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:235:18 343s | 343s 235 | assert_eq!(r.read::(32).unwrap(), -1); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:236:18 343s | 343s 236 | assert_eq!(r.read::(32).unwrap(), -2147483648); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:892:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 892 | assert!(w.write_unary1(0).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:237:18 343s | 343s 237 | assert_eq!(r.read::(32).unwrap(), 2147483647); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:238:18 343s | 343s 238 | assert_eq!(r.read::(64).unwrap(), 0); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:893:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 893 | assert!(w.write_unary1(3).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:239:18 343s | 343s 239 | assert_eq!(r.read::(64).unwrap(), -1); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:240:18 343s | 343s 240 | assert_eq!(r.read::(64).unwrap(), -9223372036854775808); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:894:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 894 | assert!(w.write_unary1(0).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:241:18 343s | 343s 241 | assert_eq!(r.read::(64).unwrap(), 9223372036854775807); 343s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:243:35 343s | 343s 243 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:243:17 343s | 343s 243 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:895:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 895 | assert!(w.write_unary1(0).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:244:18 343s | 343s 244 | assert_eq!(r.read_in::<32, i32>().unwrap(), 0); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:245:18 343s | 343s 245 | assert_eq!(r.read_in::<32, i32>().unwrap(), -1); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:896:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 896 | assert!(w.write_unary1(0).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:246:18 343s | 343s 246 | assert_eq!(r.read_in::<32, i32>().unwrap(), -2147483648); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:897:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 897 | assert!(w.write_unary1(1).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:247:18 343s | 343s 247 | assert_eq!(r.read_in::<32, i32>().unwrap(), 2147483647); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:248:18 343s | 343s 248 | assert_eq!(r.read_in::<64, i64>().unwrap(), 0); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:898:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 898 | assert!(w.write_unary1(0).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:249:18 343s | 343s 249 | assert_eq!(r.read_in::<64, i64>().unwrap(), -1); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:899:18 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 899 | assert_eq!(w.write_unary1(1).unwrap_err().kind(), ErrorKind::WriteZero); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:250:18 343s | 343s 250 | assert_eq!(r.read_in::<64, i64>().unwrap(), -9223372036854775808); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:902:35 343s | 343s 902 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:902:17 343s | 343s 902 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:251:18 343s | 343s 251 | assert_eq!(r.read_in::<64, i64>().unwrap(), 9223372036854775807); 343s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&Vec>: core2::io::traits::Read` 343s which is required by `BitReader>, BigEndian>: BitRead` 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:903:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 903 | assert!(w.write::(9, 0b111111111).is_ok()); 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `byte_align` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:904:18 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 904 | assert_eq!(w.byte_align().unwrap_err().kind(), ErrorKind::WriteZero); 343s | ^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:269:35 343s | 343s 269 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:269:17 343s | 343s 269 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:907:35 343s | 343s 907 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:907:17 343s | 343s 907 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:271:18 343s | 343s 271 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:272:18 343s | 343s 272 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `write_bytes` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:909:11 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 909 | w.write_bytes(b"\xB1\xED").unwrap_err().kind(), 343s | ^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:914:35 343s | 343s 914 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:914:17 343s | 343s 914 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:273:18 343s | 343s 273 | assert_eq!(r.read_huffman(&tree).unwrap(), 4); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:274:18 343s | 343s 274 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:915:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 915 | assert!(w.write(4, 11).is_ok()); 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:275:18 343s | 343s 275 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:276:18 343s | 343s 276 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `write_bytes` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:917:11 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 917 | w.write_bytes(b"\xB1\xED").unwrap_err().kind(), 343s | ^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:928:35 343s | 343s 928 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:928:17 343s | 343s 928 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:277:18 343s | 343s 277 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:278:18 343s | 343s 278 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:279:18 343s | 343s 279 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:929:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 929 | assert!(w.write_bit(true).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:280:18 343s | 343s 280 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:281:18 343s | 343s 281 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:930:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 930 | assert!(w.write_bit(false).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:282:18 343s | 343s 282 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:283:18 343s | 343s 283 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:931:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 931 | assert!(w.write_bit(false).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:284:18 343s | 343s 284 | assert_eq!(r.read_huffman(&tree).unwrap(), 4); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:285:18 343s | 343s 285 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, BigEndian>: HuffmanRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:932:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 932 | assert!(w.write_bit(false).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:295:35 343s | 343s 295 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:295:17 343s | 343s 295 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:296:18 343s | 343s 296 | assert_eq!(r.read_bit().unwrap(), true); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:933:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 933 | assert!(w.write_bit(true).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:297:18 343s | 343s 297 | assert_eq!(r.read_bit().unwrap(), false); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:298:18 343s | 343s 298 | assert_eq!(r.read_bit().unwrap(), false); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:934:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 934 | assert!(w.write_bit(true).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:299:18 343s | 343s 299 | assert_eq!(r.read_bit().unwrap(), false); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:300:18 343s | 343s 300 | assert_eq!(r.read_bit().unwrap(), true); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:935:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 935 | assert!(w.write_bit(false).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:301:18 343s | 343s 301 | assert_eq!(r.read_bit().unwrap(), true); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:302:18 343s | 343s 302 | assert_eq!(r.read_bit().unwrap(), false); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:303:18 343s | 343s 303 | assert_eq!(r.read_bit().unwrap(), true); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:936:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 936 | assert!(w.write_bit(true).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:304:18 343s | 343s 304 | assert_eq!(r.read_bit().unwrap(), true); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:937:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 937 | assert!(w.write_bit(true).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:305:18 343s | 343s 305 | assert_eq!(r.read_bit().unwrap(), false); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:306:18 343s | 343s 306 | assert_eq!(r.read_bit().unwrap(), true); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:307:18 343s | 343s 307 | assert_eq!(r.read_bit().unwrap(), true); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:938:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 938 | assert!(w.write_bit(false).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:308:18 343s | 343s 308 | assert_eq!(r.read_bit().unwrap(), false); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:309:18 343s | 343s 309 | assert_eq!(r.read_bit().unwrap(), true); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:939:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 939 | assert!(w.write_bit(true).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:310:18 343s | 343s 310 | assert_eq!(r.read_bit().unwrap(), true); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:311:18 343s | 343s 311 | assert_eq!(r.read_bit().unwrap(), true); 343s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:314:35 343s | 343s 314 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:314:17 343s | 343s 314 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:940:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 940 | assert!(w.write_bit(true).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:315:15 343s | 343s 315 | assert!(r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:316:18 343s | 343s 316 | assert_eq!(r.read::(2).unwrap(), 1); 343s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:941:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 941 | assert!(w.write_bit(false).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:317:16 343s | 343s 317 | assert!(!r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:318:18 343s | 343s 318 | assert_eq!(r.read::(3).unwrap(), 4); 343s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:942:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 942 | assert!(w.write_bit(true).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:319:16 343s | 343s 319 | assert!(!r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:320:18 343s | 343s 320 | assert_eq!(r.read::(5).unwrap(), 13); 343s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:321:16 343s | 343s 321 | assert!(!r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:943:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 943 | assert!(w.write_bit(true).is_ok()); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:322:18 343s | 343s 322 | assert_eq!(r.read::(3).unwrap(), 3); 343s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:323:16 343s | 343s 323 | assert!(!r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:944:18 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 944 | assert_eq!(w.write_bit(true).unwrap_err().kind(), ErrorKind::WriteZero); 343s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:947:35 343s | 343s 947 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:947:17 343s | 343s 947 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 343s 343s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:324:18 343s | 343s 324 | assert_eq!(r.read::(19).unwrap(), 0x609DF); 343s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:325:15 343s | 343s 325 | assert!(r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:326:15 343s | 343s 326 | assert!(r.read::(1).is_err()); 343s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:329:35 343s | 343s 329 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:329:17 343s | 343s 329 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:948:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 948 | assert!(w.write(2, 1u32).is_ok()); 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:330:15 343s | 343s 330 | assert!(r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:331:18 343s | 343s 331 | assert_eq!(r.read_in::<2, u32>().unwrap(), 1); 343s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:949:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 949 | assert!(w.write(3, 4u32).is_ok()); 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:332:16 343s | 343s 332 | assert!(!r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:333:18 343s | 343s 333 | assert_eq!(r.read_in::<3, u32>().unwrap(), 4); 343s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:950:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 950 | assert!(w.write(5, 13u32).is_ok()); 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:334:16 343s | 343s 334 | assert!(!r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:335:18 343s | 343s 335 | assert_eq!(r.read_in::<5, u32>().unwrap(), 13); 343s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:951:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 951 | assert!(w.write(3, 3u32).is_ok()); 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:336:16 343s | 343s 336 | assert!(!r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:337:18 343s | 343s 337 | assert_eq!(r.read_in::<3, u32>().unwrap(), 3); 343s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:953:11 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 953 | w.write(19, 0x609DFu32).unwrap_err().kind(), 343s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:338:16 343s | 343s 338 | assert!(!r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:958:35 343s | 343s 958 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 343s 343s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 343s --> tests/write.rs:958:17 343s | 343s 958 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 343s | 343s = help: the following other types implement trait `core2::io::traits::Write`: 343s &mut W 343s &mut [u8] 343s Vec 343s core2::io::cursor::Cursor<&mut [u8]> 343s note: required by a bound in `BitWriter` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:339:18 343s | 343s 339 | assert_eq!(r.read_in::<19, u32>().unwrap(), 0x609DF); 343s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:340:15 343s | 343s 340 | assert!(r.byte_aligned()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:959:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 959 | assert!(w.write_signed(2, 1).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:341:15 343s | 343s 341 | assert!(r.read_in::<1, u32>().is_err()); 343s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:344:35 343s | 343s 344 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:344:17 343s | 343s 344 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 343s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:960:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 960 | assert!(w.write_signed(3, -4).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:345:18 343s | 343s 345 | assert_eq!(r.read::(2).unwrap(), 1); 343s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `skip` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:346:15 343s | 343s 346 | assert!(r.skip(3).is_ok()); 343s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s `BitReader, LittleEndian>: Iterator` 343s which is required by `&mut BitReader, LittleEndian>: Iterator` 343s 343s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:961:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 961 | assert!(w.write_signed(5, 13).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:347:18 343s | 343s 347 | assert_eq!(r.read::(5).unwrap(), 13); 343s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0599]: the method `skip` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:348:15 343s | 343s 348 | assert!(r.skip(3).is_ok()); 343s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s `BitReader, LittleEndian>: Iterator` 343s which is required by `&mut BitReader, LittleEndian>: Iterator` 343s 343s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 343s --> tests/write.rs:962:15 343s | 343s 806 | struct LimitedWriter { 343s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 343s ... 343s 962 | assert!(w.write_signed(3, 3).is_ok()); 343s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `LimitedWriter: core2::io::traits::Write` 343s which is required by `BitWriter: BitWrite` 343s note: the trait `core2::io::traits::Write` must be implemented 343s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 343s | 343s 614 | pub trait Write { 343s | ^^^^^^^^^^^^^^^ 343s 343s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 343s --> tests/read.rs:349:18 343s | 343s 349 | assert_eq!(r.read::(19).unwrap(), 0x609DF); 343s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 343s | 343s = note: the following trait bounds were not satisfied: 343s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 343s which is required by `BitReader, LittleEndian>: BitRead` 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:352:35 343s | 343s 352 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 343s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | | 343s | required by a bound introduced by this call 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader::::endian` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 343s 343s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 343s --> tests/read.rs:352:17 343s | 343s 352 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 343s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 343s | 343s = help: the following other types implement trait `core2::io::traits::Read`: 343s &[u8] 343s &mut R 343s core2::io::cursor::Cursor 343s core2::io::traits::Chain 343s core2::io::traits::Take 343s note: required by a bound in `BitReader` 343s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 343s 344s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:353:18 344s | 344s 353 | assert_eq!(r.read_signed::(2).unwrap(), 1); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:964:11 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 964 | w.write_signed(19, -128545).unwrap_err().kind(), 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:969:35 344s | 344s 969 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 344s 344s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:969:17 344s | 344s 969 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:354:18 344s | 344s 354 | assert_eq!(r.read_signed::(3).unwrap(), -4); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:355:18 344s | 344s 355 | assert_eq!(r.read_signed::(5).unwrap(), 13); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:970:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 970 | assert!(w.write_unary0(1).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:356:18 344s | 344s 356 | assert_eq!(r.read_signed::(3).unwrap(), 3); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:357:18 344s | 344s 357 | assert_eq!(r.read_signed::(19).unwrap(), -128545); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:971:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 971 | assert!(w.write_unary0(0).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:360:35 344s | 344s 360 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:360:17 344s | 344s 360 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:361:18 344s | 344s 361 | assert_eq!(r.read_signed_in::<2, i32>().unwrap(), 1); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:972:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 972 | assert!(w.write_unary0(0).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:362:18 344s | 344s 362 | assert_eq!(r.read_signed_in::<3, i32>().unwrap(), -4); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:363:18 344s | 344s 363 | assert_eq!(r.read_signed_in::<5, i32>().unwrap(), 13); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:973:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 973 | assert!(w.write_unary0(2).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:364:18 344s | 344s 364 | assert_eq!(r.read_signed_in::<3, i32>().unwrap(), 3); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:365:18 344s | 344s 365 | assert_eq!(r.read_signed_in::<19, i32>().unwrap(), -128545); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:974:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 974 | assert!(w.write_unary0(2).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:368:35 344s | 344s 368 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:368:17 344s | 344s 368 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:369:18 344s | 344s 369 | assert_eq!(r.read_unary0().unwrap(), 1); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:975:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 975 | assert!(w.write_unary0(2).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:370:18 344s | 344s 370 | assert_eq!(r.read_unary0().unwrap(), 0); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:371:18 344s | 344s 371 | assert_eq!(r.read_unary0().unwrap(), 0); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:976:18 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 976 | assert_eq!(w.write_unary0(5).unwrap_err().kind(), ErrorKind::WriteZero); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:979:35 344s | 344s 979 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 344s 344s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:979:17 344s | 344s 979 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 344s 344s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:372:18 344s | 344s 372 | assert_eq!(r.read_unary0().unwrap(), 2); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:373:18 344s | 344s 373 | assert_eq!(r.read_unary0().unwrap(), 2); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:376:35 344s | 344s 376 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:376:17 344s | 344s 376 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:980:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 980 | assert!(w.write_unary1(0).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:377:18 344s | 344s 377 | assert_eq!(r.read_unary1().unwrap(), 0); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:981:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 981 | assert!(w.write_unary1(3).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:378:18 344s | 344s 378 | assert_eq!(r.read_unary1().unwrap(), 3); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:379:18 344s | 344s 379 | assert_eq!(r.read_unary1().unwrap(), 0); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:982:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 982 | assert!(w.write_unary1(0).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:380:18 344s | 344s 380 | assert_eq!(r.read_unary1().unwrap(), 1); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:381:18 344s | 344s 381 | assert_eq!(r.read_unary1().unwrap(), 0); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:983:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 983 | assert!(w.write_unary1(1).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:384:35 344s | 344s 384 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:384:17 344s | 344s 384 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:385:18 344s | 344s 385 | assert_eq!(r.read::(3).unwrap(), 1); 344s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:984:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 984 | assert!(w.write_unary1(0).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `byte_align` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:386:7 344s | 344s 386 | r.byte_align(); 344s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:985:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 985 | assert!(w.write_unary1(1).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:387:18 344s | 344s 387 | assert_eq!(r.read::(3).unwrap(), 5); 344s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `byte_align` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:388:7 344s | 344s 388 | r.byte_align(); 344s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `byte_align` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:389:7 344s | 344s 389 | r.byte_align(); 344s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:986:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 986 | assert!(w.write_unary1(0).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:390:18 344s | 344s 390 | assert_eq!(r.read::(8).unwrap(), 59); 344s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:987:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 987 | assert!(w.write_unary1(1).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `byte_align` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:391:7 344s | 344s 391 | r.byte_align(); 344s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:392:18 344s | 344s 392 | assert_eq!(r.read::(4).unwrap(), 1); 344s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:395:35 344s | 344s 395 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:988:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 988 | assert!(w.write_unary1(0).is_ok()); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:395:17 344s | 344s 395 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `read_bytes` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:397:15 344s | 344s 397 | assert!(r.read_bytes(&mut sub_data).is_ok()); 344s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:989:18 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 989 | assert_eq!(w.write_unary1(1).unwrap_err().kind(), ErrorKind::WriteZero); 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:401:35 344s | 344s 401 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:992:35 344s | 344s 992 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:401:17 344s | 344s 401 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:992:17 344s | 344s 992 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 344s 344s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:403:18 344s | 344s 403 | assert_eq!(r.read::(4).unwrap(), 1); 344s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:993:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 993 | assert!(w.write::(9, 0b111111111).is_ok()); 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read_bytes` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:404:15 344s | 344s 404 | assert!(r.read_bytes(&mut sub_data).is_ok()); 344s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `byte_align` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:994:18 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 994 | assert_eq!(w.byte_align().unwrap_err().kind(), ErrorKind::WriteZero); 344s | ^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:997:35 344s | 344s 997 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 344s 344s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:419:35 344s | 344s 419 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:997:17 344s | 344s 997 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 344s 344s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:419:17 344s | 344s 419 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `write_bytes` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:999:11 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 999 | w.write_bytes(b"\xB1\xED").unwrap_err().kind(), 344s | ^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:420:18 344s | 344s 420 | assert_eq!(r.read::(0).unwrap(), 0); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:1004:35 344s | 344s 1004 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 344s 344s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:1004:17 344s | 344s 1004 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:421:18 344s | 344s 421 | assert_eq!(r.read::(0).unwrap(), 0); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:422:18 344s | 344s 422 | assert_eq!(r.read::(0).unwrap(), 0); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1005:15 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 1005 | assert!(w.write(4, 11).is_ok()); 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:423:18 344s | 344s 423 | assert_eq!(r.read::(0).unwrap(), 0); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:424:18 344s | 344s 424 | assert_eq!(r.read::(8).unwrap(), 255); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_bytes` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1007:11 344s | 344s 806 | struct LimitedWriter { 344s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 344s ... 344s 1007 | w.write_bytes(b"\xB1\xED").unwrap_err().kind(), 344s | ^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `LimitedWriter: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s note: the trait `core2::io::traits::Write` must be implemented 344s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 344s | 344s 614 | pub trait Write { 344s | ^^^^^^^^^^^^^^^ 344s 344s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:426:35 344s | 344s 426 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:426:17 344s | 344s 426 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0277]: the trait bound `Sink: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:1017:35 344s | 344s 1017 | let mut w = BitWriter::endian(sink(), BigEndian); 344s | ----------------- ^^^^^^ the trait `core2::io::traits::Write` is not implemented for `Sink` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 344s 344s error[E0277]: the trait bound `Sink: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:1017:17 344s | 344s 1017 | let mut w = BitWriter::endian(sink(), BigEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `Sink` 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:427:18 344s | 344s 427 | assert_eq!(r.read_in::<0, u8>().unwrap(), 0); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:428:18 344s | 344s 428 | assert_eq!(r.read_in::<0, u16>().unwrap(), 0); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1018:18 344s | 344s 1018 | assert_eq!(w.write(9, 0u8).unwrap_err().kind(), ErrorKind::InvalidInput); 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:429:18 344s | 344s 429 | assert_eq!(r.read_in::<0, u32>().unwrap(), 0); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:430:18 344s | 344s 430 | assert_eq!(r.read_in::<0, u64>().unwrap(), 0); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1020:11 344s | 344s 1020 | w.write(17, 0u16).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:431:18 344s | 344s 431 | assert_eq!(r.read_in::<8, u8>().unwrap(), 255); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:433:35 344s | 344s 433 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:433:17 344s | 344s 433 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:434:15 344s | 344s 434 | assert!(r.read_signed::(0).is_err()); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1024:11 344s | 344s 1024 | w.write(33, 0u32).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:435:15 344s | 344s 435 | assert!(r.read_signed::(0).is_err()); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:436:15 344s | 344s 436 | assert!(r.read_signed::(0).is_err()); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1028:11 344s | 344s 1028 | w.write(65, 0u64).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:437:15 344s | 344s 437 | assert!(r.read_signed::(0).is_err()); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:440:35 344s | 344s 440 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:440:17 344s | 344s 440 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:441:18 344s | 344s 441 | assert_eq!(r.read::(32).unwrap(), 0); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1033:11 344s | 344s 1033 | w.write(1, 0b10).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:442:18 344s | 344s 442 | assert_eq!(r.read::(32).unwrap(), 4294967295); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:443:18 344s | 344s 443 | assert_eq!(r.read::(32).unwrap(), 2147483648); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1037:11 344s | 344s 1037 | w.write(2, 0b100).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:444:18 344s | 344s 444 | assert_eq!(r.read::(32).unwrap(), 2147483647); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:445:18 344s | 344s 445 | assert_eq!(r.read::(64).unwrap(), 0); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:446:18 344s | 344s 446 | assert_eq!(r.read::(64).unwrap(), 0xFFFFFFFFFFFFFFFF); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1041:11 344s | 344s 1041 | w.write(3, 0b1000).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:447:18 344s | 344s 447 | assert_eq!(r.read::(64).unwrap(), 9223372036854775808); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:448:18 344s | 344s 448 | assert_eq!(r.read::(64).unwrap(), 9223372036854775807); 344s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:450:35 344s | 344s 450 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:450:17 344s | 344s 450 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1048:15 344s | 344s 1048 | w.write(bits, val).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:451:18 344s | 344s 451 | assert_eq!(r.read_in::<32, u32>().unwrap(), 0); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:452:18 344s | 344s 452 | assert_eq!(r.read_in::<32, u32>().unwrap(), 4294967295); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1055:15 344s | 344s 1055 | w.write(bits, val).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:453:18 344s | 344s 453 | assert_eq!(r.read_in::<32, u32>().unwrap(), 2147483648); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:454:18 344s | 344s 454 | assert_eq!(r.read_in::<32, u32>().unwrap(), 2147483647); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1062:15 344s | 344s 1062 | w.write(bits, val).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:455:18 344s | 344s 455 | assert_eq!(r.read_in::<64, u64>().unwrap(), 0); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:456:18 344s | 344s 456 | assert_eq!(r.read_in::<64, u64>().unwrap(), 0xFFFFFFFFFFFFFFFF); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:457:18 344s | 344s 457 | assert_eq!(r.read_in::<64, u64>().unwrap(), 9223372036854775808); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1069:15 344s | 344s 1069 | w.write(bits, val).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:458:18 344s | 344s 458 | assert_eq!(r.read_in::<64, u64>().unwrap(), 9223372036854775807); 344s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:460:35 344s | 344s 460 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:460:17 344s | 344s 460 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1075:11 344s | 344s 1075 | w.write_signed(9, 0i8).unwrap_err().kind(), 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:461:18 344s | 344s 461 | assert_eq!(r.read_signed::(32).unwrap(), 0); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:462:18 344s | 344s 462 | assert_eq!(r.read_signed::(32).unwrap(), -1); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1079:11 344s | 344s 1079 | w.write_signed(17, 0i16).unwrap_err().kind(), 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:463:18 344s | 344s 463 | assert_eq!(r.read_signed::(32).unwrap(), -2147483648); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:464:18 344s | 344s 464 | assert_eq!(r.read_signed::(32).unwrap(), 2147483647); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1083:11 344s | 344s 1083 | w.write_signed(33, 0i32).unwrap_err().kind(), 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:465:18 344s | 344s 465 | assert_eq!(r.read_signed::(64).unwrap(), 0); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:466:18 344s | 344s 466 | assert_eq!(r.read_signed::(64).unwrap(), -1); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:467:18 344s | 344s 467 | assert_eq!(r.read_signed::(64).unwrap(), -9223372036854775808); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1087:11 344s | 344s 1087 | w.write_signed(65, 0i64).unwrap_err().kind(), 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0277]: the trait bound `Sink: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:1091:35 344s | 344s 1091 | let mut w = BitWriter::endian(sink(), LittleEndian); 344s | ----------------- ^^^^^^ the trait `core2::io::traits::Write` is not implemented for `Sink` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 344s 344s error[E0277]: the trait bound `Sink: core2::io::traits::Write` is not satisfied 344s --> tests/write.rs:1091:17 344s | 344s 1091 | let mut w = BitWriter::endian(sink(), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `Sink` 344s | 344s = help: the following other types implement trait `core2::io::traits::Write`: 344s &mut W 344s &mut [u8] 344s Vec 344s core2::io::cursor::Cursor<&mut [u8]> 344s note: required by a bound in `BitWriter` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:468:18 344s | 344s 468 | assert_eq!(r.read_signed::(64).unwrap(), 9223372036854775807); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:470:35 344s | 344s 470 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:470:17 344s | 344s 470 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:471:18 344s | 344s 471 | assert_eq!(r.read_signed_in::<32, i32>().unwrap(), 0); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:472:18 344s | 344s 472 | assert_eq!(r.read_signed_in::<32, i32>().unwrap(), -1); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1092:18 344s | 344s 1092 | assert_eq!(w.write(9, 0u8).unwrap_err().kind(), ErrorKind::InvalidInput); 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:473:18 344s | 344s 473 | assert_eq!(r.read_signed_in::<32, i32>().unwrap(), -2147483648); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:474:18 344s | 344s 474 | assert_eq!(r.read_signed_in::<32, i32>().unwrap(), 2147483647); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1094:11 344s | 344s 1094 | w.write(17, 0u16).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:475:18 344s | 344s 475 | assert_eq!(r.read_signed_in::<64, i64>().unwrap(), 0); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:476:18 344s | 344s 476 | assert_eq!(r.read_signed_in::<64, i64>().unwrap(), -1); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:477:18 344s | 344s 477 | assert_eq!(r.read_signed_in::<64, i64>().unwrap(), -9223372036854775808); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1098:11 344s | 344s 1098 | w.write(33, 0u32).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:478:18 344s | 344s 478 | assert_eq!(r.read_signed_in::<64, i64>().unwrap(), 9223372036854775807); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&Vec>: core2::io::traits::Read` 344s which is required by `BitReader>, LittleEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:496:35 344s | 344s 496 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:496:17 344s | 344s 496 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:498:18 344s | 344s 498 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:499:18 344s | 344s 499 | assert_eq!(r.read_huffman(&tree).unwrap(), 3); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1102:11 344s | 344s 1102 | w.write(65, 0u64).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:500:18 344s | 344s 500 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:501:18 344s | 344s 501 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:502:18 344s | 344s 502 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1107:11 344s | 344s 1107 | w.write(1, 0b10).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:503:18 344s | 344s 503 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:504:18 344s | 344s 504 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:505:18 344s | 344s 505 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1111:11 344s | 344s 1111 | w.write(2, 0b100).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:506:18 344s | 344s 506 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:507:18 344s | 344s 507 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:508:18 344s | 344s 508 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1115:11 344s | 344s 1115 | w.write(3, 0b1000).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:509:18 344s | 344s 509 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:510:18 344s | 344s 510 | assert_eq!(r.read_huffman(&tree).unwrap(), 4); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:511:18 344s | 344s 511 | assert_eq!(r.read_huffman(&tree).unwrap(), 3); 344s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 344s which is required by `BitReader, LittleEndian>: HuffmanRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:522:35 344s | 344s 522 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:522:17 344s | 344s 522 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1122:15 344s | 344s 1122 | w.write(bits, val).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:523:15 344s | 344s 523 | assert!(r.read_bit().is_ok()); 344s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:524:15 344s | 344s 524 | assert!(r.read_bit().is_ok()); 344s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:525:15 344s | 344s 525 | assert!(r.read_bit().is_ok()); 344s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1129:15 344s | 344s 1129 | w.write(bits, val).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:526:15 344s | 344s 526 | assert!(r.read_bit().is_ok()); 344s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:527:15 344s | 344s 527 | assert!(r.read_bit().is_ok()); 344s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:528:15 344s | 344s 528 | assert!(r.read_bit().is_ok()); 344s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1136:15 344s | 344s 1136 | w.write(bits, val).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:529:15 344s | 344s 529 | assert!(r.read_bit().is_ok()); 344s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:530:15 344s | 344s 530 | assert!(r.read_bit().is_ok()); 344s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:531:18 344s | 344s 531 | assert_eq!(r.read_bit().unwrap_err().kind(), ErrorKind::UnexpectedEof); 344s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:534:35 344s | 344s 534 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:534:17 344s | 344s 534 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1143:15 344s | 344s 1143 | w.write(bits, val).unwrap_err().kind(), 344s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:535:15 344s | 344s 535 | assert!(r.read::(7).is_ok()); 344s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `skip` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:536:18 344s | 344s 536 | assert_eq!(r.skip(5).unwrap_err().kind(), ErrorKind::UnexpectedEof); 344s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s `BitReader, BigEndian>: Iterator` 344s which is required by `&mut BitReader, BigEndian>: Iterator` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:539:35 344s | 344s 539 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:539:17 344s | 344s 539 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1149:11 344s | 344s 1149 | w.write_signed(9, 0i8).unwrap_err().kind(), 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:540:15 344s | 344s 540 | assert!(r.read_signed::(2).is_ok()); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:541:15 344s | 344s 541 | assert!(r.read_signed::(3).is_ok()); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:543:11 344s | 344s 543 | r.read_signed::(5).unwrap_err().kind(), 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:547:35 344s | 344s 547 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:547:17 344s | 344s 547 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1153:11 344s | 344s 1153 | w.write_signed(17, 0i16).unwrap_err().kind(), 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:548:15 344s | 344s 548 | assert!(r.read_signed_in::<2, i32>().is_ok()); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:549:15 344s | 344s 549 | assert!(r.read_signed_in::<3, i32>().is_ok()); 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1157:11 344s | 344s 1157 | w.write_signed(33, 0i32).unwrap_err().kind(), 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:551:11 344s | 344s 551 | r.read_signed_in::<5, i32>().unwrap_err().kind(), 344s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:556:35 344s | 344s 556 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:556:17 344s | 344s 556 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 344s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:557:15 344s | 344s 557 | assert!(r.read_unary0().is_ok()); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 344s --> tests/write.rs:1161:11 344s | 344s 1161 | w.write_signed(65, 0i64).unwrap_err().kind(), 344s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `Sink: core2::io::traits::Write` 344s which is required by `BitWriter: BitWrite` 344s 344s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:558:15 344s | 344s 558 | assert!(r.read_unary0().is_ok()); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:559:15 344s | 344s 559 | assert!(r.read_unary0().is_ok()); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:560:15 344s | 344s 560 | assert!(r.read_unary0().is_ok()); 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 344s --> tests/read.rs:562:11 344s | 344s 562 | r.read_unary0().unwrap_err().kind(), 344s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 344s | 344s = note: the following trait bounds were not satisfied: 344s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 344s which is required by `BitReader, BigEndian>: BitRead` 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:567:35 344s | 344s 567 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | | 344s | required by a bound introduced by this call 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader::::endian` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 344s 344s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 344s --> tests/read.rs:567:17 344s | 344s 567 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 344s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 344s | 344s = help: the following other types implement trait `core2::io::traits::Read`: 344s &[u8] 344s &mut R 344s core2::io::cursor::Cursor 344s core2::io::traits::Chain 344s core2::io::traits::Take 344s note: required by a bound in `BitReader` 344s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 344s 345s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:568:15 345s | 345s 568 | assert!(r.read_unary1().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:569:15 345s | 345s 569 | assert!(r.read_unary1().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:570:15 345s | 345s 570 | assert!(r.read_unary1().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:571:15 345s | 345s 571 | assert!(r.read_unary1().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:573:11 345s | 345s 573 | r.read_unary1().unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:578:35 345s | 345s 578 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:578:17 345s | 345s 578 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read_bytes` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:581:11 345s | 345s 581 | r.read_bytes(&mut sub_data).unwrap_err().kind(), 345s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:586:35 345s | 345s 586 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:586:17 345s | 345s 586 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:588:15 345s | 345s 588 | assert!(r.read::(4).is_ok()); 345s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read_bytes` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:590:11 345s | 345s 590 | r.read_bytes(&mut sub_data).unwrap_err().kind(), 345s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:603:35 345s | 345s 603 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:603:17 345s | 345s 603 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:604:15 345s | 345s 604 | assert!(r.read_bit().is_ok()); 345s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:605:15 345s | 345s 605 | assert!(r.read_bit().is_ok()); 345s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:606:15 345s | 345s 606 | assert!(r.read_bit().is_ok()); 345s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:607:15 345s | 345s 607 | assert!(r.read_bit().is_ok()); 345s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:608:15 345s | 345s 608 | assert!(r.read_bit().is_ok()); 345s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:609:15 345s | 345s 609 | assert!(r.read_bit().is_ok()); 345s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:610:15 345s | 345s 610 | assert!(r.read_bit().is_ok()); 345s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:611:15 345s | 345s 611 | assert!(r.read_bit().is_ok()); 345s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:612:18 345s | 345s 612 | assert_eq!(r.read_bit().unwrap_err().kind(), ErrorKind::UnexpectedEof); 345s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:615:35 345s | 345s 615 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:615:17 345s | 345s 615 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:616:15 345s | 345s 616 | assert!(r.read::(7).is_ok()); 345s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `skip` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:617:18 345s | 345s 617 | assert_eq!(r.skip(5).unwrap_err().kind(), ErrorKind::UnexpectedEof); 345s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s `BitReader, LittleEndian>: Iterator` 345s which is required by `&mut BitReader, LittleEndian>: Iterator` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:620:35 345s | 345s 620 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:620:17 345s | 345s 620 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:621:15 345s | 345s 621 | assert!(r.read_signed::(2).is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:622:15 345s | 345s 622 | assert!(r.read_signed::(3).is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:624:11 345s | 345s 624 | r.read_signed::(5).unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:628:35 345s | 345s 628 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:628:17 345s | 345s 628 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:629:15 345s | 345s 629 | assert!(r.read_signed_in::<2, i32>().is_ok()); 345s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:630:15 345s | 345s 630 | assert!(r.read_signed_in::<3, i32>().is_ok()); 345s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:632:11 345s | 345s 632 | r.read_signed_in::<5, i32>().unwrap_err().kind(), 345s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:637:35 345s | 345s 637 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:637:17 345s | 345s 637 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:638:15 345s | 345s 638 | assert!(r.read_unary0().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:639:15 345s | 345s 639 | assert!(r.read_unary0().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:640:15 345s | 345s 640 | assert!(r.read_unary0().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:641:15 345s | 345s 641 | assert!(r.read_unary0().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:643:11 345s | 345s 643 | r.read_unary0().unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:648:35 345s | 345s 648 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:648:17 345s | 345s 648 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:649:15 345s | 345s 649 | assert!(r.read_unary1().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:650:15 345s | 345s 650 | assert!(r.read_unary1().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:651:15 345s | 345s 651 | assert!(r.read_unary1().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:652:15 345s | 345s 652 | assert!(r.read_unary1().is_ok()); 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:654:11 345s | 345s 654 | r.read_unary1().unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:659:35 345s | 345s 659 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:659:17 345s | 345s 659 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read_bytes` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:662:11 345s | 345s 662 | r.read_bytes(&mut sub_data).unwrap_err().kind(), 345s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:667:35 345s | 345s 667 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:667:17 345s | 345s 667 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:669:15 345s | 345s 669 | assert!(r.read::(4).is_ok()); 345s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_bytes` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:671:11 345s | 345s 671 | r.read_bytes(&mut sub_data).unwrap_err().kind(), 345s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:682:35 345s | 345s 682 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 10]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:682:17 345s | 345s 682 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 10]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:684:18 345s | 345s 684 | assert_eq!(r.read::(9).unwrap_err().kind(), ErrorKind::InvalidInput); 345s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:686:11 345s | 345s 686 | r.read::(17).unwrap_err().kind(), 345s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:690:11 345s | 345s 690 | r.read::(33).unwrap_err().kind(), 345s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:694:11 345s | 345s 694 | r.read::(65).unwrap_err().kind(), 345s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error: could not compile `bitstream-io` (test "write") due to 162 previous errors 345s 345s Caused by: 345s process didn't exit successfully: `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=write CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name write --edition=2018 tests/write.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=46ff07ffb5c15212 -C extra-filename=-46ff07ffb5c15212 --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern bitstream_io=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-6a9b9b9765cb8027.rlib --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` (exit status: 1) 345s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:699:11 345s | 345s 699 | r.read_signed::(9).unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:703:11 345s | 345s 703 | r.read_signed::(17).unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:707:11 345s | 345s 707 | r.read_signed::(33).unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:711:11 345s | 345s 711 | r.read_signed::(65).unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:715:35 345s | 345s 715 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 10]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:715:17 345s | 345s 715 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 10]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:717:18 345s | 345s 717 | assert_eq!(r.read::(9).unwrap_err().kind(), ErrorKind::InvalidInput); 345s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:719:11 345s | 345s 719 | r.read::(17).unwrap_err().kind(), 345s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:723:11 345s | 345s 723 | r.read::(33).unwrap_err().kind(), 345s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:727:11 345s | 345s 727 | r.read::(65).unwrap_err().kind(), 345s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:732:11 345s | 345s 732 | r.read_signed::(9).unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:736:11 345s | 345s 736 | r.read_signed::(17).unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:740:11 345s | 345s 740 | r.read_signed::(33).unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:744:11 345s | 345s 744 | r.read_signed::(65).unwrap_err().kind(), 345s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:755:35 345s | 345s 755 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:755:17 345s | 345s 755 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:756:15 345s | 345s 756 | assert!(r.byte_aligned()); 345s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:757:18 345s | 345s 757 | assert_eq!(r.read::(4).unwrap(), 0xB); 345s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `clone` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:758:20 345s | 345s 758 | let mut r2 = r.clone(); 345s | ^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: Clone` 345s 345s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:759:16 345s | 345s 759 | assert!(!r.byte_aligned()); 345s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:760:18 345s | 345s 760 | assert_eq!(r.read::(4).unwrap(), 0x1); 345s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:761:18 345s | 345s 761 | assert_eq!(r.read::(8).unwrap(), 0xED); 345s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0277]: the trait bound `NotCloneRead<'_>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:774:32 345s | 345s 774 | let _r = BitReader::endian(NotCloneRead(&actual_data[..]), BigEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `NotCloneRead<'_>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `NotCloneRead<'_>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:774:14 345s | 345s 774 | let _r = BitReader::endian(NotCloneRead(&actual_data[..]), BigEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `NotCloneRead<'_>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:782:35 345s | 345s 782 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:782:17 345s | 345s 782 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read_to` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:783:32 345s | 345s 783 | let read_data: [u8; 4] = r.read_to().unwrap(); 345s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 345s which is required by `BitReader, BigEndian>: BitRead` 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:787:35 345s | 345s 787 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 345s | | 345s | required by a bound introduced by this call 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader::::endian` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 345s 345s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 345s --> tests/read.rs:787:17 345s | 345s 787 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 345s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 345s | 345s = help: the following other types implement trait `core2::io::traits::Read`: 345s &[u8] 345s &mut R 345s core2::io::cursor::Cursor 345s core2::io::traits::Chain 345s core2::io::traits::Take 345s note: required by a bound in `BitReader` 345s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 345s 345s error[E0599]: the method `read_to` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 345s --> tests/read.rs:788:32 345s | 345s 788 | let read_data: [u8; 4] = r.read_to().unwrap(); 345s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 345s | 345s = note: the following trait bounds were not satisfied: 345s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 345s which is required by `BitReader, LittleEndian>: BitRead` 345s 345s error: could not compile `bitstream-io` (test "read") due to 477 previous errors 345s 345s Caused by: 345s process didn't exit successfully: `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.ioLiwSnNWZ/target/debug/deps rustc --crate-name read --edition=2018 tests/read.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=7b1c9f98fe5c71f3 -C extra-filename=-7b1c9f98fe5c71f3 --out-dir /tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.ioLiwSnNWZ/target/debug/deps --extern bitstream_io=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-6a9b9b9765cb8027.rlib --extern core2=/tmp/tmp.ioLiwSnNWZ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.ioLiwSnNWZ/registry=/usr/share/cargo/registry` (exit status: 1) 346s autopkgtest [21:15:00]: test rust-bitstream-io:@: -----------------------] 350s autopkgtest [21:15:04]: test rust-bitstream-io:@: - - - - - - - - - - results - - - - - - - - - - 350s rust-bitstream-io:@ FLAKY non-zero exit status 101 354s autopkgtest [21:15:08]: test librust-bitstream-io-dev:alloc: preparing testbed 356s Reading package lists... 356s Building dependency tree... 356s Reading state information... 357s Starting pkgProblemResolver with broken count: 0 357s Starting 2 pkgProblemResolver with broken count: 0 357s Done 358s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 367s autopkgtest [21:15:21]: test librust-bitstream-io-dev:alloc: /usr/share/cargo/bin/cargo-auto-test bitstream-io 2.5.0 --all-targets --no-default-features --features alloc 367s autopkgtest [21:15:21]: test librust-bitstream-io-dev:alloc: [----------------------- 369s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 369s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 369s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 369s debian cargo wrapper: linking /usr/share/cargo/registry/* into /tmp/tmp.wD7ntlpIi9/registry/ 369s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 369s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 369s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 369s debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j8', '--target', 'armv7-unknown-linux-gnueabihf', '--all-targets', '--no-default-features', '--features', 'alloc'],) {} 369s Compiling memchr v2.7.4 369s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=memchr CARGO_MANIFEST_DIR=/tmp/tmp.wD7ntlpIi9/registry/memchr-2.7.4 CARGO_MANIFEST_PATH=/tmp/tmp.wD7ntlpIi9/registry/memchr-2.7.4/Cargo.toml CARGO_PKG_AUTHORS='Andrew Gallant :bluss' CARGO_PKG_DESCRIPTION='Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for 369s 1, 2 or 3 byte search and single substring search. 369s ' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/memchr' CARGO_PKG_LICENSE='Unlicense OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=memchr CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/memchr' CARGO_PKG_RUST_VERSION=1.61 CARGO_PKG_VERSION=2.7.4 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name memchr --edition=2021 /tmp/tmp.wD7ntlpIi9/registry/memchr-2.7.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=7ec06d6b41e659ab -C extra-filename=-7ec06d6b41e659ab --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` 370s Compiling core2 v0.4.0 370s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=core2 CARGO_MANIFEST_DIR=/tmp/tmp.wD7ntlpIi9/registry/core2-0.4.0 CARGO_MANIFEST_PATH=/tmp/tmp.wD7ntlpIi9/registry/core2-0.4.0/Cargo.toml CARGO_PKG_AUTHORS='Brendan Molloy ' CARGO_PKG_DESCRIPTION='The bare essentials of std::io for use in no_std. Alloc support is optional.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=core2 CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/bbqsrc/core2' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.4.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name core2 --edition=2018 /tmp/tmp.wD7ntlpIi9/registry/core2-0.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=4ceb33dd85bb7c3c -C extra-filename=-4ceb33dd85bb7c3c --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern memchr=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libmemchr-7ec06d6b41e659ab.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` 370s warning: unexpected `cfg` condition value: `nightly` 370s --> /usr/share/cargo/registry/core2-0.4.0/src/lib.rs:1:13 370s | 370s 1 | #![cfg_attr(feature = "nightly", feature(maybe_uninit_ref))] 370s | ^^^^^^^^^^^^^^^^^^^ 370s | 370s = note: expected values for `feature` are: `alloc`, `default`, and `std` 370s = help: consider adding `nightly` as a feature in `Cargo.toml` 370s = note: see for more information about checking conditional configuration 370s = note: `#[warn(unexpected_cfgs)]` on by default 370s 370s warning: unexpected `cfg` condition value: `nightly` 370s --> /usr/share/cargo/registry/core2-0.4.0/src/lib.rs:2:13 370s | 370s 2 | #![cfg_attr(feature = "nightly", feature(never_type))] 370s | ^^^^^^^^^^^^^^^^^^^ 370s | 370s = note: expected values for `feature` are: `alloc`, `default`, and `std` 370s = help: consider adding `nightly` as a feature in `Cargo.toml` 370s = note: see for more information about checking conditional configuration 370s 370s warning: unexpected `cfg` condition value: `nightly` 370s --> /usr/share/cargo/registry/core2-0.4.0/src/lib.rs:3:34 370s | 370s 3 | #![cfg_attr(all(feature = "std", feature = "nightly"), feature(read_initializer))] 370s | ^^^^^^^^^^^^^^^^^^^ 370s | 370s = note: expected values for `feature` are: `alloc`, `default`, and `std` 370s = help: consider adding `nightly` as a feature in `Cargo.toml` 370s = note: see for more information about checking conditional configuration 370s 370s warning: unexpected `cfg` condition value: `nightly` 370s --> /usr/share/cargo/registry/core2-0.4.0/src/error.rs:323:7 370s | 370s 323 | #[cfg(feature = "nightly")] 370s | ^^^^^^^^^^^^^^^^^^^ 370s | 370s = note: expected values for `feature` are: `alloc`, `default`, and `std` 370s = help: consider adding `nightly` as a feature in `Cargo.toml` 370s = note: see for more information about checking conditional configuration 370s 370s warning: unexpected `cfg` condition value: `nightly` 370s --> /usr/share/cargo/registry/core2-0.4.0/src/io/mod.rs:1:7 370s | 370s 1 | #[cfg(feature = "nightly")] 370s | ^^^^^^^^^^^^^^^^^^^ 370s | 370s = note: expected values for `feature` are: `alloc`, `default`, and `std` 370s = help: consider adding `nightly` as a feature in `Cargo.toml` 370s = note: see for more information about checking conditional configuration 370s 370s warning: unexpected `cfg` condition value: `nightly` 370s --> /usr/share/cargo/registry/core2-0.4.0/src/io/mod.rs:22:7 370s | 370s 22 | #[cfg(feature = "nightly")] 370s | ^^^^^^^^^^^^^^^^^^^ 370s | 370s = note: expected values for `feature` are: `alloc`, `default`, and `std` 370s = help: consider adding `nightly` as a feature in `Cargo.toml` 370s = note: see for more information about checking conditional configuration 370s 370s warning: unexpected `cfg` condition value: `nightly` 370s --> /usr/share/cargo/registry/core2-0.4.0/src/io/mod.rs:25:7 370s | 370s 25 | #[cfg(feature = "nightly")] 370s | ^^^^^^^^^^^^^^^^^^^ 370s | 370s = note: expected values for `feature` are: `alloc`, `default`, and `std` 370s = help: consider adding `nightly` as a feature in `Cargo.toml` 370s = note: see for more information about checking conditional configuration 370s 370s warning: unexpected `cfg` condition value: `nightly` 370s --> /usr/share/cargo/registry/core2-0.4.0/src/io/util.rs:1:7 370s | 370s 1 | #[cfg(feature = "nightly")] 370s | ^^^^^^^^^^^^^^^^^^^ 370s | 370s = note: expected values for `feature` are: `alloc`, `default`, and `std` 370s = help: consider adding `nightly` as a feature in `Cargo.toml` 370s = note: see for more information about checking conditional configuration 370s 370s warning: unexpected `cfg` condition value: `nightly` 370s --> /usr/share/cargo/registry/core2-0.4.0/src/io/util.rs:4:7 370s | 370s 4 | #[cfg(feature = "nightly")] 370s | ^^^^^^^^^^^^^^^^^^^ 370s | 370s = note: expected values for `feature` are: `alloc`, `default`, and `std` 370s = help: consider adding `nightly` as a feature in `Cargo.toml` 370s = note: see for more information about checking conditional configuration 370s 370s warning: unexpected `cfg` condition value: `nightly` 370s --> /usr/share/cargo/registry/core2-0.4.0/src/io/util.rs:7:7 370s | 370s 7 | #[cfg(feature = "nightly")] 370s | ^^^^^^^^^^^^^^^^^^^ 370s | 370s = note: expected values for `feature` are: `alloc`, `default`, and `std` 370s = help: consider adding `nightly` as a feature in `Cargo.toml` 370s = note: see for more information about checking conditional configuration 370s 371s Compiling bitstream-io v2.5.0 (/usr/share/cargo/registry/bitstream-io-2.5.0) 371s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=609acf5299e9e8e9 -C extra-filename=-609acf5299e9e8e9 --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` 371s warning: `core2` (lib) generated 10 warnings 371s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=f4b057a6763bf686 -C extra-filename=-f4b057a6763bf686 --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` 372s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read_seek CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name read_seek --edition=2018 tests/read_seek.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=02d81a1dfa270b4a -C extra-filename=-02d81a1dfa270b4a --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern bitstream_io=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-609acf5299e9e8e9.rlib --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` 372s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name read --edition=2018 tests/read.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=cc709ddc2bdcd998 -C extra-filename=-cc709ddc2bdcd998 --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern bitstream_io=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-609acf5299e9e8e9.rlib --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` 372s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=roundtrip CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name roundtrip --edition=2018 tests/roundtrip.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=1a2b8cb34627030a -C extra-filename=-1a2b8cb34627030a --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern bitstream_io=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-609acf5299e9e8e9.rlib --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` 372s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=write CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name write --edition=2018 tests/write.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=6877a3873358a978 -C extra-filename=-6877a3873358a978 --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern bitstream_io=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-609acf5299e9e8e9.rlib --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` 372s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=huffman CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name huffman --edition=2018 tests/huffman.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=9474c822b483a164 -C extra-filename=-9474c822b483a164 --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern bitstream_io=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-609acf5299e9e8e9.rlib --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:30:61 372s | 372s 30 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s | | 372s | required by a bound introduced by this call 372s ... 372s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 372s | ----------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader::::endian` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:30:38 372s | 372s 30 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s ... 372s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 372s | ----------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` is not satisfied 372s --> tests/read_seek.rs:26:49 372s | 372s 26 | let mut r: BitReader<_, E> = BitReader::new(Cursor::new(&actual_data)); 372s | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 7]>` 372s | | 372s | required by a bound introduced by this call 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s note: required by a bound in `BitReader::::new` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:412:5 372s 372s error[E0277]: the trait bound `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` is not satisfied 372s --> tests/read_seek.rs:26:34 372s | 372s 26 | let mut r: BitReader<_, E> = BitReader::new(Cursor::new(&actual_data)); 372s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 7]>` 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s 372s error[E0277]: the trait bound `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` is not satisfied 372s --> tests/read_seek.rs:26:16 372s | 372s 26 | let mut r: BitReader<_, E> = BitReader::new(Cursor::new(&actual_data)); 372s | ^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 7]>` 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s 372s error[E0599]: the method `read` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 372s --> tests/roundtrip.rs:32:43 372s | 372s 32 | assert_eq!(reader.read::(bits).unwrap(), value as u32); 372s | ^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 372s ... 372s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 372s | ----------------------------------------------- in this macro invocation 372s | 372s = note: the following trait bounds were not satisfied: 372s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 372s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` is not satisfied 372s --> tests/huffman.rs:80:35 372s | 372s 80 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 372s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[{integer}; 2]>` 372s | | 372s | required by a bound introduced by this call 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s note: required by a bound in `BitReader::::endian` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:51:61 372s | 372s 51 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s | | 372s | required by a bound introduced by this call 372s ... 372s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 372s | ----------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader::::endian` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` is not satisfied 372s --> tests/huffman.rs:80:17 372s | 372s 80 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 372s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[{integer}; 2]>` 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:51:38 372s | 372s 51 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s ... 372s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 372s | ----------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 372s --> tests/read_seek.rs:28:18 372s | 372s 28 | assert_eq!(r.position_in_bits()?, 0); 372s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 372s 372s error[E0599]: the method `read_signed` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 372s --> tests/roundtrip.rs:53:43 372s | 372s 53 | assert_eq!(reader.read_signed::(bits).unwrap(), value as i32); 372s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 372s ... 372s 61 | define_roundtrip!(test_roundtrip_be, BigEndian); 372s | ----------------------------------------------- in this macro invocation 372s | 372s = note: the following trait bounds were not satisfied: 372s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 372s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:30:61 372s | 372s 30 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s | | 372s | required by a bound introduced by this call 372s ... 372s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 372s | -------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader::::endian` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:30:38 372s | 372s 30 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s ... 372s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 372s | -------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 372s --> tests/read_seek.rs:29:7 372s | 372s 29 | r.read_bit()?; 372s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 372s which is required by `BitReader, E>: BitRead` 372s 372s error[E0599]: the method `read` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 372s --> tests/roundtrip.rs:32:43 372s | 372s 32 | assert_eq!(reader.read::(bits).unwrap(), value as u32); 372s | ^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 372s ... 372s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 372s | -------------------------------------------------- in this macro invocation 372s | 372s = note: the following trait bounds were not satisfied: 372s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 372s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 372s --> tests/read_seek.rs:30:7 372s | 372s 30 | r.read_bit()?; 372s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 372s which is required by `BitReader, E>: BitRead` 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:51:61 372s | 372s 51 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s | | 372s | required by a bound introduced by this call 372s ... 372s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 372s | -------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader::::endian` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 372s --> tests/read_seek.rs:31:18 372s | 372s 31 | assert_eq!(r.position_in_bits()?, 2); 372s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:51:38 372s | 372s 51 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s ... 372s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 372s | -------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 372s --> tests/huffman.rs:81:18 372s | 372s 81 | assert_eq!(r.read_huffman(&tree).unwrap(), Some(1)); 372s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 372s which is required by `BitReader, BigEndian>: HuffmanRead` 372s 372s error[E0599]: the method `read_signed` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 372s --> tests/roundtrip.rs:53:43 372s | 372s 53 | assert_eq!(reader.read_signed::(bits).unwrap(), value as i32); 372s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 372s ... 372s 62 | define_roundtrip!(test_roundtrip_le, LittleEndian); 372s | -------------------------------------------------- in this macro invocation 372s | 372s = note: the following trait bounds were not satisfied: 372s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 372s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 372s = note: this error originates in the macro `define_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 372s --> tests/huffman.rs:82:18 372s | 372s 82 | assert_eq!(r.read_huffman(&tree).unwrap(), Some(2)); 372s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 372s which is required by `BitReader, BigEndian>: HuffmanRead` 372s 372s error[E0599]: the method `read` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 372s --> tests/read_seek.rs:32:20 372s | 372s 32 | let _: u32 = r.read(5)?; 372s | ^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 372s which is required by `BitReader, E>: BitRead` 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:78:57 372s | 372s 78 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s | | 372s | required by a bound introduced by this call 372s ... 372s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 372s | ----------------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader::::endian` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:78:34 372s | 372s 78 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s ... 372s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 372s | ----------------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 372s --> tests/read_seek.rs:33:18 372s | 372s 33 | assert_eq!(r.position_in_bits()?, 7); 372s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 372s 372s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 372s --> tests/huffman.rs:83:18 372s | 372s 83 | assert_eq!(r.read_huffman(&tree).unwrap(), Some(0)); 372s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 372s which is required by `BitReader, BigEndian>: HuffmanRead` 372s 372s error[E0599]: the method `read_unary0` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 372s --> tests/roundtrip.rs:80:39 372s | 372s 80 | assert_eq!(reader.read_unary0().unwrap(), value); 372s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 372s ... 372s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 372s | ----------------------------------------------------------- in this macro invocation 372s | 372s = note: the following trait bounds were not satisfied: 372s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 372s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:94:57 372s | 372s 94 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s | | 372s | required by a bound introduced by this call 372s ... 372s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 372s | ----------------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader::::endian` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:94:34 372s | 372s 94 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s ... 372s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 372s | ----------------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `read` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 372s --> tests/read_seek.rs:34:20 372s | 372s 34 | let _: u32 = r.read(4)?; 372s | ^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 372s which is required by `BitReader, E>: BitRead` 372s 372s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 372s --> tests/huffman.rs:84:18 372s | 372s 84 | assert_eq!(r.read_huffman(&tree).unwrap(), Some(0)); 372s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 372s which is required by `BitReader, BigEndian>: HuffmanRead` 372s 372s error[E0599]: the method `read_unary1` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 372s --> tests/roundtrip.rs:96:39 372s | 372s 96 | assert_eq!(reader.read_unary1().unwrap(), value); 372s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 372s ... 372s 103 | define_unary_roundtrip!(test_unary_roundtrip_be, BigEndian); 372s | ----------------------------------------------------------- in this macro invocation 372s | 372s = note: the following trait bounds were not satisfied: 372s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 372s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 372s --> tests/read_seek.rs:35:18 372s | 372s 35 | assert_eq!(r.position_in_bits()?, 11); 372s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:78:57 372s | 372s 78 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s | | 372s | required by a bound introduced by this call 372s ... 372s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 372s | -------------------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader::::endian` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:78:34 372s | 372s 78 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s ... 372s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 372s | -------------------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 372s --> tests/huffman.rs:85:18 372s | 372s 85 | assert_eq!(r.read_huffman(&tree).unwrap(), None); 372s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 372s which is required by `BitReader, BigEndian>: HuffmanRead` 372s 372s error[E0599]: the method `read_unary0` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 372s --> tests/roundtrip.rs:80:39 372s | 372s 80 | assert_eq!(reader.read_unary0().unwrap(), value); 372s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 372s ... 372s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 372s | -------------------------------------------------------------- in this macro invocation 372s | 372s = note: the following trait bounds were not satisfied: 372s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 372s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `read_bytes` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 372s --> tests/read_seek.rs:37:7 372s | 372s 37 | r.read_bytes(&mut buf)?; 372s | ^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 372s which is required by `BitReader, E>: BitRead` 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:94:57 372s | 372s 94 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s | | 372s | required by a bound introduced by this call 372s ... 372s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 372s | -------------------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader::::endian` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` is not satisfied 372s --> tests/huffman.rs:96:35 372s | 372s 96 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 372s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[{integer}; 2]>` 372s | | 372s | required by a bound introduced by this call 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s note: required by a bound in `BitReader::::endian` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 372s 372s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 372s --> tests/roundtrip.rs:94:34 372s | 372s 94 | let mut reader = BitReader::endian(&mut c, $endianness); 372s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 372s ... 372s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 372s | -------------------------------------------------------------- in this macro invocation 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0277]: the trait bound `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` is not satisfied 372s --> tests/huffman.rs:96:17 372s | 372s 96 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 372s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[{integer}; 2]>` 372s | 372s = help: the following other types implement trait `core2::io::traits::Read`: 372s &[u8] 372s &mut R 372s core2::io::cursor::Cursor 372s core2::io::traits::Chain 372s core2::io::traits::Take 372s note: required by a bound in `BitReader` 372s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 372s 372s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 372s --> tests/read_seek.rs:38:18 372s | 372s 38 | assert_eq!(r.position_in_bits()?, 27); 372s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 372s 372s error[E0599]: the method `read_unary1` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 372s --> tests/roundtrip.rs:96:39 372s | 372s 96 | assert_eq!(reader.read_unary1().unwrap(), value); 372s | ^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 372s ... 372s 104 | define_unary_roundtrip!(test_unary_roundtrip_le, LittleEndian); 372s | -------------------------------------------------------------- in this macro invocation 372s | 372s = note: the following trait bounds were not satisfied: 372s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 372s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 372s = note: this error originates in the macro `define_unary_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 372s 372s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 372s --> tests/read_seek.rs:39:7 372s | 372s 39 | r.read_bit()?; 372s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 372s | 372s = note: the following trait bounds were not satisfied: 372s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 372s which is required by `BitReader, E>: BitRead` 372s 373s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/huffman.rs:97:18 373s | 373s 97 | assert_eq!(r.read_huffman(&tree).unwrap().deref(), "bar"); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: HuffmanRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/roundtrip.rs:121:57 373s | 373s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 373s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | | 373s | required by a bound introduced by this call 373s ... 373s 130 | define_float_roundtrip!(test_f32_roundtrip_be, BigEndian, f32); 373s | -------------------------------------------------------------- in this macro invocation 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/roundtrip.rs:121:34 373s | 373s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s ... 373s 130 | define_float_roundtrip!(test_f32_roundtrip_be, BigEndian, f32); 373s | -------------------------------------------------------------- in this macro invocation 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:40:7 373s | 373s 40 | r.read_bit()?; 373s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 373s which is required by `BitReader, E>: BitRead` 373s 373s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/huffman.rs:98:18 373s | 373s 98 | assert_eq!(r.read_huffman(&tree).unwrap().deref(), "baz"); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: HuffmanRead` 373s 373s error[E0599]: the method `read_to` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/roundtrip.rs:123:39 373s | 373s 123 | assert_eq!(reader.read_to::<$t>().unwrap(), value as $t); 373s | ^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 373s ... 373s 130 | define_float_roundtrip!(test_f32_roundtrip_be, BigEndian, f32); 373s | -------------------------------------------------------------- in this macro invocation 373s | 373s = note: the following trait bounds were not satisfied: 373s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:41:7 373s | 373s 41 | r.read_bit()?; 373s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 373s which is required by `BitReader, E>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/roundtrip.rs:121:57 373s | 373s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 373s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | | 373s | required by a bound introduced by this call 373s ... 373s 131 | define_float_roundtrip!(test_f64_roundtrip_be, BigEndian, f64); 373s | -------------------------------------------------------------- in this macro invocation 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/roundtrip.rs:121:34 373s | 373s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s ... 373s 131 | define_float_roundtrip!(test_f64_roundtrip_be, BigEndian, f64); 373s | -------------------------------------------------------------- in this macro invocation 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/huffman.rs:99:18 373s | 373s 99 | assert_eq!(r.read_huffman(&tree).unwrap().deref(), "foo"); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: HuffmanRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:42:7 373s | 373s 42 | r.read_bit()?; 373s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 373s which is required by `BitReader, E>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:43:7 373s | 373s 43 | r.read_bit()?; 373s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 373s which is required by `BitReader, E>: BitRead` 373s 373s error[E0599]: the method `read_to` exists for struct `BitReader<&mut Cursor<&Vec>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/roundtrip.rs:123:39 373s | 373s 123 | assert_eq!(reader.read_to::<$t>().unwrap(), value as $t); 373s | ^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, BigEndian>` due to unsatisfied trait bounds 373s ... 373s 131 | define_float_roundtrip!(test_f64_roundtrip_be, BigEndian, f64); 373s | -------------------------------------------------------------- in this macro invocation 373s | 373s = note: the following trait bounds were not satisfied: 373s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader<&mut std::io::Cursor<&Vec>, BigEndian>: BitRead` 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:67:35 373s | 373s 67 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:67:17 373s | 373s 67 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/huffman.rs:100:18 373s | 373s 100 | assert_eq!(r.read_huffman(&tree).unwrap().deref(), "foo"); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: HuffmanRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/roundtrip.rs:121:57 373s | 373s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 373s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | | 373s | required by a bound introduced by this call 373s ... 373s 132 | define_float_roundtrip!(test_f32_roundtrip_le, LittleEndian, f32); 373s | ----------------------------------------------------------------- in this macro invocation 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/roundtrip.rs:121:34 373s | 373s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s ... 373s 132 | define_float_roundtrip!(test_f32_roundtrip_le, LittleEndian, f32); 373s | ----------------------------------------------------------------- in this macro invocation 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:44:7 373s | 373s 44 | r.read_bit()?; 373s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 373s which is required by `BitReader, E>: BitRead` 373s 373s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/huffman.rs:101:18 373s | 373s 101 | assert_eq!(r.read_huffman(&tree).unwrap().deref(), "kelp"); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[{integer}; 2]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: HuffmanRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:45:7 373s | 373s 45 | r.read_bit()?; 373s | ^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 373s which is required by `BitReader, E>: BitRead` 373s 373s error[E0599]: the method `read_to` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 373s --> tests/roundtrip.rs:123:39 373s | 373s 123 | assert_eq!(reader.read_to::<$t>().unwrap(), value as $t); 373s | ^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 373s ... 373s 132 | define_float_roundtrip!(test_f32_roundtrip_le, LittleEndian, f32); 373s | ----------------------------------------------------------------- in this macro invocation 373s | 373s = note: the following trait bounds were not satisfied: 373s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/roundtrip.rs:121:57 373s | 373s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 373s | ----------------- ^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | | 373s | required by a bound introduced by this call 373s ... 373s 133 | define_float_roundtrip!(test_f64_roundtrip_le, LittleEndian, f64); 373s | ----------------------------------------------------------------- in this macro invocation 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/roundtrip.rs:121:34 373s | 373s 121 | let mut reader = BitReader::endian(&mut c, $endianness); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s ... 373s 133 | define_float_roundtrip!(test_f64_roundtrip_le, LittleEndian, f64); 373s | ----------------------------------------------------------------- in this macro invocation 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:46:20 373s | 373s 46 | let _: i32 = r.read_signed(9)?; 373s | --^^^^^^^^^^^--- 373s | | | 373s | | this is an associated function, not a method 373s | help: use associated function syntax instead: `BitReader, E>::read_signed(9)` 373s | 373s = note: found the following associated functions; to be used as methods, functions must have a `self` parameter 373s note: the candidate is defined in the trait `Endianness` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/lib.rs:402:5 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 373s which is required by `BitReader, E>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:68:18 373s | 373s 68 | assert_eq!(r.read_bit().unwrap(), true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:47:18 373s | 373s 47 | assert_eq!(r.position_in_bits()?, 43); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read_to` exists for struct `BitReader<&mut Cursor<&Vec>, LittleEndian>`, but its trait bounds were not satisfied 373s --> tests/roundtrip.rs:123:39 373s | 373s 123 | assert_eq!(reader.read_to::<$t>().unwrap(), value as $t); 373s | ^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, LittleEndian>` due to unsatisfied trait bounds 373s ... 373s 133 | define_float_roundtrip!(test_f64_roundtrip_le, LittleEndian, f64); 373s | ----------------------------------------------------------------- in this macro invocation 373s | 373s = note: the following trait bounds were not satisfied: 373s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader<&mut std::io::Cursor<&Vec>, LittleEndian>: BitRead` 373s = note: this error originates in the macro `define_float_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:69:18 373s | 373s 69 | assert_eq!(r.read_bit().unwrap(), false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/huffman.rs:148:49 373s | 373s 148 | let mut reader_be = BitReader::new(&mut cursor_be); 373s | -------------- ^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader::::new` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:412:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/huffman.rs:148:29 373s | 373s 148 | let mut reader_be = BitReader::new(&mut cursor_be); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/huffman.rs:149:49 373s | 373s 149 | let mut reader_le = BitReader::new(&mut cursor_le); 373s | -------------- ^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader::::new` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:412:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/huffman.rs:149:29 373s | 373s 149 | let mut reader_le = BitReader::new(&mut cursor_le); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s = note: required for `&mut std::io::Cursor<&Vec>` to implement `core2::io::traits::Read` 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:70:18 373s | 373s 70 | assert_eq!(r.read_bit().unwrap(), true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:48:20 373s | 373s 48 | let _: i32 = r.read_signed(5)?; 373s | --^^^^^^^^^^^--- 373s | | | 373s | | this is an associated function, not a method 373s | help: use associated function syntax instead: `BitReader, E>::read_signed(5)` 373s | 373s = note: found the following associated functions; to be used as methods, functions must have a `self` parameter 373s note: the candidate is defined in the trait `Endianness` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/lib.rs:402:5 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 373s which is required by `BitReader, E>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:71:18 373s | 373s 71 | assert_eq!(r.read_bit().unwrap(), true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_huffman` exists for struct `BitReader<&mut Cursor<&Vec>, _>`, but its trait bounds were not satisfied 373s --> tests/huffman.rs:152:38 373s | 373s 152 | assert_eq!(reader_be.read_huffman(&read_tree_be).unwrap(), Some(bits)); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, _>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader<&mut std::io::Cursor<&Vec>, _>: HuffmanRead<_>` 373s 373s Some errors have detailed explanations: E0277, E0599. 373s For more information about an error, try `rustc --explain E0277`. 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:72:18 373s | 373s 72 | assert_eq!(r.read_bit().unwrap(), false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, E>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:49:18 373s | 373s 49 | assert_eq!(r.position_in_bits()?, 48); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, E>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 7]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read_huffman` exists for struct `BitReader<&mut Cursor<&Vec>, _>`, but its trait bounds were not satisfied 373s --> tests/huffman.rs:153:38 373s | 373s 153 | assert_eq!(reader_le.read_huffman(&read_tree_le).unwrap(), Some(bits)); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader<&mut Cursor<&Vec>, _>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `&mut std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader<&mut std::io::Cursor<&Vec>, _>: HuffmanRead<_>` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:73:18 373s | 373s 73 | assert_eq!(r.read_bit().unwrap(), false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error: could not compile `bitstream-io` (test "roundtrip") due to 36 previous errors 373s 373s Caused by: 373s process didn't exit successfully: `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=roundtrip CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name roundtrip --edition=2018 tests/roundtrip.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=1a2b8cb34627030a -C extra-filename=-1a2b8cb34627030a --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern bitstream_io=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-609acf5299e9e8e9.rlib --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` (exit status: 1) 373s warning: build failed, waiting for other jobs to finish... 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read_seek.rs:57:35 373s | 373s 57 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:74:18 373s | 373s 74 | assert_eq!(r.read_bit().unwrap(), false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read_seek.rs:57:17 373s | 373s 57 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:75:18 373s | 373s 75 | assert_eq!(r.read_bit().unwrap(), true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:59:7 373s | 373s 59 | r.seek_bits(SeekFrom::Start(0))?; 373s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:76:18 373s | 373s 76 | assert_eq!(r.read_bit().unwrap(), true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error: could not compile `bitstream-io` (test "huffman") due to 20 previous errors 373s 373s Caused by: 373s process didn't exit successfully: `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=huffman CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name huffman --edition=2018 tests/huffman.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=9474c822b483a164 -C extra-filename=-9474c822b483a164 --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern bitstream_io=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-609acf5299e9e8e9.rlib --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` (exit status: 1) 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:60:18 373s | 373s 60 | assert_eq!(r.position_in_bits()?, 0); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:77:18 373s | 373s 77 | assert_eq!(r.read_bit().unwrap(), true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:61:18 373s | 373s 61 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:78:18 373s | 373s 78 | assert_eq!(r.read_bit().unwrap(), true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:79:18 373s | 373s 79 | assert_eq!(r.read_bit().unwrap(), false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:62:18 373s | 373s 62 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:80:18 373s | 373s 80 | assert_eq!(r.read_bit().unwrap(), true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:63:18 373s | 373s 63 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:81:18 373s | 373s 81 | assert_eq!(r.read_bit().unwrap(), true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:64:18 373s | 373s 64 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:82:18 373s | 373s 82 | assert_eq!(r.read_bit().unwrap(), false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:65:18 373s | 373s 65 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:66:18 373s | 373s 66 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:83:18 373s | 373s 83 | assert_eq!(r.read_bit().unwrap(), true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:86:35 373s | 373s 86 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:86:17 373s | 373s 86 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:67:18 373s | 373s 67 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:68:18 373s | 373s 68 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:87:15 373s | 373s 87 | assert!(r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:69:18 373s | 373s 69 | assert_eq!(r.position_in_bits()?, 8); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:88:18 373s | 373s 88 | assert_eq!(r.read::(2).unwrap(), 2); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:71:7 373s | 373s 71 | r.seek_bits(SeekFrom::Start(2))?; 373s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:89:16 373s | 373s 89 | assert!(!r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:72:18 373s | 373s 72 | assert_eq!(r.position_in_bits()?, 2); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:90:18 373s | 373s 90 | assert_eq!(r.read::(3).unwrap(), 6); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:73:18 373s | 373s 73 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:91:16 373s | 373s 91 | assert!(!r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:74:18 373s | 373s 74 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:92:18 373s | 373s 92 | assert_eq!(r.read::(5).unwrap(), 7); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:93:16 373s | 373s 93 | assert!(!r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:75:18 373s | 373s 75 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:94:18 373s | 373s 94 | assert_eq!(r.read::(3).unwrap(), 5); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:76:18 373s | 373s 76 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:95:16 373s | 373s 95 | assert!(!r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 373s --> tests/write.rs:838:35 373s | 373s 838 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Write`: 373s &mut W 373s &mut [u8] 373s Vec 373s core2::io::cursor::Cursor<&mut [u8]> 373s note: required by a bound in `BitWriter::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 373s 373s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 373s --> tests/write.rs:838:17 373s | 373s 838 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 373s | 373s = help: the following other types implement trait `core2::io::traits::Write`: 373s &mut W 373s &mut [u8] 373s Vec 373s core2::io::cursor::Cursor<&mut [u8]> 373s note: required by a bound in `BitWriter` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:96:18 373s | 373s 96 | assert_eq!(r.read::(19).unwrap(), 0x53BC1); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:77:18 373s | 373s 77 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:97:15 373s | 373s 97 | assert!(r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:78:18 373s | 373s 78 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:98:15 373s | 373s 98 | assert!(r.read::(1).is_err()); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:79:18 373s | 373s 79 | assert_eq!(r.position_in_bits()?, 8); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:101:35 373s | 373s 101 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:101:17 373s | 373s 101 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:102:15 373s | 373s 102 | assert!(r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:80:18 373s | 373s 80 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:839:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 839 | assert!(w.write_bit(true).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:103:18 373s | 373s 103 | assert_eq!(r.read_in::<2, u32>().unwrap(), 2); 373s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:104:16 373s | 373s 104 | assert!(!r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:81:18 373s | 373s 81 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:105:18 373s | 373s 105 | assert_eq!(r.read_in::<3, u32>().unwrap(), 6); 373s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:82:18 373s | 373s 82 | assert_eq!(r.position_in_bits()?, 10); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:840:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 840 | assert!(w.write_bit(false).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:106:16 373s | 373s 106 | assert!(!r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:84:7 373s | 373s 84 | r.seek_bits(SeekFrom::Start(7))?; 373s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:85:18 373s | 373s 85 | assert_eq!(r.position_in_bits()?, 7); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:107:18 373s | 373s 107 | assert_eq!(r.read_in::<5, u32>().unwrap(), 7); 373s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:108:16 373s | 373s 108 | assert!(!r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:86:18 373s | 373s 86 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:841:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 841 | assert!(w.write_bit(true).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:109:18 373s | 373s 109 | assert_eq!(r.read_in::<3, u32>().unwrap(), 5); 373s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:87:18 373s | 373s 87 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:110:16 373s | 373s 110 | assert!(!r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:88:18 373s | 373s 88 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:111:18 373s | 373s 111 | assert_eq!(r.read_in::<19, u32>().unwrap(), 0x53BC1); 373s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:89:18 373s | 373s 89 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:112:15 373s | 373s 112 | assert!(r.byte_aligned()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:842:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 842 | assert!(w.write_bit(true).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:90:18 373s | 373s 90 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:113:15 373s | 373s 113 | assert!(r.read_in::<1, u32>().is_err()); 373s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:116:35 373s | 373s 116 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:116:17 373s | 373s 116 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read_seek.rs:98:35 373s | 373s 98 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read_seek.rs:98:17 373s | 373s 98 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:117:18 373s | 373s 117 | assert_eq!(r.read::(2).unwrap(), 2); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:100:7 373s | 373s 100 | r.seek_bits(SeekFrom::Current(2))?; 373s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `skip` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:118:15 373s | 373s 118 | assert!(r.skip(3).is_ok()); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s `BitReader, BigEndian>: Iterator` 373s which is required by `&mut BitReader, BigEndian>: Iterator` 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:101:18 373s | 373s 101 | assert_eq!(r.position_in_bits()?, 2); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:843:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 843 | assert!(w.write_bit(false).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:119:18 373s | 373s 119 | assert_eq!(r.read::(5).unwrap(), 7); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:102:18 373s | 373s 102 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `skip` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:120:15 373s | 373s 120 | assert!(r.skip(3).is_ok()); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s `BitReader, BigEndian>: Iterator` 373s which is required by `&mut BitReader, BigEndian>: Iterator` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:103:18 373s | 373s 103 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:121:18 373s | 373s 121 | assert_eq!(r.read::(19).unwrap(), 0x53BC1); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:124:35 373s | 373s 124 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:124:17 373s | 373s 124 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:844:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 844 | assert!(w.write_bit(false).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:104:18 373s | 373s 104 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:125:18 373s | 373s 125 | assert_eq!(r.read_signed::(2).unwrap(), -2); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:105:18 373s | 373s 105 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:126:18 373s | 373s 126 | assert_eq!(r.read_signed::(3).unwrap(), -2); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:106:20 373s | 373s 106 | let _: i32 = r.read_signed(11)?; 373s | --^^^^^^^^^^^---- 373s | | | 373s | | this is an associated function, not a method 373s | help: use associated function syntax instead: `BitReader, BigEndian>::read_signed(11)` 373s | 373s = note: found the following associated functions; to be used as methods, functions must have a `self` parameter 373s note: the candidate is defined in the trait `Endianness` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/lib.rs:402:5 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:127:18 373s | 373s 127 | assert_eq!(r.read_signed::(5).unwrap(), 7); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:845:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 845 | assert!(w.write_bit(false).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:107:18 373s | 373s 107 | assert_eq!(r.position_in_bits()?, 17); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:128:18 373s | 373s 128 | assert_eq!(r.read_signed::(3).unwrap(), -3); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:109:7 373s | 373s 109 | r.seek_bits(SeekFrom::Current(-3))?; 373s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:129:18 373s | 373s 129 | assert_eq!(r.read_signed::(19).unwrap(), -181311); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:132:35 373s | 373s 132 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:132:17 373s | 373s 132 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:110:18 373s | 373s 110 | assert_eq!(r.position_in_bits()?, 14); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:846:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 846 | assert!(w.write_bit(true).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:133:18 373s | 373s 133 | assert_eq!(r.read_signed_in::<2, i32>().unwrap(), -2); 373s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `skip` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:111:7 373s | 373s 111 | r.skip(10)?; 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s `BitReader, BigEndian>: Iterator` 373s which is required by `&mut BitReader, BigEndian>: Iterator` 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:112:18 373s | 373s 112 | assert_eq!(r.position_in_bits()?, 24); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:134:18 373s | 373s 134 | assert_eq!(r.read_signed_in::<3, i32>().unwrap(), -2); 373s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:113:7 373s | 373s 113 | r.seek_bits(SeekFrom::Current(0))?; 373s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:135:18 373s | 373s 135 | assert_eq!(r.read_signed_in::<5, i32>().unwrap(), 7); 373s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:114:18 373s | 373s 114 | assert_eq!(r.position_in_bits()?, 24); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:847:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 847 | assert!(w.write_bit(true).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:136:18 373s | 373s 136 | assert_eq!(r.read_signed_in::<3, i32>().unwrap(), -3); 373s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read_seek.rs:122:35 373s | 373s 122 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read_seek.rs:122:17 373s | 373s 122 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:137:18 373s | 373s 137 | assert_eq!(r.read_signed_in::<19, i32>().unwrap(), -181311); 373s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:140:35 373s | 373s 140 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:124:7 373s | 373s 124 | r.seek_bits(SeekFrom::End(7))?; 373s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:140:17 373s | 373s 140 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:125:18 373s | 373s 125 | assert_eq!(r.position_in_bits()?, 25); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:848:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 848 | assert!(w.write_bit(true).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:141:18 373s | 373s 141 | assert_eq!(r.read_unary0().unwrap(), 1); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:142:18 373s | 373s 142 | assert_eq!(r.read_unary0().unwrap(), 2); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:126:18 373s | 373s 126 | assert_eq!(r.read_bit()?, true); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:143:18 373s | 373s 143 | assert_eq!(r.read_unary0().unwrap(), 0); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:849:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 849 | assert!(w.write_bit(true).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:127:18 373s | 373s 127 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:128:18 373s | 373s 128 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:144:18 373s | 373s 144 | assert_eq!(r.read_unary0().unwrap(), 0); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:129:18 373s | 373s 129 | assert_eq!(r.read_bit()?, false); 373s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:145:18 373s | 373s 145 | assert_eq!(r.read_unary0().unwrap(), 4); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:148:35 373s | 373s 148 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:850:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 850 | assert!(w.write_bit(false).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:148:17 373s | 373s 148 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:130:18 373s | 373s 130 | assert_eq!(r.position_in_bits()?, 29); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:149:18 373s | 373s 149 | assert_eq!(r.read_unary1().unwrap(), 0); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `seek_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:131:7 373s | 373s 131 | r.seek_bits(SeekFrom::End(0))?; 373s | ^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `position_in_bits` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read_seek.rs:132:18 373s | 373s 132 | assert_eq!(r.position_in_bits()?, 32); 373s | ^^^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Seek` 373s 373s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:150:18 373s | 373s 150 | assert_eq!(r.read_unary1().unwrap(), 1); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:851:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 851 | assert!(w.write_bit(true).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:151:18 373s | 373s 151 | assert_eq!(r.read_unary1().unwrap(), 0); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:152:18 373s | 373s 152 | assert_eq!(r.read_unary1().unwrap(), 3); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:852:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 852 | assert!(w.write_bit(true).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error: could not compile `bitstream-io` (test "read_seek") due to 83 previous errors 373s 373s Caused by: 373s process didn't exit successfully: `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read_seek CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name read_seek --edition=2018 tests/read_seek.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=02d81a1dfa270b4a -C extra-filename=-02d81a1dfa270b4a --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern bitstream_io=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-609acf5299e9e8e9.rlib --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` (exit status: 1) 373s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:153:18 373s | 373s 153 | assert_eq!(r.read_unary1().unwrap(), 0); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:156:35 373s | 373s 156 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:156:17 373s | 373s 156 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:157:18 373s | 373s 157 | assert_eq!(r.read::(3).unwrap(), 5); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_align` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:158:7 373s | 373s 158 | r.byte_align(); 373s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:853:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 853 | assert!(w.write_bit(false).is_ok()); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:159:18 373s | 373s 159 | assert_eq!(r.read::(3).unwrap(), 7); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_align` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:160:7 373s | 373s 160 | r.byte_align(); 373s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_align` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:161:7 373s | 373s 161 | r.byte_align(); 373s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:854:18 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 854 | assert_eq!(w.write_bit(true).unwrap_err().kind(), ErrorKind::WriteZero); 373s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 373s --> tests/write.rs:857:35 373s | 373s 857 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Write`: 373s &mut W 373s &mut [u8] 373s Vec 373s core2::io::cursor::Cursor<&mut [u8]> 373s note: required by a bound in `BitWriter::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 373s 373s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 373s --> tests/write.rs:857:17 373s | 373s 857 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 373s | 373s = help: the following other types implement trait `core2::io::traits::Write`: 373s &mut W 373s &mut [u8] 373s Vec 373s core2::io::cursor::Cursor<&mut [u8]> 373s note: required by a bound in `BitWriter` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:162:18 373s | 373s 162 | assert_eq!(r.read::(8).unwrap(), 59); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `byte_align` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:163:7 373s | 373s 163 | r.byte_align(); 373s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:164:18 373s | 373s 164 | assert_eq!(r.read::(4).unwrap(), 12); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:167:35 373s | 373s 167 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:167:17 373s | 373s 167 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:858:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 858 | assert!(w.write(2, 2u32).is_ok()); 373s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_bytes` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:169:15 373s | 373s 169 | assert!(r.read_bytes(&mut sub_data).is_ok()); 373s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:859:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 859 | assert!(w.write(3, 6u32).is_ok()); 373s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:173:35 373s | 373s 173 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:173:17 373s | 373s 173 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:175:18 373s | 373s 175 | assert_eq!(r.read::(4).unwrap(), 11); 373s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:860:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 860 | assert!(w.write(5, 7u32).is_ok()); 373s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_bytes` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:176:15 373s | 373s 176 | assert!(r.read_bytes(&mut sub_data).is_ok()); 373s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 373s which is required by `BitReader, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:191:35 373s | 373s 191 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:191:17 373s | 373s 191 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:861:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 861 | assert!(w.write(3, 5u32).is_ok()); 373s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:192:18 373s | 373s 192 | assert_eq!(r.read::(0).unwrap(), 0); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:863:11 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 863 | w.write(19, 0x53BC1u32).unwrap_err().kind(), 373s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:193:18 373s | 373s 193 | assert_eq!(r.read::(0).unwrap(), 0); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 373s --> tests/write.rs:868:35 373s | 373s 868 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Write`: 373s &mut W 373s &mut [u8] 373s Vec 373s core2::io::cursor::Cursor<&mut [u8]> 373s note: required by a bound in `BitWriter::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 373s 373s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 373s --> tests/write.rs:868:17 373s | 373s 868 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 373s | 373s = help: the following other types implement trait `core2::io::traits::Write`: 373s &mut W 373s &mut [u8] 373s Vec 373s core2::io::cursor::Cursor<&mut [u8]> 373s note: required by a bound in `BitWriter` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:194:18 373s | 373s 194 | assert_eq!(r.read::(0).unwrap(), 0); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:195:18 373s | 373s 195 | assert_eq!(r.read::(0).unwrap(), 0); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:869:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 869 | assert!(w.write_signed(2, -2).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:196:18 373s | 373s 196 | assert_eq!(r.read::(8).unwrap(), 255); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:198:35 373s | 373s 198 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:198:17 373s | 373s 198 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:870:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 870 | assert!(w.write_signed(3, -2).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:199:18 373s | 373s 199 | assert_eq!(r.read_in::<0, u8>().unwrap(), 0); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:200:18 373s | 373s 200 | assert_eq!(r.read_in::<0, u16>().unwrap(), 0); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:871:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 871 | assert!(w.write_signed(5, 7).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:201:18 373s | 373s 201 | assert_eq!(r.read_in::<0, u32>().unwrap(), 0); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:872:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 872 | assert!(w.write_signed(3, -3).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:202:18 373s | 373s 202 | assert_eq!(r.read_in::<0, u64>().unwrap(), 0); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:203:18 373s | 373s 203 | assert_eq!(r.read_in::<8, u8>().unwrap(), 255); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:205:35 373s | 373s 205 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:874:11 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 874 | w.write_signed(19, -181311).unwrap_err().kind(), 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:205:17 373s | 373s 205 | let mut r = BitReader::endian(Cursor::new(vec![255]), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 373s --> tests/write.rs:879:35 373s | 373s 879 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Write`: 373s &mut W 373s &mut [u8] 373s Vec 373s core2::io::cursor::Cursor<&mut [u8]> 373s note: required by a bound in `BitWriter::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 373s 373s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 373s --> tests/write.rs:879:17 373s | 373s 879 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 373s | 373s = help: the following other types implement trait `core2::io::traits::Write`: 373s &mut W 373s &mut [u8] 373s Vec 373s core2::io::cursor::Cursor<&mut [u8]> 373s note: required by a bound in `BitWriter` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:206:15 373s | 373s 206 | assert!(r.read_signed::(0).is_err()); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:207:15 373s | 373s 207 | assert!(r.read_signed::(0).is_err()); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:880:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 880 | assert!(w.write_unary0(1).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:208:15 373s | 373s 208 | assert!(r.read_signed::(0).is_err()); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_signed` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:209:15 373s | 373s 209 | assert!(r.read_signed::(0).is_err()); 373s | ^^^^^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:212:35 373s | 373s 212 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:212:17 373s | 373s 212 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:881:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 881 | assert!(w.write_unary0(2).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:213:18 373s | 373s 213 | assert_eq!(r.read::(32).unwrap(), 0); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:214:18 373s | 373s 214 | assert_eq!(r.read::(32).unwrap(), 4294967295); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:882:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 882 | assert!(w.write_unary0(0).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:215:18 373s | 373s 215 | assert_eq!(r.read::(32).unwrap(), 2147483648); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:216:18 373s | 373s 216 | assert_eq!(r.read::(32).unwrap(), 2147483647); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:883:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 883 | assert!(w.write_unary0(0).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:217:18 373s | 373s 217 | assert_eq!(r.read::(64).unwrap(), 0); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:218:18 373s | 373s 218 | assert_eq!(r.read::(64).unwrap(), 0xFFFFFFFFFFFFFFFF); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:884:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 884 | assert!(w.write_unary0(4).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:219:18 373s | 373s 219 | assert_eq!(r.read::(64).unwrap(), 9223372036854775808); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:220:18 373s | 373s 220 | assert_eq!(r.read::(64).unwrap(), 9223372036854775807); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:222:35 373s | 373s 222 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:222:17 373s | 373s 222 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:885:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 885 | assert!(w.write_unary0(2).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:223:18 373s | 373s 223 | assert_eq!(r.read_in::<32, u32>().unwrap(), 0); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:886:18 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 886 | assert_eq!(w.write_unary0(1).unwrap_err().kind(), ErrorKind::WriteZero); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:224:18 373s | 373s 224 | assert_eq!(r.read_in::<32, u32>().unwrap(), 4294967295); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 373s --> tests/write.rs:889:35 373s | 373s 889 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Write`: 373s &mut W 373s &mut [u8] 373s Vec 373s core2::io::cursor::Cursor<&mut [u8]> 373s note: required by a bound in `BitWriter::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 373s 373s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 373s --> tests/write.rs:889:17 373s | 373s 889 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 373s | 373s = help: the following other types implement trait `core2::io::traits::Write`: 373s &mut W 373s &mut [u8] 373s Vec 373s core2::io::cursor::Cursor<&mut [u8]> 373s note: required by a bound in `BitWriter` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:225:18 373s | 373s 225 | assert_eq!(r.read_in::<32, u32>().unwrap(), 2147483648); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:890:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 890 | assert!(w.write_unary1(0).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:226:18 373s | 373s 226 | assert_eq!(r.read_in::<32, u32>().unwrap(), 2147483647); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:227:18 373s | 373s 227 | assert_eq!(r.read_in::<64, u64>().unwrap(), 0); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:891:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 891 | assert!(w.write_unary1(1).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:228:18 373s | 373s 228 | assert_eq!(r.read_in::<64, u64>().unwrap(), 0xFFFFFFFFFFFFFFFF); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:892:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 892 | assert!(w.write_unary1(0).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:229:18 373s | 373s 229 | assert_eq!(r.read_in::<64, u64>().unwrap(), 9223372036854775808); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:230:18 373s | 373s 230 | assert_eq!(r.read_in::<64, u64>().unwrap(), 9223372036854775807); 373s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:233:35 373s | 373s 233 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 373s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | | 373s | required by a bound introduced by this call 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader::::endian` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 373s 373s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 373s --> tests/read.rs:233:17 373s | 373s 233 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 373s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 373s | 373s = help: the following other types implement trait `core2::io::traits::Read`: 373s &[u8] 373s &mut R 373s core2::io::cursor::Cursor 373s core2::io::traits::Chain 373s core2::io::traits::Take 373s note: required by a bound in `BitReader` 373s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 373s 373s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 373s --> tests/write.rs:893:15 373s | 373s 806 | struct LimitedWriter { 373s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 373s ... 373s 893 | assert!(w.write_unary1(3).is_ok()); 373s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `LimitedWriter: core2::io::traits::Write` 373s which is required by `BitWriter: BitWrite` 373s note: the trait `core2::io::traits::Write` must be implemented 373s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 373s | 373s 614 | pub trait Write { 373s | ^^^^^^^^^^^^^^^ 373s 373s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 373s --> tests/read.rs:234:18 373s | 373s 234 | assert_eq!(r.read::(32).unwrap(), 0); 373s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 373s | 373s = note: the following trait bounds were not satisfied: 373s `std::io::Cursor<&Vec>: core2::io::traits::Read` 373s which is required by `BitReader>, BigEndian>: BitRead` 373s 374s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:235:18 374s | 374s 235 | assert_eq!(r.read::(32).unwrap(), -1); 374s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:894:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 894 | assert!(w.write_unary1(0).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:236:18 374s | 374s 236 | assert_eq!(r.read::(32).unwrap(), -2147483648); 374s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:895:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 895 | assert!(w.write_unary1(0).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:237:18 374s | 374s 237 | assert_eq!(r.read::(32).unwrap(), 2147483647); 374s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:238:18 374s | 374s 238 | assert_eq!(r.read::(64).unwrap(), 0); 374s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:896:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 896 | assert!(w.write_unary1(0).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:239:18 374s | 374s 239 | assert_eq!(r.read::(64).unwrap(), -1); 374s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:240:18 374s | 374s 240 | assert_eq!(r.read::(64).unwrap(), -9223372036854775808); 374s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:897:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 897 | assert!(w.write_unary1(1).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:241:18 374s | 374s 241 | assert_eq!(r.read::(64).unwrap(), 9223372036854775807); 374s | ^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:243:35 374s | 374s 243 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:243:17 374s | 374s 243 | let mut r = BitReader::endian(Cursor::new(&data), BigEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:898:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 898 | assert!(w.write_unary1(0).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:244:18 374s | 374s 244 | assert_eq!(r.read_in::<32, i32>().unwrap(), 0); 374s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:899:18 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 899 | assert_eq!(w.write_unary1(1).unwrap_err().kind(), ErrorKind::WriteZero); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:245:18 374s | 374s 245 | assert_eq!(r.read_in::<32, i32>().unwrap(), -1); 374s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:902:35 374s | 374s 902 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:902:17 374s | 374s 902 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:246:18 374s | 374s 246 | assert_eq!(r.read_in::<32, i32>().unwrap(), -2147483648); 374s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:247:18 374s | 374s 247 | assert_eq!(r.read_in::<32, i32>().unwrap(), 2147483647); 374s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:903:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 903 | assert!(w.write::(9, 0b111111111).is_ok()); 374s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `byte_align` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:904:18 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 904 | assert_eq!(w.byte_align().unwrap_err().kind(), ErrorKind::WriteZero); 374s | ^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:907:35 374s | 374s 907 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:248:18 374s | 374s 248 | assert_eq!(r.read_in::<64, i64>().unwrap(), 0); 374s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:907:17 374s | 374s 907 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:249:18 374s | 374s 249 | assert_eq!(r.read_in::<64, i64>().unwrap(), -1); 374s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `write_bytes` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:909:11 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 909 | w.write_bytes(b"\xB1\xED").unwrap_err().kind(), 374s | ^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:914:35 374s | 374s 914 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:914:17 374s | 374s 914 | let mut w = BitWriter::endian(LimitedWriter::new(1), BigEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:250:18 374s | 374s 250 | assert_eq!(r.read_in::<64, i64>().unwrap(), -9223372036854775808); 374s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader>, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:251:18 374s | 374s 251 | assert_eq!(r.read_in::<64, i64>().unwrap(), 9223372036854775807); 374s | ^^^^^^^ method cannot be called on `BitReader>, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&Vec>: core2::io::traits::Read` 374s which is required by `BitReader>, BigEndian>: BitRead` 374s 374s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:915:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 915 | assert!(w.write(4, 11).is_ok()); 374s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `write_bytes` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:917:11 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 917 | w.write_bytes(b"\xB1\xED").unwrap_err().kind(), 374s | ^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:269:35 374s | 374s 269 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:269:17 374s | 374s 269 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:928:35 374s | 374s 928 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:928:17 374s | 374s 928 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:271:18 374s | 374s 271 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:272:18 374s | 374s 272 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:273:18 374s | 374s 273 | assert_eq!(r.read_huffman(&tree).unwrap(), 4); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:929:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 929 | assert!(w.write_bit(true).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:274:18 374s | 374s 274 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:275:18 374s | 374s 275 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:930:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 930 | assert!(w.write_bit(false).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:276:18 374s | 374s 276 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:277:18 374s | 374s 277 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:931:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 931 | assert!(w.write_bit(false).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:278:18 374s | 374s 278 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:279:18 374s | 374s 279 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:280:18 374s | 374s 280 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:932:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 932 | assert!(w.write_bit(false).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:281:18 374s | 374s 281 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:282:18 374s | 374s 282 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:933:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 933 | assert!(w.write_bit(true).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:283:18 374s | 374s 283 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:284:18 374s | 374s 284 | assert_eq!(r.read_huffman(&tree).unwrap(), 4); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:934:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 934 | assert!(w.write_bit(true).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_huffman` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:285:18 374s | 374s 285 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, BigEndian>: HuffmanRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:295:35 374s | 374s 295 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:295:17 374s | 374s 295 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:935:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 935 | assert!(w.write_bit(false).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:296:18 374s | 374s 296 | assert_eq!(r.read_bit().unwrap(), true); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:297:18 374s | 374s 297 | assert_eq!(r.read_bit().unwrap(), false); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:936:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 936 | assert!(w.write_bit(true).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:298:18 374s | 374s 298 | assert_eq!(r.read_bit().unwrap(), false); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:299:18 374s | 374s 299 | assert_eq!(r.read_bit().unwrap(), false); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:937:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 937 | assert!(w.write_bit(true).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:300:18 374s | 374s 300 | assert_eq!(r.read_bit().unwrap(), true); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:301:18 374s | 374s 301 | assert_eq!(r.read_bit().unwrap(), true); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:302:18 374s | 374s 302 | assert_eq!(r.read_bit().unwrap(), false); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:938:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 938 | assert!(w.write_bit(false).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:303:18 374s | 374s 303 | assert_eq!(r.read_bit().unwrap(), true); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:304:18 374s | 374s 304 | assert_eq!(r.read_bit().unwrap(), true); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:939:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 939 | assert!(w.write_bit(true).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:305:18 374s | 374s 305 | assert_eq!(r.read_bit().unwrap(), false); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:306:18 374s | 374s 306 | assert_eq!(r.read_bit().unwrap(), true); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:940:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 940 | assert!(w.write_bit(true).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:307:18 374s | 374s 307 | assert_eq!(r.read_bit().unwrap(), true); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:308:18 374s | 374s 308 | assert_eq!(r.read_bit().unwrap(), false); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:309:18 374s | 374s 309 | assert_eq!(r.read_bit().unwrap(), true); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:941:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 941 | assert!(w.write_bit(false).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:310:18 374s | 374s 310 | assert_eq!(r.read_bit().unwrap(), true); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:311:18 374s | 374s 311 | assert_eq!(r.read_bit().unwrap(), true); 374s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:314:35 374s | 374s 314 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:314:17 374s | 374s 314 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:942:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 942 | assert!(w.write_bit(true).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:315:15 374s | 374s 315 | assert!(r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:316:18 374s | 374s 316 | assert_eq!(r.read::(2).unwrap(), 1); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:943:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 943 | assert!(w.write_bit(true).is_ok()); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:317:16 374s | 374s 317 | assert!(!r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:318:18 374s | 374s 318 | assert_eq!(r.read::(3).unwrap(), 4); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:319:16 374s | 374s 319 | assert!(!r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_bit` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:944:18 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 944 | assert_eq!(w.write_bit(true).unwrap_err().kind(), ErrorKind::WriteZero); 374s | ^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:947:35 374s | 374s 947 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:947:17 374s | 374s 947 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:320:18 374s | 374s 320 | assert_eq!(r.read::(5).unwrap(), 13); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:321:16 374s | 374s 321 | assert!(!r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:322:18 374s | 374s 322 | assert_eq!(r.read::(3).unwrap(), 3); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:948:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 948 | assert!(w.write(2, 1u32).is_ok()); 374s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:323:16 374s | 374s 323 | assert!(!r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:324:18 374s | 374s 324 | assert_eq!(r.read::(19).unwrap(), 0x609DF); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:325:15 374s | 374s 325 | assert!(r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:949:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 949 | assert!(w.write(3, 4u32).is_ok()); 374s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:326:15 374s | 374s 326 | assert!(r.read::(1).is_err()); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:329:35 374s | 374s 329 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:329:17 374s | 374s 329 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:330:15 374s | 374s 330 | assert!(r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:950:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 950 | assert!(w.write(5, 13u32).is_ok()); 374s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:331:18 374s | 374s 331 | assert_eq!(r.read_in::<2, u32>().unwrap(), 1); 374s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:332:16 374s | 374s 332 | assert!(!r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:333:18 374s | 374s 333 | assert_eq!(r.read_in::<3, u32>().unwrap(), 4); 374s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:951:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 951 | assert!(w.write(3, 3u32).is_ok()); 374s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:334:16 374s | 374s 334 | assert!(!r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:335:18 374s | 374s 335 | assert_eq!(r.read_in::<5, u32>().unwrap(), 13); 374s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:336:16 374s | 374s 336 | assert!(!r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:953:11 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 953 | w.write(19, 0x609DFu32).unwrap_err().kind(), 374s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:958:35 374s | 374s 958 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:958:17 374s | 374s 958 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:337:18 374s | 374s 337 | assert_eq!(r.read_in::<3, u32>().unwrap(), 3); 374s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:338:16 374s | 374s 338 | assert!(!r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:959:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 959 | assert!(w.write_signed(2, 1).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:339:18 374s | 374s 339 | assert_eq!(r.read_in::<19, u32>().unwrap(), 0x609DF); 374s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `byte_aligned` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:340:15 374s | 374s 340 | assert!(r.byte_aligned()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:960:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 960 | assert!(w.write_signed(3, -4).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:341:15 374s | 374s 341 | assert!(r.read_in::<1, u32>().is_err()); 374s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:344:35 374s | 374s 344 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:344:17 374s | 374s 344 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:345:18 374s | 374s 345 | assert_eq!(r.read::(2).unwrap(), 1); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:961:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 961 | assert!(w.write_signed(5, 13).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `skip` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:346:15 374s | 374s 346 | assert!(r.skip(3).is_ok()); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s `BitReader, LittleEndian>: Iterator` 374s which is required by `&mut BitReader, LittleEndian>: Iterator` 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:347:18 374s | 374s 347 | assert_eq!(r.read::(5).unwrap(), 13); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `skip` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:348:15 374s | 374s 348 | assert!(r.skip(3).is_ok()); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s `BitReader, LittleEndian>: Iterator` 374s which is required by `&mut BitReader, LittleEndian>: Iterator` 374s 374s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:962:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 962 | assert!(w.write_signed(3, 3).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:349:18 374s | 374s 349 | assert_eq!(r.read::(19).unwrap(), 0x609DF); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:352:35 374s | 374s 352 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:352:17 374s | 374s 352 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:964:11 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 964 | w.write_signed(19, -128545).unwrap_err().kind(), 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:353:18 374s | 374s 353 | assert_eq!(r.read_signed::(2).unwrap(), 1); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:969:35 374s | 374s 969 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:969:17 374s | 374s 969 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 374s 374s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:354:18 374s | 374s 354 | assert_eq!(r.read_signed::(3).unwrap(), -4); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:355:18 374s | 374s 355 | assert_eq!(r.read_signed::(5).unwrap(), 13); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:970:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 970 | assert!(w.write_unary0(1).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:356:18 374s | 374s 356 | assert_eq!(r.read_signed::(3).unwrap(), 3); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:357:18 374s | 374s 357 | assert_eq!(r.read_signed::(19).unwrap(), -128545); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:360:35 374s | 374s 360 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:971:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 971 | assert!(w.write_unary0(0).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:360:17 374s | 374s 360 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:361:18 374s | 374s 361 | assert_eq!(r.read_signed_in::<2, i32>().unwrap(), 1); 374s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:972:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 972 | assert!(w.write_unary0(0).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:362:18 374s | 374s 362 | assert_eq!(r.read_signed_in::<3, i32>().unwrap(), -4); 374s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:363:18 374s | 374s 363 | assert_eq!(r.read_signed_in::<5, i32>().unwrap(), 13); 374s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:973:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 973 | assert!(w.write_unary0(2).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:364:18 374s | 374s 364 | assert_eq!(r.read_signed_in::<3, i32>().unwrap(), 3); 374s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:365:18 374s | 374s 365 | assert_eq!(r.read_signed_in::<19, i32>().unwrap(), -128545); 374s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:368:35 374s | 374s 368 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:368:17 374s | 374s 368 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:974:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 974 | assert!(w.write_unary0(2).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:369:18 374s | 374s 369 | assert_eq!(r.read_unary0().unwrap(), 1); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:370:18 374s | 374s 370 | assert_eq!(r.read_unary0().unwrap(), 0); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:975:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 975 | assert!(w.write_unary0(2).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:371:18 374s | 374s 371 | assert_eq!(r.read_unary0().unwrap(), 0); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary0` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:976:18 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 976 | assert_eq!(w.write_unary0(5).unwrap_err().kind(), ErrorKind::WriteZero); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:979:35 374s | 374s 979 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 374s 374s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:372:18 374s | 374s 372 | assert_eq!(r.read_unary0().unwrap(), 2); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:979:17 374s | 374s 979 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 374s 374s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:373:18 374s | 374s 373 | assert_eq!(r.read_unary0().unwrap(), 2); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:376:35 374s | 374s 376 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:376:17 374s | 374s 376 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:980:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 980 | assert!(w.write_unary1(0).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:377:18 374s | 374s 377 | assert_eq!(r.read_unary1().unwrap(), 0); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:378:18 374s | 374s 378 | assert_eq!(r.read_unary1().unwrap(), 3); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:981:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 981 | assert!(w.write_unary1(3).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:379:18 374s | 374s 379 | assert_eq!(r.read_unary1().unwrap(), 0); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:380:18 374s | 374s 380 | assert_eq!(r.read_unary1().unwrap(), 1); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:982:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 982 | assert!(w.write_unary1(0).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:381:18 374s | 374s 381 | assert_eq!(r.read_unary1().unwrap(), 0); 374s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:384:35 374s | 374s 384 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:384:17 374s | 374s 384 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:983:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 983 | assert!(w.write_unary1(1).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:385:18 374s | 374s 385 | assert_eq!(r.read::(3).unwrap(), 1); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `byte_align` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:386:7 374s | 374s 386 | r.byte_align(); 374s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:984:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 984 | assert!(w.write_unary1(0).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:387:18 374s | 374s 387 | assert_eq!(r.read::(3).unwrap(), 5); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `byte_align` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:388:7 374s | 374s 388 | r.byte_align(); 374s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:985:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 985 | assert!(w.write_unary1(1).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `byte_align` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:389:7 374s | 374s 389 | r.byte_align(); 374s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:390:18 374s | 374s 390 | assert_eq!(r.read::(8).unwrap(), 59); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:986:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 986 | assert!(w.write_unary1(0).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `byte_align` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:391:7 374s | 374s 391 | r.byte_align(); 374s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:392:18 374s | 374s 392 | assert_eq!(r.read::(4).unwrap(), 1); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:987:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 987 | assert!(w.write_unary1(1).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:395:35 374s | 374s 395 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:395:17 374s | 374s 395 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `read_bytes` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:397:15 374s | 374s 397 | assert!(r.read_bytes(&mut sub_data).is_ok()); 374s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:988:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 988 | assert!(w.write_unary1(0).is_ok()); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:401:35 374s | 374s 401 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:401:17 374s | 374s 401 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:403:18 374s | 374s 403 | assert_eq!(r.read::(4).unwrap(), 1); 374s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_unary1` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:989:18 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 989 | assert_eq!(w.write_unary1(1).unwrap_err().kind(), ErrorKind::WriteZero); 374s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:992:35 374s | 374s 992 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:992:17 374s | 374s 992 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 374s 374s error[E0599]: the method `read_bytes` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:404:15 374s | 374s 404 | assert!(r.read_bytes(&mut sub_data).is_ok()); 374s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 374s which is required by `BitReader, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:419:35 374s | 374s 419 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:419:17 374s | 374s 419 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 374s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:993:15 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 993 | assert!(w.write::(9, 0b111111111).is_ok()); 374s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:420:18 374s | 374s 420 | assert_eq!(r.read::(0).unwrap(), 0); 374s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor>: core2::io::traits::Read` 374s which is required by `BitReader>, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `byte_align` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:994:18 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 994 | assert_eq!(w.byte_align().unwrap_err().kind(), ErrorKind::WriteZero); 374s | ^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:997:35 374s | 374s 997 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:997:17 374s | 374s 997 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 374s 374s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:421:18 374s | 374s 421 | assert_eq!(r.read::(0).unwrap(), 0); 374s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor>: core2::io::traits::Read` 374s which is required by `BitReader>, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:422:18 374s | 374s 422 | assert_eq!(r.read::(0).unwrap(), 0); 374s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor>: core2::io::traits::Read` 374s which is required by `BitReader>, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `write_bytes` exists for struct `BitWriter`, but its trait bounds were not satisfied 374s --> tests/write.rs:999:11 374s | 374s 806 | struct LimitedWriter { 374s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 374s ... 374s 999 | w.write_bytes(b"\xB1\xED").unwrap_err().kind(), 374s | ^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `LimitedWriter: core2::io::traits::Write` 374s which is required by `BitWriter: BitWrite` 374s note: the trait `core2::io::traits::Write` must be implemented 374s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 374s | 374s 614 | pub trait Write { 374s | ^^^^^^^^^^^^^^^ 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:1004:35 374s | 374s 1004 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 374s 374s error[E0277]: the trait bound `LimitedWriter: core2::io::traits::Write` is not satisfied 374s --> tests/write.rs:1004:17 374s | 374s 1004 | let mut w = BitWriter::endian(LimitedWriter::new(1), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `LimitedWriter` 374s | 374s = help: the following other types implement trait `core2::io::traits::Write`: 374s &mut W 374s &mut [u8] 374s Vec 374s core2::io::cursor::Cursor<&mut [u8]> 374s note: required by a bound in `BitWriter` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 374s 374s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:423:18 374s | 374s 423 | assert_eq!(r.read::(0).unwrap(), 0); 374s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor>: core2::io::traits::Read` 374s which is required by `BitReader>, LittleEndian>: BitRead` 374s 374s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 374s --> tests/read.rs:424:18 374s | 374s 424 | assert_eq!(r.read::(8).unwrap(), 255); 374s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 374s | 374s = note: the following trait bounds were not satisfied: 374s `std::io::Cursor>: core2::io::traits::Read` 374s which is required by `BitReader>, LittleEndian>: BitRead` 374s 374s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:426:35 374s | 374s 426 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 374s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 374s | | 374s | required by a bound introduced by this call 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader::::endian` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 374s 374s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 374s --> tests/read.rs:426:17 374s | 374s 426 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 374s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 374s | 374s = help: the following other types implement trait `core2::io::traits::Read`: 374s &[u8] 374s &mut R 374s core2::io::cursor::Cursor 374s core2::io::traits::Chain 374s core2::io::traits::Take 374s note: required by a bound in `BitReader` 374s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 374s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1005:15 375s | 375s 806 | struct LimitedWriter { 375s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 375s ... 375s 1005 | assert!(w.write(4, 11).is_ok()); 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `LimitedWriter: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s note: the trait `core2::io::traits::Write` must be implemented 375s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 375s | 375s 614 | pub trait Write { 375s | ^^^^^^^^^^^^^^^ 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:427:18 375s | 375s 427 | assert_eq!(r.read_in::<0, u8>().unwrap(), 0); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write_bytes` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1007:11 375s | 375s 806 | struct LimitedWriter { 375s | -------------------- doesn't satisfy `LimitedWriter: core2::io::traits::Write` 375s ... 375s 1007 | w.write_bytes(b"\xB1\xED").unwrap_err().kind(), 375s | ^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `LimitedWriter: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s note: the trait `core2::io::traits::Write` must be implemented 375s --> /usr/share/cargo/registry/core2-0.4.0/src/io/traits.rs:614:1 375s | 375s 614 | pub trait Write { 375s | ^^^^^^^^^^^^^^^ 375s 375s error[E0277]: the trait bound `Sink: core2::io::traits::Write` is not satisfied 375s --> tests/write.rs:1017:35 375s | 375s 1017 | let mut w = BitWriter::endian(sink(), BigEndian); 375s | ----------------- ^^^^^^ the trait `core2::io::traits::Write` is not implemented for `Sink` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Write`: 375s &mut W 375s &mut [u8] 375s Vec 375s core2::io::cursor::Cursor<&mut [u8]> 375s note: required by a bound in `BitWriter::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 375s 375s error[E0277]: the trait bound `Sink: core2::io::traits::Write` is not satisfied 375s --> tests/write.rs:1017:17 375s | 375s 1017 | let mut w = BitWriter::endian(sink(), BigEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `Sink` 375s | 375s = help: the following other types implement trait `core2::io::traits::Write`: 375s &mut W 375s &mut [u8] 375s Vec 375s core2::io::cursor::Cursor<&mut [u8]> 375s note: required by a bound in `BitWriter` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:428:18 375s | 375s 428 | assert_eq!(r.read_in::<0, u16>().unwrap(), 0); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:429:18 375s | 375s 429 | assert_eq!(r.read_in::<0, u32>().unwrap(), 0); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:430:18 375s | 375s 430 | assert_eq!(r.read_in::<0, u64>().unwrap(), 0); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1018:18 375s | 375s 1018 | assert_eq!(w.write(9, 0u8).unwrap_err().kind(), ErrorKind::InvalidInput); 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:431:18 375s | 375s 431 | assert_eq!(r.read_in::<8, u8>().unwrap(), 255); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:433:35 375s | 375s 433 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:433:17 375s | 375s 433 | let mut r = BitReader::endian(Cursor::new(vec![255]), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:434:15 375s | 375s 434 | assert!(r.read_signed::(0).is_err()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1020:11 375s | 375s 1020 | w.write(17, 0u16).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:435:15 375s | 375s 435 | assert!(r.read_signed::(0).is_err()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:436:15 375s | 375s 436 | assert!(r.read_signed::(0).is_err()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:437:15 375s | 375s 437 | assert!(r.read_signed::(0).is_err()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:440:35 375s | 375s 440 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:440:17 375s | 375s 440 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1024:11 375s | 375s 1024 | w.write(33, 0u32).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:441:18 375s | 375s 441 | assert_eq!(r.read::(32).unwrap(), 0); 375s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:442:18 375s | 375s 442 | assert_eq!(r.read::(32).unwrap(), 4294967295); 375s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1028:11 375s | 375s 1028 | w.write(65, 0u64).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:443:18 375s | 375s 443 | assert_eq!(r.read::(32).unwrap(), 2147483648); 375s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:444:18 375s | 375s 444 | assert_eq!(r.read::(32).unwrap(), 2147483647); 375s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:445:18 375s | 375s 445 | assert_eq!(r.read::(64).unwrap(), 0); 375s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1033:11 375s | 375s 1033 | w.write(1, 0b10).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:446:18 375s | 375s 446 | assert_eq!(r.read::(64).unwrap(), 0xFFFFFFFFFFFFFFFF); 375s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:447:18 375s | 375s 447 | assert_eq!(r.read::(64).unwrap(), 9223372036854775808); 375s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1037:11 375s | 375s 1037 | w.write(2, 0b100).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:448:18 375s | 375s 448 | assert_eq!(r.read::(64).unwrap(), 9223372036854775807); 375s | ^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:450:35 375s | 375s 450 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:450:17 375s | 375s 450 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:451:18 375s | 375s 451 | assert_eq!(r.read_in::<32, u32>().unwrap(), 0); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1041:11 375s | 375s 1041 | w.write(3, 0b1000).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:452:18 375s | 375s 452 | assert_eq!(r.read_in::<32, u32>().unwrap(), 4294967295); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:453:18 375s | 375s 453 | assert_eq!(r.read_in::<32, u32>().unwrap(), 2147483648); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1048:15 375s | 375s 1048 | w.write(bits, val).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:454:18 375s | 375s 454 | assert_eq!(r.read_in::<32, u32>().unwrap(), 2147483647); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:455:18 375s | 375s 455 | assert_eq!(r.read_in::<64, u64>().unwrap(), 0); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:456:18 375s | 375s 456 | assert_eq!(r.read_in::<64, u64>().unwrap(), 0xFFFFFFFFFFFFFFFF); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1055:15 375s | 375s 1055 | w.write(bits, val).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:457:18 375s | 375s 457 | assert_eq!(r.read_in::<64, u64>().unwrap(), 9223372036854775808); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:458:18 375s | 375s 458 | assert_eq!(r.read_in::<64, u64>().unwrap(), 9223372036854775807); 375s | ^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:460:35 375s | 375s 460 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:460:17 375s | 375s 460 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1062:15 375s | 375s 1062 | w.write(bits, val).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:461:18 375s | 375s 461 | assert_eq!(r.read_signed::(32).unwrap(), 0); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:462:18 375s | 375s 462 | assert_eq!(r.read_signed::(32).unwrap(), -1); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:463:18 375s | 375s 463 | assert_eq!(r.read_signed::(32).unwrap(), -2147483648); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1069:15 375s | 375s 1069 | w.write(bits, val).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:464:18 375s | 375s 464 | assert_eq!(r.read_signed::(32).unwrap(), 2147483647); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:465:18 375s | 375s 465 | assert_eq!(r.read_signed::(64).unwrap(), 0); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:466:18 375s | 375s 466 | assert_eq!(r.read_signed::(64).unwrap(), -1); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1075:11 375s | 375s 1075 | w.write_signed(9, 0i8).unwrap_err().kind(), 375s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:467:18 375s | 375s 467 | assert_eq!(r.read_signed::(64).unwrap(), -9223372036854775808); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:468:18 375s | 375s 468 | assert_eq!(r.read_signed::(64).unwrap(), 9223372036854775807); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1079:11 375s | 375s 1079 | w.write_signed(17, 0i16).unwrap_err().kind(), 375s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:470:35 375s | 375s 470 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&Vec>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:470:17 375s | 375s 470 | let mut r = BitReader::endian(Cursor::new(&data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&Vec>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:471:18 375s | 375s 471 | assert_eq!(r.read_signed_in::<32, i32>().unwrap(), 0); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:472:18 375s | 375s 472 | assert_eq!(r.read_signed_in::<32, i32>().unwrap(), -1); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1083:11 375s | 375s 1083 | w.write_signed(33, 0i32).unwrap_err().kind(), 375s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:473:18 375s | 375s 473 | assert_eq!(r.read_signed_in::<32, i32>().unwrap(), -2147483648); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:474:18 375s | 375s 474 | assert_eq!(r.read_signed_in::<32, i32>().unwrap(), 2147483647); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1087:11 375s | 375s 1087 | w.write_signed(65, 0i64).unwrap_err().kind(), 375s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:475:18 375s | 375s 475 | assert_eq!(r.read_signed_in::<64, i64>().unwrap(), 0); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `Sink: core2::io::traits::Write` is not satisfied 375s --> tests/write.rs:1091:35 375s | 375s 1091 | let mut w = BitWriter::endian(sink(), LittleEndian); 375s | ----------------- ^^^^^^ the trait `core2::io::traits::Write` is not implemented for `Sink` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Write`: 375s &mut W 375s &mut [u8] 375s Vec 375s core2::io::cursor::Cursor<&mut [u8]> 375s note: required by a bound in `BitWriter::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:206:5 375s 375s error[E0277]: the trait bound `Sink: core2::io::traits::Write` is not satisfied 375s --> tests/write.rs:1091:17 375s | 375s 1091 | let mut w = BitWriter::endian(sink(), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Write` is not implemented for `Sink` 375s | 375s = help: the following other types implement trait `core2::io::traits::Write`: 375s &mut W 375s &mut [u8] 375s Vec 375s core2::io::cursor::Cursor<&mut [u8]> 375s note: required by a bound in `BitWriter` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/write.rs:190:1 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:476:18 375s | 375s 476 | assert_eq!(r.read_signed_in::<64, i64>().unwrap(), -1); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:477:18 375s | 375s 477 | assert_eq!(r.read_signed_in::<64, i64>().unwrap(), -9223372036854775808); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader>, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:478:18 375s | 375s 478 | assert_eq!(r.read_signed_in::<64, i64>().unwrap(), 9223372036854775807); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader>, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&Vec>: core2::io::traits::Read` 375s which is required by `BitReader>, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1092:18 375s | 375s 1092 | assert_eq!(w.write(9, 0u8).unwrap_err().kind(), ErrorKind::InvalidInput); 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:496:35 375s | 375s 496 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:496:17 375s | 375s 496 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:498:18 375s | 375s 498 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:499:18 375s | 375s 499 | assert_eq!(r.read_huffman(&tree).unwrap(), 3); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1094:11 375s | 375s 1094 | w.write(17, 0u16).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:500:18 375s | 375s 500 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:501:18 375s | 375s 501 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:502:18 375s | 375s 502 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1098:11 375s | 375s 1098 | w.write(33, 0u32).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:503:18 375s | 375s 503 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:504:18 375s | 375s 504 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:505:18 375s | 375s 505 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:506:18 375s | 375s 506 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1102:11 375s | 375s 1102 | w.write(65, 0u64).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:507:18 375s | 375s 507 | assert_eq!(r.read_huffman(&tree).unwrap(), 0); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:508:18 375s | 375s 508 | assert_eq!(r.read_huffman(&tree).unwrap(), 1); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:509:18 375s | 375s 509 | assert_eq!(r.read_huffman(&tree).unwrap(), 2); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1107:11 375s | 375s 1107 | w.write(1, 0b10).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:510:18 375s | 375s 510 | assert_eq!(r.read_huffman(&tree).unwrap(), 4); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0599]: the method `read_huffman` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:511:18 375s | 375s 511 | assert_eq!(r.read_huffman(&tree).unwrap(), 3); 375s | ^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: HuffmanRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:522:35 375s | 375s 522 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:522:17 375s | 375s 522 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1111:11 375s | 375s 1111 | w.write(2, 0b100).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:523:15 375s | 375s 523 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:524:15 375s | 375s 524 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:525:15 375s | 375s 525 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1115:11 375s | 375s 1115 | w.write(3, 0b1000).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:526:15 375s | 375s 526 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:527:15 375s | 375s 527 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:528:15 375s | 375s 528 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1122:15 375s | 375s 1122 | w.write(bits, val).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:529:15 375s | 375s 529 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:530:15 375s | 375s 530 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:531:18 375s | 375s 531 | assert_eq!(r.read_bit().unwrap_err().kind(), ErrorKind::UnexpectedEof); 375s | ^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:534:35 375s | 375s 534 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:534:17 375s | 375s 534 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1129:15 375s | 375s 1129 | w.write(bits, val).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:535:15 375s | 375s 535 | assert!(r.read::(7).is_ok()); 375s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `skip` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:536:18 375s | 375s 536 | assert_eq!(r.skip(5).unwrap_err().kind(), ErrorKind::UnexpectedEof); 375s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s `BitReader, BigEndian>: Iterator` 375s which is required by `&mut BitReader, BigEndian>: Iterator` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:539:35 375s | 375s 539 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:539:17 375s | 375s 539 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:540:15 375s | 375s 540 | assert!(r.read_signed::(2).is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:541:15 375s | 375s 541 | assert!(r.read_signed::(3).is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1136:15 375s | 375s 1136 | w.write(bits, val).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:543:11 375s | 375s 543 | r.read_signed::(5).unwrap_err().kind(), 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:547:35 375s | 375s 547 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:547:17 375s | 375s 547 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:548:15 375s | 375s 548 | assert!(r.read_signed_in::<2, i32>().is_ok()); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `write` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1143:15 375s | 375s 1143 | w.write(bits, val).unwrap_err().kind(), 375s | ^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:549:15 375s | 375s 549 | assert!(r.read_signed_in::<3, i32>().is_ok()); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:551:11 375s | 375s 551 | r.read_signed_in::<5, i32>().unwrap_err().kind(), 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:556:35 375s | 375s 556 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:556:17 375s | 375s 556 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1149:11 375s | 375s 1149 | w.write_signed(9, 0i8).unwrap_err().kind(), 375s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:557:15 375s | 375s 557 | assert!(r.read_unary0().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:558:15 375s | 375s 558 | assert!(r.read_unary0().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:559:15 375s | 375s 559 | assert!(r.read_unary0().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1153:11 375s | 375s 1153 | w.write_signed(17, 0i16).unwrap_err().kind(), 375s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:560:15 375s | 375s 560 | assert!(r.read_unary0().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary0` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:562:11 375s | 375s 562 | r.read_unary0().unwrap_err().kind(), 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:567:35 375s | 375s 567 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:567:17 375s | 375s 567 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1157:11 375s | 375s 1157 | w.write_signed(33, 0i32).unwrap_err().kind(), 375s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:568:15 375s | 375s 568 | assert!(r.read_unary1().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:569:15 375s | 375s 569 | assert!(r.read_unary1().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `write_signed` exists for struct `BitWriter`, but its trait bounds were not satisfied 375s --> tests/write.rs:1161:11 375s | 375s 1161 | w.write_signed(65, 0i64).unwrap_err().kind(), 375s | ^^^^^^^^^^^^ method cannot be called on `BitWriter` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `Sink: core2::io::traits::Write` 375s which is required by `BitWriter: BitWrite` 375s 375s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:570:15 375s | 375s 570 | assert!(r.read_unary1().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:571:15 375s | 375s 571 | assert!(r.read_unary1().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary1` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:573:11 375s | 375s 573 | r.read_unary1().unwrap_err().kind(), 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:578:35 375s | 375s 578 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:578:17 375s | 375s 578 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_bytes` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:581:11 375s | 375s 581 | r.read_bytes(&mut sub_data).unwrap_err().kind(), 375s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:586:35 375s | 375s 586 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:586:17 375s | 375s 586 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:588:15 375s | 375s 588 | assert!(r.read::(4).is_ok()); 375s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_bytes` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:590:11 375s | 375s 590 | r.read_bytes(&mut sub_data).unwrap_err().kind(), 375s | ^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:603:35 375s | 375s 603 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:603:17 375s | 375s 603 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:604:15 375s | 375s 604 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:605:15 375s | 375s 605 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:606:15 375s | 375s 606 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:607:15 375s | 375s 607 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:608:15 375s | 375s 608 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:609:15 375s | 375s 609 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:610:15 375s | 375s 610 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:611:15 375s | 375s 611 | assert!(r.read_bit().is_ok()); 375s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_bit` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:612:18 375s | 375s 612 | assert_eq!(r.read_bit().unwrap_err().kind(), ErrorKind::UnexpectedEof); 375s | ^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:615:35 375s | 375s 615 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:615:17 375s | 375s 615 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:616:15 375s | 375s 616 | assert!(r.read::(7).is_ok()); 375s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `skip` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:617:18 375s | 375s 617 | assert_eq!(r.skip(5).unwrap_err().kind(), ErrorKind::UnexpectedEof); 375s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s `BitReader, LittleEndian>: Iterator` 375s which is required by `&mut BitReader, LittleEndian>: Iterator` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:620:35 375s | 375s 620 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:620:17 375s | 375s 620 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:621:15 375s | 375s 621 | assert!(r.read_signed::(2).is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:622:15 375s | 375s 622 | assert!(r.read_signed::(3).is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:624:11 375s | 375s 624 | r.read_signed::(5).unwrap_err().kind(), 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:628:35 375s | 375s 628 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:628:17 375s | 375s 628 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:629:15 375s | 375s 629 | assert!(r.read_signed_in::<2, i32>().is_ok()); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:630:15 375s | 375s 630 | assert!(r.read_signed_in::<3, i32>().is_ok()); 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed_in` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:632:11 375s | 375s 632 | r.read_signed_in::<5, i32>().unwrap_err().kind(), 375s | ^^^^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:637:35 375s | 375s 637 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:637:17 375s | 375s 637 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:638:15 375s | 375s 638 | assert!(r.read_unary0().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:639:15 375s | 375s 639 | assert!(r.read_unary0().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:640:15 375s | 375s 640 | assert!(r.read_unary0().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:641:15 375s | 375s 641 | assert!(r.read_unary0().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary0` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:643:11 375s | 375s 643 | r.read_unary0().unwrap_err().kind(), 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:648:35 375s | 375s 648 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:648:17 375s | 375s 648 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:649:15 375s | 375s 649 | assert!(r.read_unary1().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:650:15 375s | 375s 650 | assert!(r.read_unary1().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:651:15 375s | 375s 651 | assert!(r.read_unary1().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:652:15 375s | 375s 652 | assert!(r.read_unary1().is_ok()); 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_unary1` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:654:11 375s | 375s 654 | r.read_unary1().unwrap_err().kind(), 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:659:35 375s | 375s 659 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:659:17 375s | 375s 659 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read_bytes` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:662:11 375s | 375s 662 | r.read_bytes(&mut sub_data).unwrap_err().kind(), 375s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:667:35 375s | 375s 667 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:667:17 375s | 375s 667 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 1]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:669:15 375s | 375s 669 | assert!(r.read::(4).is_ok()); 375s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0599]: the method `read_bytes` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:671:11 375s | 375s 671 | r.read_bytes(&mut sub_data).unwrap_err().kind(), 375s | ^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 1]>: core2::io::traits::Read` 375s which is required by `BitReader, LittleEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:682:35 375s | 375s 682 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 10]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:682:17 375s | 375s 682 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 10]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 375s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:684:18 375s | 375s 684 | assert_eq!(r.read::(9).unwrap_err().kind(), ErrorKind::InvalidInput); 375s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:686:11 375s | 375s 686 | r.read::(17).unwrap_err().kind(), 375s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:690:11 375s | 375s 690 | r.read::(33).unwrap_err().kind(), 375s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:694:11 375s | 375s 694 | r.read::(65).unwrap_err().kind(), 375s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:699:11 375s | 375s 699 | r.read_signed::(9).unwrap_err().kind(), 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:703:11 375s | 375s 703 | r.read_signed::(17).unwrap_err().kind(), 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:707:11 375s | 375s 707 | r.read_signed::(33).unwrap_err().kind(), 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0599]: the method `read_signed` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 375s --> tests/read.rs:711:11 375s | 375s 711 | r.read_signed::(65).unwrap_err().kind(), 375s | ^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 375s | 375s = note: the following trait bounds were not satisfied: 375s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 375s which is required by `BitReader, BigEndian>: BitRead` 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:715:35 375s | 375s 715 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 10]>` 375s | | 375s | required by a bound introduced by this call 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader::::endian` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 375s 375s error[E0277]: the trait bound `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` is not satisfied 375s --> tests/read.rs:715:17 375s | 375s 715 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 375s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 10]>` 375s | 375s = help: the following other types implement trait `core2::io::traits::Read`: 375s &[u8] 375s &mut R 375s core2::io::cursor::Cursor 375s core2::io::traits::Chain 375s core2::io::traits::Take 375s note: required by a bound in `BitReader` 375s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 375s 376s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:717:18 376s | 376s 717 | assert_eq!(r.read::(9).unwrap_err().kind(), ErrorKind::InvalidInput); 376s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 376s which is required by `BitReader, LittleEndian>: BitRead` 376s 376s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:719:11 376s | 376s 719 | r.read::(17).unwrap_err().kind(), 376s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 376s which is required by `BitReader, LittleEndian>: BitRead` 376s 376s error: could not compile `bitstream-io` (test "write") due to 162 previous errors 376s 376s Caused by: 376s process didn't exit successfully: `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=write CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name write --edition=2018 tests/write.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=6877a3873358a978 -C extra-filename=-6877a3873358a978 --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern bitstream_io=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-609acf5299e9e8e9.rlib --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` (exit status: 1) 376s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:723:11 376s | 376s 723 | r.read::(33).unwrap_err().kind(), 376s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 376s which is required by `BitReader, LittleEndian>: BitRead` 376s 376s error[E0599]: the method `read` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:727:11 376s | 376s 727 | r.read::(65).unwrap_err().kind(), 376s | ^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 376s which is required by `BitReader, LittleEndian>: BitRead` 376s 376s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:732:11 376s | 376s 732 | r.read_signed::(9).unwrap_err().kind(), 376s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 376s which is required by `BitReader, LittleEndian>: BitRead` 376s 376s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:736:11 376s | 376s 736 | r.read_signed::(17).unwrap_err().kind(), 376s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 376s which is required by `BitReader, LittleEndian>: BitRead` 376s 376s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:740:11 376s | 376s 740 | r.read_signed::(33).unwrap_err().kind(), 376s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 376s which is required by `BitReader, LittleEndian>: BitRead` 376s 376s error[E0599]: the method `read_signed` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:744:11 376s | 376s 744 | r.read_signed::(65).unwrap_err().kind(), 376s | ^^^^^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 10]>: core2::io::traits::Read` 376s which is required by `BitReader, LittleEndian>: BitRead` 376s 376s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 376s --> tests/read.rs:755:35 376s | 376s 755 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 376s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 376s | | 376s | required by a bound introduced by this call 376s | 376s = help: the following other types implement trait `core2::io::traits::Read`: 376s &[u8] 376s &mut R 376s core2::io::cursor::Cursor 376s core2::io::traits::Chain 376s core2::io::traits::Take 376s note: required by a bound in `BitReader::::endian` 376s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 376s 376s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 376s --> tests/read.rs:755:17 376s | 376s 755 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 376s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 376s | 376s = help: the following other types implement trait `core2::io::traits::Read`: 376s &[u8] 376s &mut R 376s core2::io::cursor::Cursor 376s core2::io::traits::Chain 376s core2::io::traits::Take 376s note: required by a bound in `BitReader` 376s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 376s 376s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:756:15 376s | 376s 756 | assert!(r.byte_aligned()); 376s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 376s which is required by `BitReader, BigEndian>: BitRead` 376s 376s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:757:18 376s | 376s 757 | assert_eq!(r.read::(4).unwrap(), 0xB); 376s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 376s which is required by `BitReader, BigEndian>: BitRead` 376s 376s error[E0599]: the method `clone` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:758:20 376s | 376s 758 | let mut r2 = r.clone(); 376s | ^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 376s which is required by `BitReader, BigEndian>: Clone` 376s 376s error[E0599]: the method `byte_aligned` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:759:16 376s | 376s 759 | assert!(!r.byte_aligned()); 376s | ^^^^^^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 376s which is required by `BitReader, BigEndian>: BitRead` 376s 376s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:760:18 376s | 376s 760 | assert_eq!(r.read::(4).unwrap(), 0x1); 376s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 376s which is required by `BitReader, BigEndian>: BitRead` 376s 376s error[E0599]: the method `read` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:761:18 376s | 376s 761 | assert_eq!(r.read::(8).unwrap(), 0xED); 376s | ^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 376s which is required by `BitReader, BigEndian>: BitRead` 376s 376s error[E0277]: the trait bound `NotCloneRead<'_>: core2::io::traits::Read` is not satisfied 376s --> tests/read.rs:774:32 376s | 376s 774 | let _r = BitReader::endian(NotCloneRead(&actual_data[..]), BigEndian); 376s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `NotCloneRead<'_>` 376s | | 376s | required by a bound introduced by this call 376s | 376s = help: the following other types implement trait `core2::io::traits::Read`: 376s &[u8] 376s &mut R 376s core2::io::cursor::Cursor 376s core2::io::traits::Chain 376s core2::io::traits::Take 376s note: required by a bound in `BitReader::::endian` 376s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 376s 376s error[E0277]: the trait bound `NotCloneRead<'_>: core2::io::traits::Read` is not satisfied 376s --> tests/read.rs:774:14 376s | 376s 774 | let _r = BitReader::endian(NotCloneRead(&actual_data[..]), BigEndian); 376s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `NotCloneRead<'_>` 376s | 376s = help: the following other types implement trait `core2::io::traits::Read`: 376s &[u8] 376s &mut R 376s core2::io::cursor::Cursor 376s core2::io::traits::Chain 376s core2::io::traits::Take 376s note: required by a bound in `BitReader` 376s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 376s 376s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 376s --> tests/read.rs:782:35 376s | 376s 782 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 376s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 376s | | 376s | required by a bound introduced by this call 376s | 376s = help: the following other types implement trait `core2::io::traits::Read`: 376s &[u8] 376s &mut R 376s core2::io::cursor::Cursor 376s core2::io::traits::Chain 376s core2::io::traits::Take 376s note: required by a bound in `BitReader::::endian` 376s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 376s 376s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 376s --> tests/read.rs:782:17 376s | 376s 782 | let mut r = BitReader::endian(Cursor::new(&actual_data), BigEndian); 376s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 376s | 376s = help: the following other types implement trait `core2::io::traits::Read`: 376s &[u8] 376s &mut R 376s core2::io::cursor::Cursor 376s core2::io::traits::Chain 376s core2::io::traits::Take 376s note: required by a bound in `BitReader` 376s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 376s 376s error[E0599]: the method `read_to` exists for struct `BitReader, BigEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:783:32 376s | 376s 783 | let read_data: [u8; 4] = r.read_to().unwrap(); 376s | ^^^^^^^ method cannot be called on `BitReader, BigEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 376s which is required by `BitReader, BigEndian>: BitRead` 376s 376s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 376s --> tests/read.rs:787:35 376s | 376s 787 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 376s | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 376s | | 376s | required by a bound introduced by this call 376s | 376s = help: the following other types implement trait `core2::io::traits::Read`: 376s &[u8] 376s &mut R 376s core2::io::cursor::Cursor 376s core2::io::traits::Chain 376s core2::io::traits::Take 376s note: required by a bound in `BitReader::::endian` 376s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:421:5 376s 376s error[E0277]: the trait bound `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` is not satisfied 376s --> tests/read.rs:787:17 376s | 376s 787 | let mut r = BitReader::endian(Cursor::new(&actual_data), LittleEndian); 376s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core2::io::traits::Read` is not implemented for `std::io::Cursor<&[u8; 4]>` 376s | 376s = help: the following other types implement trait `core2::io::traits::Read`: 376s &[u8] 376s &mut R 376s core2::io::cursor::Cursor 376s core2::io::traits::Chain 376s core2::io::traits::Take 376s note: required by a bound in `BitReader` 376s --> /usr/share/cargo/registry/bitstream-io-2.5.0/src/read.rs:405:1 376s 376s error[E0599]: the method `read_to` exists for struct `BitReader, LittleEndian>`, but its trait bounds were not satisfied 376s --> tests/read.rs:788:32 376s | 376s 788 | let read_data: [u8; 4] = r.read_to().unwrap(); 376s | ^^^^^^^ method cannot be called on `BitReader, LittleEndian>` due to unsatisfied trait bounds 376s | 376s = note: the following trait bounds were not satisfied: 376s `std::io::Cursor<&[u8; 4]>: core2::io::traits::Read` 376s which is required by `BitReader, LittleEndian>: BitRead` 376s 376s error: could not compile `bitstream-io` (test "read") due to 477 previous errors 376s 376s Caused by: 376s process didn't exit successfully: `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.wD7ntlpIi9/target/debug/deps rustc --crate-name read --edition=2018 tests/read.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=cc709ddc2bdcd998 -C extra-filename=-cc709ddc2bdcd998 --out-dir /tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.wD7ntlpIi9/target/debug/deps --extern bitstream_io=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-609acf5299e9e8e9.rlib --extern core2=/tmp/tmp.wD7ntlpIi9/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.wD7ntlpIi9/registry=/usr/share/cargo/registry` (exit status: 1) 376s autopkgtest [21:15:30]: test librust-bitstream-io-dev:alloc: -----------------------] 381s librust-bitstream-io-dev:alloc FLAKY non-zero exit status 101 381s autopkgtest [21:15:35]: test librust-bitstream-io-dev:alloc: - - - - - - - - - - results - - - - - - - - - - 385s autopkgtest [21:15:39]: test librust-bitstream-io-dev:core2: preparing testbed 386s Reading package lists... 387s Building dependency tree... 387s Reading state information... 387s Starting pkgProblemResolver with broken count: 0 387s Starting 2 pkgProblemResolver with broken count: 0 387s Done 389s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 397s autopkgtest [21:15:51]: test librust-bitstream-io-dev:core2: /usr/share/cargo/bin/cargo-auto-test bitstream-io 2.5.0 --all-targets --no-default-features --features core2 397s autopkgtest [21:15:51]: test librust-bitstream-io-dev:core2: [----------------------- 400s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 400s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 400s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 400s debian cargo wrapper: linking /usr/share/cargo/registry/* into /tmp/tmp.QoS5CJMHjJ/registry/ 400s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 400s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 400s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 400s debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j8', '--target', 'armv7-unknown-linux-gnueabihf', '--all-targets', '--no-default-features', '--features', 'core2'],) {} 400s Compiling memchr v2.7.4 400s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=memchr CARGO_MANIFEST_DIR=/tmp/tmp.QoS5CJMHjJ/registry/memchr-2.7.4 CARGO_MANIFEST_PATH=/tmp/tmp.QoS5CJMHjJ/registry/memchr-2.7.4/Cargo.toml CARGO_PKG_AUTHORS='Andrew Gallant :bluss' CARGO_PKG_DESCRIPTION='Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for 400s 1, 2 or 3 byte search and single substring search. 400s ' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/memchr' CARGO_PKG_LICENSE='Unlicense OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=memchr CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/memchr' CARGO_PKG_RUST_VERSION=1.61 CARGO_PKG_VERSION=2.7.4 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/tmp/tmp.QoS5CJMHjJ/target/debug/deps rustc --crate-name memchr --edition=2021 /tmp/tmp.QoS5CJMHjJ/registry/memchr-2.7.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=7ec06d6b41e659ab -C extra-filename=-7ec06d6b41e659ab --out-dir /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -L dependency=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.QoS5CJMHjJ/target/debug/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.QoS5CJMHjJ/registry=/usr/share/cargo/registry` 401s Compiling core2 v0.4.0 401s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=core2 CARGO_MANIFEST_DIR=/tmp/tmp.QoS5CJMHjJ/registry/core2-0.4.0 CARGO_MANIFEST_PATH=/tmp/tmp.QoS5CJMHjJ/registry/core2-0.4.0/Cargo.toml CARGO_PKG_AUTHORS='Brendan Molloy ' CARGO_PKG_DESCRIPTION='The bare essentials of std::io for use in no_std. Alloc support is optional.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=core2 CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/bbqsrc/core2' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.4.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/tmp/tmp.QoS5CJMHjJ/target/debug/deps rustc --crate-name core2 --edition=2018 /tmp/tmp.QoS5CJMHjJ/registry/core2-0.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=4ceb33dd85bb7c3c -C extra-filename=-4ceb33dd85bb7c3c --out-dir /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -L dependency=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.QoS5CJMHjJ/target/debug/deps --extern memchr=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libmemchr-7ec06d6b41e659ab.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.QoS5CJMHjJ/registry=/usr/share/cargo/registry` 401s warning: unexpected `cfg` condition value: `nightly` 401s --> /usr/share/cargo/registry/core2-0.4.0/src/lib.rs:1:13 401s | 401s 1 | #![cfg_attr(feature = "nightly", feature(maybe_uninit_ref))] 401s | ^^^^^^^^^^^^^^^^^^^ 401s | 401s = note: expected values for `feature` are: `alloc`, `default`, and `std` 401s = help: consider adding `nightly` as a feature in `Cargo.toml` 401s = note: see for more information about checking conditional configuration 401s = note: `#[warn(unexpected_cfgs)]` on by default 401s 401s warning: unexpected `cfg` condition value: `nightly` 401s --> /usr/share/cargo/registry/core2-0.4.0/src/lib.rs:2:13 401s | 401s 2 | #![cfg_attr(feature = "nightly", feature(never_type))] 401s | ^^^^^^^^^^^^^^^^^^^ 401s | 401s = note: expected values for `feature` are: `alloc`, `default`, and `std` 401s = help: consider adding `nightly` as a feature in `Cargo.toml` 401s = note: see for more information about checking conditional configuration 401s 401s warning: unexpected `cfg` condition value: `nightly` 401s --> /usr/share/cargo/registry/core2-0.4.0/src/lib.rs:3:34 401s | 401s 3 | #![cfg_attr(all(feature = "std", feature = "nightly"), feature(read_initializer))] 401s | ^^^^^^^^^^^^^^^^^^^ 401s | 401s = note: expected values for `feature` are: `alloc`, `default`, and `std` 401s = help: consider adding `nightly` as a feature in `Cargo.toml` 401s = note: see for more information about checking conditional configuration 401s 401s warning: unexpected `cfg` condition value: `nightly` 401s --> /usr/share/cargo/registry/core2-0.4.0/src/error.rs:323:7 401s | 401s 323 | #[cfg(feature = "nightly")] 401s | ^^^^^^^^^^^^^^^^^^^ 401s | 401s = note: expected values for `feature` are: `alloc`, `default`, and `std` 401s = help: consider adding `nightly` as a feature in `Cargo.toml` 401s = note: see for more information about checking conditional configuration 401s 401s warning: unexpected `cfg` condition value: `nightly` 401s --> /usr/share/cargo/registry/core2-0.4.0/src/io/mod.rs:1:7 401s | 401s 1 | #[cfg(feature = "nightly")] 401s | ^^^^^^^^^^^^^^^^^^^ 401s | 401s = note: expected values for `feature` are: `alloc`, `default`, and `std` 401s = help: consider adding `nightly` as a feature in `Cargo.toml` 401s = note: see for more information about checking conditional configuration 401s 401s warning: unexpected `cfg` condition value: `nightly` 401s --> /usr/share/cargo/registry/core2-0.4.0/src/io/mod.rs:22:7 401s | 401s 22 | #[cfg(feature = "nightly")] 401s | ^^^^^^^^^^^^^^^^^^^ 401s | 401s = note: expected values for `feature` are: `alloc`, `default`, and `std` 401s = help: consider adding `nightly` as a feature in `Cargo.toml` 401s = note: see for more information about checking conditional configuration 401s 401s warning: unexpected `cfg` condition value: `nightly` 401s --> /usr/share/cargo/registry/core2-0.4.0/src/io/mod.rs:25:7 401s | 401s 25 | #[cfg(feature = "nightly")] 401s | ^^^^^^^^^^^^^^^^^^^ 401s | 401s = note: expected values for `feature` are: `alloc`, `default`, and `std` 401s = help: consider adding `nightly` as a feature in `Cargo.toml` 401s = note: see for more information about checking conditional configuration 401s 401s warning: unexpected `cfg` condition value: `nightly` 401s --> /usr/share/cargo/registry/core2-0.4.0/src/io/util.rs:1:7 401s | 401s 1 | #[cfg(feature = "nightly")] 401s | ^^^^^^^^^^^^^^^^^^^ 401s | 401s = note: expected values for `feature` are: `alloc`, `default`, and `std` 401s = help: consider adding `nightly` as a feature in `Cargo.toml` 401s = note: see for more information about checking conditional configuration 401s 401s warning: unexpected `cfg` condition value: `nightly` 401s --> /usr/share/cargo/registry/core2-0.4.0/src/io/util.rs:4:7 401s | 401s 4 | #[cfg(feature = "nightly")] 401s | ^^^^^^^^^^^^^^^^^^^ 401s | 401s = note: expected values for `feature` are: `alloc`, `default`, and `std` 401s = help: consider adding `nightly` as a feature in `Cargo.toml` 401s = note: see for more information about checking conditional configuration 401s 401s warning: unexpected `cfg` condition value: `nightly` 401s --> /usr/share/cargo/registry/core2-0.4.0/src/io/util.rs:7:7 401s | 401s 7 | #[cfg(feature = "nightly")] 401s | ^^^^^^^^^^^^^^^^^^^ 401s | 401s = note: expected values for `feature` are: `alloc`, `default`, and `std` 401s = help: consider adding `nightly` as a feature in `Cargo.toml` 401s = note: see for more information about checking conditional configuration 401s 401s Compiling bitstream-io v2.5.0 (/usr/share/cargo/registry/bitstream-io-2.5.0) 401s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.QoS5CJMHjJ/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=d1a120e7535e488c -C extra-filename=-d1a120e7535e488c --out-dir /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.QoS5CJMHjJ/target/debug/deps --extern core2=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.QoS5CJMHjJ/registry=/usr/share/cargo/registry` 401s warning: `core2` (lib) generated 10 warnings 401s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.QoS5CJMHjJ/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=7d7ea65ad7f2e693 -C extra-filename=-7d7ea65ad7f2e693 --out-dir /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.QoS5CJMHjJ/target/debug/deps --extern core2=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.QoS5CJMHjJ/registry=/usr/share/cargo/registry` 403s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read_seek CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.QoS5CJMHjJ/target/debug/deps rustc --crate-name read_seek --edition=2018 tests/read_seek.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=c8c0a4812bb270e4 -C extra-filename=-c8c0a4812bb270e4 --out-dir /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.QoS5CJMHjJ/target/debug/deps --extern bitstream_io=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-d1a120e7535e488c.rlib --extern core2=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.QoS5CJMHjJ/registry=/usr/share/cargo/registry` 403s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.QoS5CJMHjJ/target/debug/deps rustc --crate-name read --edition=2018 tests/read.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=50c27ae8ebe2735e -C extra-filename=-50c27ae8ebe2735e --out-dir /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.QoS5CJMHjJ/target/debug/deps --extern bitstream_io=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-d1a120e7535e488c.rlib --extern core2=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.QoS5CJMHjJ/registry=/usr/share/cargo/registry` 403s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=huffman CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.QoS5CJMHjJ/target/debug/deps rustc --crate-name huffman --edition=2018 tests/huffman.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=3f8768bab07a1df9 -C extra-filename=-3f8768bab07a1df9 --out-dir /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.QoS5CJMHjJ/target/debug/deps --extern bitstream_io=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-d1a120e7535e488c.rlib --extern core2=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.QoS5CJMHjJ/registry=/usr/share/cargo/registry` 403s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=write CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.QoS5CJMHjJ/target/debug/deps rustc --crate-name write --edition=2018 tests/write.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=85ffab1f054db9e5 -C extra-filename=-85ffab1f054db9e5 --out-dir /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.QoS5CJMHjJ/target/debug/deps --extern bitstream_io=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-d1a120e7535e488c.rlib --extern core2=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.QoS5CJMHjJ/registry=/usr/share/cargo/registry` 403s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=roundtrip CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.QoS5CJMHjJ/target/debug/deps rustc --crate-name roundtrip --edition=2018 tests/roundtrip.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="core2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=ed3aa3d8bc684f07 -C extra-filename=-ed3aa3d8bc684f07 --out-dir /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.QoS5CJMHjJ/target/debug/deps --extern bitstream_io=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-d1a120e7535e488c.rlib --extern core2=/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libcore2-4ceb33dd85bb7c3c.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.QoS5CJMHjJ/registry=/usr/share/cargo/registry` 408s Finished `test` profile [unoptimized + debuginfo] target(s) in 7.87s 408s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/bitstream_io-7d7ea65ad7f2e693` 408s 408s running 0 tests 408s 408s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 408s 408s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/huffman-3f8768bab07a1df9` 408s 408s running 3 tests 408s test test_huffman_errors ... ok 408s test test_huffman_values ... ok 408s test test_lengthy_huffman_values ... ok 408s 408s test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s 408s 408s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/read-50c27ae8ebe2735e` 408s 408s running 13 tests 408s test test_clone ... ok 408s test test_edge_cases_be ... ok 408s test test_read_bytes ... ok 408s test test_reader_be ... ok 408s test test_read_queue_le ... ok 408s test test_edge_cases_le ... ok 408s test test_reader_huffman_be ... ok 408s test test_reader_huffman_le ... ok 408s test test_reader_bits_errors ... ok 408s test test_read_queue_be ... ok 408s test test_reader_io_errors_be ... ok 408s test test_reader_le ... ok 408s test test_reader_io_errors_le ... ok 408s 408s test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 408s 408s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/read_seek-c8c0a4812bb270e4` 408s 408s running 5 tests 408s test test_reader_pos_be ... ok 408s test test_reader_pos_le ... ok 408s test test_reader_seek_current ... ok 408s test test_reader_seek_start ... ok 408s test test_reader_seek_end ... ok 408s 408s test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 408s 408s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/roundtrip-ed3aa3d8bc684f07` 408s 408s running 8 tests 408s test test_f64_roundtrip_be ... ok 408s test test_f32_roundtrip_be ... ok 408s test test_f64_roundtrip_le ... ok 408s test test_f32_roundtrip_le ... ok 408s test test_unary_roundtrip_be ... ok 408s test test_unary_roundtrip_le ... ok 408s test test_roundtrip_le ... ok 408s test test_roundtrip_be ... ok 408s 408s test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s 408s 408s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.QoS5CJMHjJ/target/armv7-unknown-linux-gnueabihf/debug/deps/write-85ffab1f054db9e5` 408s 408s running 21 tests 408s test test_counter_le ... ok 408s test test_counter_be ... ok 408s test test_write_queue_be ... ok 408s test test_counter_huffman_be ... ok 408s test test_write_queue_edge_be ... ok 408s test test_counter_huffman_le ... ok 408s test test_recorder_le ... ok 408s test test_recorder_be ... ok 408s test test_write_queue_edge_le ... ok 408s test test_write_queue_le ... ok 408s test test_writer_be ... ok 408s test test_writer_bits_errors ... ok 408s test test_writer_edge_cases_be ... ok 408s test test_writer_edge_cases_le ... ok 408s test test_writer_io_errors_be ... ok 408s test test_writer_io_errors_le ... ok 408s test test_writer_huffman_be ... ok 408s test test_writer_huffman_le ... ok 408s test test_writer_le ... ok 408s test test_recorder_huffman_le ... ok 408s test test_recorder_huffman_be ... ok 408s 408s test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 408s 408s autopkgtest [21:16:02]: test librust-bitstream-io-dev:core2: -----------------------] 413s librust-bitstream-io-dev:core2 PASS 413s autopkgtest [21:16:07]: test librust-bitstream-io-dev:core2: - - - - - - - - - - results - - - - - - - - - - 417s autopkgtest [21:16:11]: test librust-bitstream-io-dev:default: preparing testbed 419s Reading package lists... 419s Building dependency tree... 419s Reading state information... 420s Starting pkgProblemResolver with broken count: 0 420s Starting 2 pkgProblemResolver with broken count: 0 420s Done 421s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 429s autopkgtest [21:16:23]: test librust-bitstream-io-dev:default: /usr/share/cargo/bin/cargo-auto-test bitstream-io 2.5.0 --all-targets 429s autopkgtest [21:16:23]: test librust-bitstream-io-dev:default: [----------------------- 432s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 432s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 432s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 432s debian cargo wrapper: linking /usr/share/cargo/registry/* into /tmp/tmp.Yg4UcHYdB5/registry/ 432s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 432s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 432s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 432s debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j8', '--target', 'armv7-unknown-linux-gnueabihf', '--all-targets'],) {} 433s Compiling bitstream-io v2.5.0 (/usr/share/cargo/registry/bitstream-io-2.5.0) 433s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.Yg4UcHYdB5/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=c2f827ebe7551d04 -C extra-filename=-c2f827ebe7551d04 --out-dir /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.Yg4UcHYdB5/target/debug/deps -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.Yg4UcHYdB5/registry=/usr/share/cargo/registry` 433s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.Yg4UcHYdB5/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=c34042ce39acafdd -C extra-filename=-c34042ce39acafdd --out-dir /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.Yg4UcHYdB5/target/debug/deps -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.Yg4UcHYdB5/registry=/usr/share/cargo/registry` 434s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=roundtrip CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.Yg4UcHYdB5/target/debug/deps rustc --crate-name roundtrip --edition=2018 tests/roundtrip.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=665e73f7c3f8e418 -C extra-filename=-665e73f7c3f8e418 --out-dir /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.Yg4UcHYdB5/target/debug/deps --extern bitstream_io=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-c2f827ebe7551d04.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.Yg4UcHYdB5/registry=/usr/share/cargo/registry` 434s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=huffman CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.Yg4UcHYdB5/target/debug/deps rustc --crate-name huffman --edition=2018 tests/huffman.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=517d4998509570ef -C extra-filename=-517d4998509570ef --out-dir /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.Yg4UcHYdB5/target/debug/deps --extern bitstream_io=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-c2f827ebe7551d04.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.Yg4UcHYdB5/registry=/usr/share/cargo/registry` 434s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read_seek CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.Yg4UcHYdB5/target/debug/deps rustc --crate-name read_seek --edition=2018 tests/read_seek.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=90321f4892191ac2 -C extra-filename=-90321f4892191ac2 --out-dir /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.Yg4UcHYdB5/target/debug/deps --extern bitstream_io=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-c2f827ebe7551d04.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.Yg4UcHYdB5/registry=/usr/share/cargo/registry` 434s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=write CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.Yg4UcHYdB5/target/debug/deps rustc --crate-name write --edition=2018 tests/write.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=c0e8d0a6ded2fb1e -C extra-filename=-c0e8d0a6ded2fb1e --out-dir /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.Yg4UcHYdB5/target/debug/deps --extern bitstream_io=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-c2f827ebe7551d04.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.Yg4UcHYdB5/registry=/usr/share/cargo/registry` 434s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.Yg4UcHYdB5/target/debug/deps rustc --crate-name read --edition=2018 tests/read.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=980410c7737efc55 -C extra-filename=-980410c7737efc55 --out-dir /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.Yg4UcHYdB5/target/debug/deps --extern bitstream_io=/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-c2f827ebe7551d04.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.Yg4UcHYdB5/registry=/usr/share/cargo/registry` 437s Finished `test` profile [unoptimized + debuginfo] target(s) in 4.85s 437s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps/bitstream_io-c34042ce39acafdd` 437s 437s running 0 tests 437s 437s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 437s 437s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps/huffman-517d4998509570ef` 437s 437s running 3 tests 437s test test_huffman_errors ... ok 437s test test_huffman_values ... ok 437s test test_lengthy_huffman_values ... ok 437s 437s test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s 437s 437s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps/read-980410c7737efc55` 437s 437s running 13 tests 437s test test_clone ... ok 437s test test_edge_cases_be ... ok 437s test test_read_queue_be ... ok 437s test test_reader_huffman_be ... ok 437s test test_read_queue_le ... ok 437s test test_reader_huffman_le ... ok 437s test test_reader_io_errors_be ... ok 437s test test_reader_be ... ok 437s test test_reader_io_errors_le ... ok 437s test test_read_bytes ... ok 437s test test_reader_bits_errors ... ok 437s test test_reader_le ... ok 437s test test_edge_cases_le ... ok 437s 437s test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 437s 437s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps/read_seek-90321f4892191ac2` 437s 437s running 5 tests 437s test test_reader_pos_be ... ok 437s test test_reader_seek_end ... ok 437s test test_reader_pos_le ... ok 437s test test_reader_seek_current ... ok 437s test test_reader_seek_start ... ok 437s 437s test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 437s 437s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps/roundtrip-665e73f7c3f8e418` 437s 437s running 8 tests 437s test test_f32_roundtrip_be ... ok 437s test test_f32_roundtrip_le ... ok 437s test test_f64_roundtrip_be ... ok 437s test test_f64_roundtrip_le ... ok 437s test test_unary_roundtrip_be ... ok 437s test test_unary_roundtrip_le ... ok 438s test test_roundtrip_be ... ok 438s autopkgtest [21:16:32]: test librust-bitstream-io-dev:default: -----------------------] 438s test test_roundtrip_le ... ok 438s 438s test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s 438s 438s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.Yg4UcHYdB5/target/armv7-unknown-linux-gnueabihf/debug/deps/write-c0e8d0a6ded2fb1e` 438s 438s running 21 tests 438s test test_counter_be ... ok 438s test test_counter_le ... ok 438s test test_counter_huffman_be ... ok 438s test test_counter_huffman_le ... ok 438s test test_recorder_huffman_le ... ok 438s test test_recorder_be ... ok 438s test test_recorder_huffman_be ... ok 438s test test_recorder_le ... ok 438s test test_write_queue_be ... ok 438s test test_write_queue_edge_be ... ok 438s test test_writer_be ... ok 438s test test_write_queue_edge_le ... ok 438s test test_writer_bits_errors ... ok 438s test test_writer_huffman_be ... ok 438s test test_writer_edge_cases_be ... ok 438s test test_writer_edge_cases_le ... ok 438s test test_write_queue_le ... ok 438s test test_writer_huffman_le ... ok 438s test test_writer_io_errors_le ... ok 438s test test_writer_io_errors_be ... ok 438s test test_writer_le ... ok 438s 438s test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 438s 442s librust-bitstream-io-dev:default PASS 442s autopkgtest [21:16:36]: test librust-bitstream-io-dev:default: - - - - - - - - - - results - - - - - - - - - - 447s autopkgtest [21:16:41]: test librust-bitstream-io-dev:std: preparing testbed 449s Reading package lists... 450s Building dependency tree... 450s Reading state information... 450s Starting pkgProblemResolver with broken count: 0 450s Starting 2 pkgProblemResolver with broken count: 0 450s Done 452s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 463s autopkgtest [21:16:57]: test librust-bitstream-io-dev:std: /usr/share/cargo/bin/cargo-auto-test bitstream-io 2.5.0 --all-targets --no-default-features --features std 463s autopkgtest [21:16:57]: test librust-bitstream-io-dev:std: [----------------------- 466s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 466s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 466s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 466s debian cargo wrapper: linking /usr/share/cargo/registry/* into /tmp/tmp.LYk6Kd4Udq/registry/ 466s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 466s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 466s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 466s debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j8', '--target', 'armv7-unknown-linux-gnueabihf', '--all-targets', '--no-default-features', '--features', 'std'],) {} 466s Compiling bitstream-io v2.5.0 (/usr/share/cargo/registry/bitstream-io-2.5.0) 466s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.LYk6Kd4Udq/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=fa98be71dff99940 -C extra-filename=-fa98be71dff99940 --out-dir /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.LYk6Kd4Udq/target/debug/deps -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.LYk6Kd4Udq/registry=/usr/share/cargo/registry` 466s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.LYk6Kd4Udq/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=4deb544d33ad8e46 -C extra-filename=-4deb544d33ad8e46 --out-dir /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.LYk6Kd4Udq/target/debug/deps -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.LYk6Kd4Udq/registry=/usr/share/cargo/registry` 467s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=huffman CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.LYk6Kd4Udq/target/debug/deps rustc --crate-name huffman --edition=2018 tests/huffman.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=5d0a0a9280036a88 -C extra-filename=-5d0a0a9280036a88 --out-dir /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.LYk6Kd4Udq/target/debug/deps --extern bitstream_io=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-fa98be71dff99940.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.LYk6Kd4Udq/registry=/usr/share/cargo/registry` 467s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.LYk6Kd4Udq/target/debug/deps rustc --crate-name read --edition=2018 tests/read.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=793f462369f10e8e -C extra-filename=-793f462369f10e8e --out-dir /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.LYk6Kd4Udq/target/debug/deps --extern bitstream_io=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-fa98be71dff99940.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.LYk6Kd4Udq/registry=/usr/share/cargo/registry` 467s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read_seek CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.LYk6Kd4Udq/target/debug/deps rustc --crate-name read_seek --edition=2018 tests/read_seek.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=62285c906f73faa3 -C extra-filename=-62285c906f73faa3 --out-dir /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.LYk6Kd4Udq/target/debug/deps --extern bitstream_io=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-fa98be71dff99940.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.LYk6Kd4Udq/registry=/usr/share/cargo/registry` 467s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=roundtrip CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.LYk6Kd4Udq/target/debug/deps rustc --crate-name roundtrip --edition=2018 tests/roundtrip.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=9bf84f64f5dfb1de -C extra-filename=-9bf84f64f5dfb1de --out-dir /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.LYk6Kd4Udq/target/debug/deps --extern bitstream_io=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-fa98be71dff99940.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.LYk6Kd4Udq/registry=/usr/share/cargo/registry` 468s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=write CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.LYk6Kd4Udq/target/debug/deps rustc --crate-name write --edition=2018 tests/write.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=951aa31c423e9d70 -C extra-filename=-951aa31c423e9d70 --out-dir /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.LYk6Kd4Udq/target/debug/deps --extern bitstream_io=/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-fa98be71dff99940.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.LYk6Kd4Udq/registry=/usr/share/cargo/registry` 471s Finished `test` profile [unoptimized + debuginfo] target(s) in 5.15s 471s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps/bitstream_io-4deb544d33ad8e46` 471s 471s running 0 tests 471s 471s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 471s 471s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps/huffman-5d0a0a9280036a88` 471s 471s running 3 tests 471s test test_huffman_errors ... ok 471s test test_huffman_values ... ok 471s test test_lengthy_huffman_values ... ok 471s 471s test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s 471s 471s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps/read-793f462369f10e8e` 471s 471s running 13 tests 471s test test_edge_cases_be ... ok 471s test test_edge_cases_le ... ok 471s test test_read_bytes ... ok 471s test test_clone ... ok 471s test test_reader_bits_errors ... ok 471s test test_reader_huffman_le ... ok 471s test test_reader_io_errors_le ... ok 471s test test_read_queue_be ... ok 471s test test_reader_io_errors_be ... ok 471s test test_reader_huffman_be ... ok 471s test test_reader_le ... ok 471s test test_read_queue_le ... ok 471s test test_reader_be ... ok 471s 471s test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 471s 471s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps/read_seek-62285c906f73faa3` 471s 471s running 5 tests 471s test test_reader_pos_be ... ok 471s test test_reader_seek_end ... ok 471s test test_reader_pos_le ... ok 471s test test_reader_seek_current ... ok 471s test test_reader_seek_start ... ok 471s 471s test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 471s 471s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps/roundtrip-9bf84f64f5dfb1de` 471s 471s running 8 tests 471s test test_f32_roundtrip_be ... ok 471s test test_f32_roundtrip_le ... ok 471s test test_f64_roundtrip_le ... ok 471s test test_f64_roundtrip_be ... ok 471s test test_unary_roundtrip_be ... ok 471s test test_unary_roundtrip_le ... ok 471s test test_roundtrip_le ... ok 471s test test_roundtrip_be ... ok 471s 471s test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s 471s 471s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.LYk6Kd4Udq/target/armv7-unknown-linux-gnueabihf/debug/deps/write-951aa31c423e9d70` 471s 471s running 21 tests 471s test test_counter_be ... ok 471s test test_counter_huffman_be ... ok 471s test test_write_queue_be ... ok 471s test test_recorder_huffman_le ... ok 471s test test_recorder_huffman_be ... ok 471s test test_recorder_be ... ok 471s test test_write_queue_edge_be ... ok 471s test test_write_queue_edge_le ... ok 471s test test_counter_le ... ok 471s test test_write_queue_le ... ok 471s test test_writer_be ... ok 471s test test_recorder_le ... ok 471s test test_counter_huffman_le ... ok 471s test test_writer_huffman_be ... ok 471s test test_writer_edge_cases_le ... ok 471s test test_writer_io_errors_be ... ok 471s test test_writer_bits_errors ... ok 471s test test_writer_huffman_le ... ok 471s test test_writer_edge_cases_be ... ok 471s test test_writer_io_errors_le ... ok 471s test test_writer_le ... ok 471s 471s test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 471s 472s autopkgtest [21:17:06]: test librust-bitstream-io-dev:std: -----------------------] 477s autopkgtest [21:17:11]: test librust-bitstream-io-dev:std: - - - - - - - - - - results - - - - - - - - - - 477s librust-bitstream-io-dev:std PASS 483s autopkgtest [21:17:17]: test librust-bitstream-io-dev:: preparing testbed 485s Reading package lists... 486s Building dependency tree... 486s Reading state information... 486s Starting pkgProblemResolver with broken count: 0 486s Starting 2 pkgProblemResolver with broken count: 0 486s Done 488s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 498s autopkgtest [21:17:32]: test librust-bitstream-io-dev:: /usr/share/cargo/bin/cargo-auto-test bitstream-io 2.5.0 --all-targets --no-default-features 498s autopkgtest [21:17:32]: test librust-bitstream-io-dev:: [----------------------- 501s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 501s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 501s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 501s debian cargo wrapper: linking /usr/share/cargo/registry/* into /tmp/tmp.6A07KYeGDJ/registry/ 501s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0 501s debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf 501s debian cargo wrapper: unsetting RUSTFLAGS and assuming it will be (or already was) added to $CARGO_HOME/config.toml 501s debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j8', '--target', 'armv7-unknown-linux-gnueabihf', '--all-targets', '--no-default-features'],) {} 501s Compiling bitstream-io v2.5.0 (/usr/share/cargo/registry/bitstream-io-2.5.0) 501s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.6A07KYeGDJ/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=7d827310fd42adf2 -C extra-filename=-7d827310fd42adf2 --out-dir /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.6A07KYeGDJ/target/debug/deps -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.6A07KYeGDJ/registry=/usr/share/cargo/registry` 501s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=bitstream_io CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.6A07KYeGDJ/target/debug/deps rustc --crate-name bitstream_io --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=305684a4cefe8323 -C extra-filename=-305684a4cefe8323 --out-dir /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.6A07KYeGDJ/target/debug/deps -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.6A07KYeGDJ/registry=/usr/share/cargo/registry` 503s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=roundtrip CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.6A07KYeGDJ/target/debug/deps rustc --crate-name roundtrip --edition=2018 tests/roundtrip.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=e8e6bb1307a5a7c9 -C extra-filename=-e8e6bb1307a5a7c9 --out-dir /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.6A07KYeGDJ/target/debug/deps --extern bitstream_io=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-7d827310fd42adf2.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.6A07KYeGDJ/registry=/usr/share/cargo/registry` 503s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=write CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.6A07KYeGDJ/target/debug/deps rustc --crate-name write --edition=2018 tests/write.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=37ca35a78047e307 -C extra-filename=-37ca35a78047e307 --out-dir /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.6A07KYeGDJ/target/debug/deps --extern bitstream_io=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-7d827310fd42adf2.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.6A07KYeGDJ/registry=/usr/share/cargo/registry` 503s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read_seek CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.6A07KYeGDJ/target/debug/deps rustc --crate-name read_seek --edition=2018 tests/read_seek.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=773f6229ff62db63 -C extra-filename=-773f6229ff62db63 --out-dir /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.6A07KYeGDJ/target/debug/deps --extern bitstream_io=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-7d827310fd42adf2.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.6A07KYeGDJ/registry=/usr/share/cargo/registry` 503s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=read CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.6A07KYeGDJ/target/debug/deps rustc --crate-name read --edition=2018 tests/read.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=9433d61825446db2 -C extra-filename=-9433d61825446db2 --out-dir /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.6A07KYeGDJ/target/debug/deps --extern bitstream_io=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-7d827310fd42adf2.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.6A07KYeGDJ/registry=/usr/share/cargo/registry` 503s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=huffman CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/tmp LD_LIBRARY_PATH=/tmp/tmp.6A07KYeGDJ/target/debug/deps rustc --crate-name huffman --edition=2018 tests/huffman.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "core2", "default", "std"))' -C metadata=7167b8f0fbdcb04b -C extra-filename=-7167b8f0fbdcb04b --out-dir /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps --target armv7-unknown-linux-gnueabihf -C incremental=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/incremental -L dependency=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps -L dependency=/tmp/tmp.6A07KYeGDJ/target/debug/deps --extern bitstream_io=/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitstream_io-7d827310fd42adf2.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=arm-linux-gnueabihf-gcc -C link-arg=-Wl,-Bsymbolic-functions -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitstream-io-2.5.0=/usr/share/cargo/registry/bitstream-io-2.5.0 --remap-path-prefix /tmp/tmp.6A07KYeGDJ/registry=/usr/share/cargo/registry` 506s Finished `test` profile [unoptimized + debuginfo] target(s) in 4.65s 506s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps/bitstream_io-305684a4cefe8323` 506s 506s running 0 tests 506s 506s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 506s 506s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps/huffman-7167b8f0fbdcb04b` 506s 506s running 3 tests 506s test test_huffman_errors ... ok 506s test test_huffman_values ... ok 506s test test_lengthy_huffman_values ... ok 506s 506s test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s 506s 506s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps/read-9433d61825446db2` 506s 506s running 13 tests 506s test test_edge_cases_be ... ok 506s test test_read_bytes ... ok 506s test test_clone ... ok 506s test test_reader_huffman_be ... ok 506s test test_edge_cases_le ... ok 506s test test_reader_io_errors_be ... ok 506s test test_reader_huffman_le ... ok 506s test test_read_queue_le ... ok 506s test test_read_queue_be ... ok 506s test test_reader_be ... ok 506s test test_reader_bits_errors ... ok 506s test test_reader_io_errors_le ... ok 506s test test_reader_le ... ok 506s 506s test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 506s 506s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps/read_seek-773f6229ff62db63` 506s 506s running 5 tests 506s test test_reader_pos_be ... ok 506s test test_reader_pos_le ... ok 506s test test_reader_seek_end ... ok 506s test test_reader_seek_start ... ok 506s test test_reader_seek_current ... ok 506s 506s test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 506s 506s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps/roundtrip-e8e6bb1307a5a7c9` 506s 506s running 8 tests 506s test test_f32_roundtrip_be ... ok 506s test test_f32_roundtrip_le ... ok 506s test test_f64_roundtrip_be ... ok 506s test test_f64_roundtrip_le ... ok 506s test test_unary_roundtrip_be ... ok 506s test test_unary_roundtrip_le ... ok 506s test test_roundtrip_be ... ok 506s test test_roundtrip_le ... ok 506s 506s test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s 506s 506s Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitstream-io-2.5.0 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/bitstream-io-2.5.0/Cargo.toml CARGO_PKG_AUTHORS='Brian Langenberger ' CARGO_PKG_DESCRIPTION='Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.' CARGO_PKG_HOMEPAGE='https://github.com/tuffy/bitstream-io' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitstream-io CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tuffy/bitstream-io' CARGO_PKG_RUST_VERSION=1.79 CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps:/tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug:/usr/lib/rust-1.84/lib/rustlib/armv7-unknown-linux-gnueabihf/lib' /tmp/tmp.6A07KYeGDJ/target/armv7-unknown-linux-gnueabihf/debug/deps/write-37ca35a78047e307` 506s 506s running 21 tests 506s test test_counter_be ... ok 506s test test_counter_huffman_be ... ok 506s test test_counter_le ... ok 506s test test_recorder_huffman_be ... ok 506s test test_recorder_le ... ok 506s test test_write_queue_edge_le ... ok 506s test test_write_queue_le ... ok 506s test test_write_queue_be ... ok 506s test test_counter_huffman_le ... ok 506s test test_write_queue_edge_be ... ok 506s test test_recorder_be ... ok 506s test test_recorder_huffman_le ... ok 506s test test_writer_be ... ok 506s test test_writer_edge_cases_be ... ok 506s test test_writer_bits_errors ... ok 506s test test_writer_edge_cases_le ... ok 506s test test_writer_io_errors_be ... ok 506s test test_writer_huffman_le ... ok 506s test test_writer_huffman_be ... ok 506s test test_writer_le ... ok 506s test test_writer_io_errors_le ... ok 506s 506s test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s 506s 507s autopkgtest [21:17:41]: test librust-bitstream-io-dev:: -----------------------] 512s librust-bitstream-io-dev: PASS 512s autopkgtest [21:17:46]: test librust-bitstream-io-dev:: - - - - - - - - - - results - - - - - - - - - - 516s autopkgtest [21:17:50]: @@@@@@@@@@@@@@@@@@@@ summary 516s rust-bitstream-io:@ FLAKY non-zero exit status 101 516s librust-bitstream-io-dev:alloc FLAKY non-zero exit status 101 516s librust-bitstream-io-dev:core2 PASS 516s librust-bitstream-io-dev:default PASS 516s librust-bitstream-io-dev:std PASS 516s librust-bitstream-io-dev: PASS