[INFO] cloning repository https://github.com/euclidr/something-about-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/euclidr/something-about-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuclidr%2Fsomething-about-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuclidr%2Fsomething-about-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 607f5796c1cc0c96203a3950ddb2835a6fce24a3 [INFO] checking euclidr/something-about-rust against try#22cc29ba5b459fb386c0406b9baf3a49eb0fba39 for pr-146095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuclidr%2Fsomething-about-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/euclidr/something-about-rust [INFO] finished tweaking git repo https://github.com/euclidr/something-about-rust [INFO] tweaked toml for git repo https://github.com/euclidr/something-about-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/euclidr/something-about-rust on toolchain 22cc29ba5b459fb386c0406b9baf3a49eb0fba39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/euclidr/something-about-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc2/source/Cargo.toml: unused manifest key: examples [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-sync v0.1.5 [INFO] [stderr] Downloaded bitflags v1.2.0 [INFO] [stderr] Downloaded tokio-uds v0.2.5 [INFO] [stderr] Downloaded wasi v0.5.0 [INFO] [stderr] Downloaded tokio-reactor v0.1.9 [INFO] [stderr] Downloaded tokio v0.1.21 [INFO] [stderr] Downloaded getrandom v0.1.11 [INFO] [stderr] Downloaded owning_ref v0.4.0 [INFO] [stderr] Downloaded debug_unreachable v0.1.1 [INFO] [stderr] Downloaded string_cache v0.6.2 [INFO] [stderr] Downloaded tokio-executor v0.1.7 [INFO] [stderr] Downloaded crossbeam-utils v0.6.5 [INFO] [stderr] Downloaded tokio-fs v0.1.6 [INFO] [stderr] Downloaded string v0.1.3 [INFO] [stderr] Downloaded schannel v0.1.15 [INFO] [stderr] Downloaded cc v1.0.37 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.1 [INFO] [stderr] Downloaded hyper v0.12.29 [INFO] [stderr] Downloaded html5ever v0.18.0 [INFO] [stderr] Downloaded libc v0.2.62 [INFO] [stderr] Downloaded futures v0.1.27 [INFO] [stderr] Downloaded openssl v0.10.23 [INFO] [stderr] Downloaded syn v0.15.35 [INFO] [stderr] Downloaded serde v1.0.92 [INFO] [stderr] Downloaded h2 v0.1.21 [INFO] [stderr] Downloaded http v0.1.17 [INFO] [stderr] Downloaded serde_json v1.0.39 [INFO] [stderr] Downloaded openssl-sys v0.9.47 [INFO] [stderr] Downloaded select v0.4.2 [INFO] [stderr] Downloaded tokio-threadpool v0.1.14 [INFO] [stderr] Downloaded parking_lot_core v0.4.0 [INFO] [stderr] Downloaded tempfile v3.0.8 [INFO] [stderr] Downloaded markup5ever v0.3.2 [INFO] [stderr] Downloaded serde_derive v1.0.92 [INFO] [stderr] Downloaded ryu v0.2.8 [INFO] [stderr] Downloaded redox_syscall v0.1.54 [INFO] [stderr] Downloaded tokio-trace-core v0.2.0 [INFO] [stderr] Downloaded tokio-udp v0.1.3 [INFO] [stderr] Downloaded lock_api v0.1.5 [INFO] [stderr] Downloaded byteorder v1.3.1 [INFO] [stderr] Downloaded string_cache_codegen v0.4.2 [INFO] [stderr] Downloaded tendril v0.3.1 [INFO] [stderr] Downloaded quote v0.6.12 [INFO] [stderr] Downloaded arrayvec v0.4.10 [INFO] [stderr] Downloaded parking_lot v0.7.1 [INFO] [stderr] Downloaded num_cpus v1.10.0 [INFO] [stderr] Downloaded smallvec v0.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d126e009177d12e5a7db7c0cf0ac609cdc1877d8f822c3f8f12a0d5bf90e10ca [INFO] running `Command { std: "docker" "start" "-a" "d126e009177d12e5a7db7c0cf0ac609cdc1877d8f822c3f8f12a0d5bf90e10ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d126e009177d12e5a7db7c0cf0ac609cdc1877d8f822c3f8f12a0d5bf90e10ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d126e009177d12e5a7db7c0cf0ac609cdc1877d8f822c3f8f12a0d5bf90e10ca", kill_on_drop: false }` [INFO] [stdout] d126e009177d12e5a7db7c0cf0ac609cdc1877d8f822c3f8f12a0d5bf90e10ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05c1401ab27d7396d5f1d688eceff5f867e60be9558e66163f159ec7abd93ee0 [INFO] running `Command { std: "docker" "start" "-a" "05c1401ab27d7396d5f1d688eceff5f867e60be9558e66163f159ec7abd93ee0", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: examples [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Checking futures v0.1.27 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Checking new_debug_unreachable v1.0.3 [INFO] [stderr] Checking debug_unreachable v0.1.1 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/22cc29ba5b459fb386c0406b9baf3a49eb0fba39/library/alloc/src/borrow.rs:169:29 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Compiling openssl v0.10.23 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking tendril v0.3.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking tokio-trace-core v0.2.0 [INFO] [stderr] Checking string v0.1.3 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if self.ptr.get().get() > MAX_INLINE_TAG { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | let p = self.ptr.get().get(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | if (*header).refcount.decrement() == 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:486:26 [INFO] [stdout] | [INFO] [stdout] 486 | let kind = match self.ptr.get().get() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:562:15 [INFO] [stdout] | [INFO] [stdout] 562 | match self.ptr.get().get() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let n = self.ptr.get().get(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | let n = self.ptr.get().get(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:582:39 [INFO] [stdout] | [INFO] [stdout] 582 | (n > MAX_INLINE_TAG) && (n == other.ptr.get().get()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | if self.ptr.get().get() <= MAX_INLINE_TAG { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | self.ptr.set(unsafe { NonZeroUsize::new(EMPTY_TAG) }); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | if (self.ptr.get().get() > MAX_INLINE_TAG) && (other.ptr.get().get() > MAX_INLINE_TAG) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:723:60 [INFO] [stdout] | [INFO] [stdout] 723 | if (self.ptr.get().get() > MAX_INLINE_TAG) && (other.ptr.get().get() > MAX_INLINE_TAG) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:729:25 [INFO] [stdout] | [INFO] [stdout] 729 | && (other.aux.get() == self.aux.get() + self.len) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:729:44 [INFO] [stdout] | [INFO] [stdout] 729 | && (other.aux.get() == self.aux.get() + self.len) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:922:34 [INFO] [stdout] | [INFO] [stdout] 922 | Tendril::shared(buf, self.aux.get() + offset, length) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:937:13 [INFO] [stdout] | [INFO] [stdout] 937 | self.aux.set(self.aux.get() + n); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:937:26 [INFO] [stdout] | [INFO] [stdout] 937 | self.aux.set(self.aux.get() + n); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:959:9 [INFO] [stdout] | [INFO] [stdout] 959 | (*self.header()).refcount.increment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:964:17 [INFO] [stdout] | [INFO] [stdout] 964 | let p = self.ptr.get().get(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:967:29 [INFO] [stdout] | [INFO] [stdout] 967 | (*header).cap = self.aux.get(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | self.ptr.set(NonZeroUsize::new(p | 1)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:970:13 [INFO] [stdout] | [INFO] [stdout] 970 | self.aux.set(0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:980:23 [INFO] [stdout] | [INFO] [stdout] 980 | let ptr = self.ptr.get().get(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:992:9 [INFO] [stdout] | [INFO] [stdout] 992 | self.ptr.set(NonZeroUsize::new(buf.ptr as usize)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:993:9 [INFO] [stdout] | [INFO] [stdout] 993 | self.aux.set(buf.cap); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:998:10 [INFO] [stdout] | [INFO] [stdout] 998 | (self.ptr.get().get() & !1) as *mut Header [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:1003:19 [INFO] [stdout] | [INFO] [stdout] 1003 | let ptr = self.ptr.get().get(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:1008:23 [INFO] [stdout] | [INFO] [stdout] 1008 | false => (self.aux.get(), 0), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:1007:37 [INFO] [stdout] | [INFO] [stdout] 1007 | true => ((*header).cap, self.aux.get()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:1028:46 [INFO] [stdout] | [INFO] [stdout] 1028 | ptr::copy_nonoverlapping(x.as_ptr(), &mut t.len as *mut u32 as *mut u8, len); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:1066:19 [INFO] [stdout] | [INFO] [stdout] 1066 | match self.ptr.get().get() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:1069:43 [INFO] [stdout] | [INFO] [stdout] 1069 | slice::from_raw_parts(&self.len as *const u32 as *const u8, n) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:1085:19 [INFO] [stdout] | [INFO] [stdout] 1085 | match self.ptr.get().get() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:1088:47 [INFO] [stdout] | [INFO] [stdout] 1088 | slice::from_raw_parts_mut(&mut self.len as *mut u32 as *mut u8, n) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:1385:16 [INFO] [stdout] | [INFO] [stdout] 1385 | && self.ptr.get().get() <= MAX_INLINE_TAG [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.3.1/src/tendril.rs:1387:13 [INFO] [stdout] | [INFO] [stdout] 1387 | self.ptr.set(inline_tag(new_len)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this struct is 1-byte aligned, but the type of this field may require higher alignment [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] error: could not compile `tendril` (lib) due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "05c1401ab27d7396d5f1d688eceff5f867e60be9558e66163f159ec7abd93ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c1401ab27d7396d5f1d688eceff5f867e60be9558e66163f159ec7abd93ee0", kill_on_drop: false }` [INFO] [stdout] 05c1401ab27d7396d5f1d688eceff5f867e60be9558e66163f159ec7abd93ee0