[INFO] cloning repository https://github.com/homura10059/rust-in-action
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/homura10059/rust-in-action" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomura10059%2Frust-in-action"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomura10059%2Frust-in-action'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 6070a9d15e2e8322d155979f75a176ac4d488294
[INFO] testing homura10059/rust-in-action against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomura10059%2Frust-in-action" "/workspace/builds/worker-1-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/homura10059/rust-in-action
[INFO] finished tweaking git repo https://github.com/homura10059/rust-in-action
[INFO] tweaked toml for git repo https://github.com/homura10059/rust-in-action written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/homura10059/rust-in-action on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/homura10059/rust-in-action already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: ch8/ch8_resolve/Cargo.toml: unused manifest key: dependencies.trust-dns.default-deatures
[INFO] [stderr] warning: `ch8_resolve` (manifest) generated 1 warning
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 127c35fad11e71f828096091147590d74cbd85d84a9c38f3ba260d818c26d6ca
[INFO] running `"docker" "start" "127c35fad11e71f828096091147590d74cbd85d84a9c38f3ba260d818c26d6ca"`
[INFO] running `"docker" "inspect" "127c35fad11e71f828096091147590d74cbd85d84a9c38f3ba260d818c26d6ca"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "127c35fad11e71f828096091147590d74cbd85d84a9c38f3ba260d818c26d6ca" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "127c35fad11e71f828096091147590d74cbd85d84a9c38f3ba260d818c26d6ca"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "127c35fad11e71f828096091147590d74cbd85d84a9c38f3ba260d818c26d6ca" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: ch8/ch8_resolve/Cargo.toml: unused manifest key: dependencies.trust-dns.default-deatures
[INFO] [stderr] warning: `ch8_resolve` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.138
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling net2 v0.2.38
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling wayland-sys v0.28.6
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.13
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling nix v0.20.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.6
[INFO] [stderr]    Compiling piston-float v1.0.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling rayon-core v1.10.1
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.7
[INFO] [stderr]    Compiling crossbeam-deque v0.8.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling piston-viewport v1.0.2
[INFO] [stderr]    Compiling crossbeam-channel v0.5.6
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling owned_ttf_parser v0.15.2
[INFO] [stderr]    Compiling wayland-commons v0.28.6
[INFO] [stderr]    Compiling rusttype v0.9.3
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling tokio v1.24.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling x11-dl v2.20.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling piston-graphics_api_version v1.0.1
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rayon v1.6.1
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling xcursor v0.3.4
[INFO] [stderr]    Compiling xdg v2.4.1
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling spin v0.9.4
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling andrew v0.3.1
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling wayland-cursor v0.28.6
[INFO] [stderr]    Compiling pistoncore-input v1.0.1
[INFO] [stderr]    Compiling calloop v0.6.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.6
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.8
[INFO] [stderr]    Compiling memmap2 v0.1.0
[INFO] [stderr]    Compiling backtrace v0.3.67
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling gimli v0.27.0
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]    Compiling half v2.1.0
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling bit_field v0.10.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling exr v1.5.2
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling addr2line v0.19.0
[INFO] [stderr]    Compiling pistoncore-window v0.47.1
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling tiff v0.8.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling raw-window-handle v0.3.4
[INFO] [stderr]    Compiling png v0.17.7
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling object v0.30.2
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling bytemuck v1.12.3
[INFO] [stderr]    Compiling piston-texture v0.9.0
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling image v0.24.5
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling h2 v0.3.15
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling shader_version v0.7.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling wayland-egl v0.28.6
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling data-encoding v2.3.3
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling smithay-client-toolkit v0.12.3
[INFO] [stderr]    Compiling spin_sleep v1.1.1
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling piston2d-graphics v0.43.0
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.10
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling pistoncore-event_loop v0.53.1
[INFO] [stderr]    Compiling hyper v0.14.23
[INFO] [stderr]    Compiling winit v0.24.0
[INFO] [stderr]    Compiling piston-gfx_texture v0.44.0
[INFO] [stderr]    Compiling enum-as-inner v0.2.1
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling glutin v0.26.0
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling num-complex v0.4.2
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.4.0
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling nibble_vec v0.0.4
[INFO] [stderr]    Compiling chrono v0.4.23
[INFO] [stderr]    Compiling radix_trie v0.1.6
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.79.0
[INFO] [stderr]    Compiling trust-dns-proto v0.7.4
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling actionkv v2.0.0 (/opt/rustwide/workdir/ch7/actionkv)
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]   --> ch7/actionkv/src/lib.rs:91:55
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn get(&mut self, key: &ByteStr) -> io::Result<Option<ByteString>> {
[INFO] [stdout]    |     ---------------------------------------------------------------------- this function returns a `Result`
[INFO] [stdout] 91 |         let position = self.index.get(key).map(|x| *x)?;
[INFO] [stdout]    |                                                       ^ use `.ok_or(...)?` to provide an error compatible with `Result<std::option::Option<Vec<u8>>, std::io::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0606]: casting `&[u8]` as `u32` is invalid
[INFO] [stdout]    --> ch7/actionkv/src/lib.rs:154:37
[INFO] [stdout]     |
[INFO] [stdout] 154 |         f.write_u32::<LittleEndian>(key as u32)?;
[INFO] [stdout]     |                                     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: cast through a raw pointer first
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0606]: casting `&[u8]` as `u32` is invalid
[INFO] [stdout]    --> ch7/actionkv/src/lib.rs:155:37
[INFO] [stdout]     |
[INFO] [stdout] 155 |         f.write_u32::<LittleEndian>(value as u32)?;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: cast through a raw pointer first
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0606.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `actionkv` (lib) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `"docker" "inspect" "127c35fad11e71f828096091147590d74cbd85d84a9c38f3ba260d818c26d6ca"`
[INFO] running `"docker" "rm" "-f" "127c35fad11e71f828096091147590d74cbd85d84a9c38f3ba260d818c26d6ca"`
[INFO] [stdout] 127c35fad11e71f828096091147590d74cbd85d84a9c38f3ba260d818c26d6ca
