[INFO] cloning repository https://github.com/mejrs/rs3cache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mejrs/rs3cache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmejrs%2Frs3cache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmejrs%2Frs3cache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee814e532f9097b06bb933bb153e0a6015d34ee3 [INFO] checking mejrs/rs3cache against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmejrs%2Frs3cache" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mejrs/rs3cache on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mejrs/rs3cache [INFO] finished tweaking git repo https://github.com/mejrs/rs3cache [INFO] tweaked toml for git repo https://github.com/mejrs/rs3cache written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/mejrs/rs3cache already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcdc6a4e873c3a9cab362165897e20178f117d92dbea812ea91aaaa52e1c51e3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dcdc6a4e873c3a9cab362165897e20178f117d92dbea812ea91aaaa52e1c51e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcdc6a4e873c3a9cab362165897e20178f117d92dbea812ea91aaaa52e1c51e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcdc6a4e873c3a9cab362165897e20178f117d92dbea812ea91aaaa52e1c51e3", kill_on_drop: false }` [INFO] [stdout] dcdc6a4e873c3a9cab362165897e20178f117d92dbea812ea91aaaa52e1c51e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0b42a8269bc7c3c5c317edff4a1f8583ca4ed4a69b9544bd770cff345389783 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a0b42a8269bc7c3c5c317edff4a1f8583ca4ed4a69b9544bd770cff345389783", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking vec-arena v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking libflate_lz77 v1.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking progress_bar v0.1.3 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking async-lock v2.3.0 [INFO] [stderr] Checking path-dedot v3.0.8 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking path-absolutize v3.0.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking libflate v1.0.4 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Compiling sqlite3-src v0.3.0 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking nb-connect v1.1.0 [INFO] [stderr] Checking sqlite3-sys v0.13.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking sqlite v0.26.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking bzip2 v0.4.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking ndarray v0.15.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling darling_core v0.12.3 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling darling_macro v0.12.3 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling darling v0.12.3 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking serde_with v1.8.0 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stderr] Checking rs3cache v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `CacheError` [INFO] [stdout] --> src/definitions/location_configs.rs:918:46 [INFO] [stdout] | [INFO] [stdout] 916 | fn id_36687_is_trapdoor() -> CacheResult<()> { [INFO] [stdout] | --------------- expected `CacheError` because of this [INFO] [stdout] 917 | let loc_config = LocationConfig::dump_all()?; [INFO] [stdout] 918 | let trapdoor = loc_config.get(&36687)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `CacheError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 3 others [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] help: consider converting the `Option` into a `Result` using `Option::ok_or` or `Option::ok_or_else` [INFO] [stdout] | [INFO] [stdout] 918 | let trapdoor = loc_config.get(&36687).ok_or_else(|| /* error value */)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `CacheError` [INFO] [stdout] --> src/definitions/location_configs.rs:919:42 [INFO] [stdout] | [INFO] [stdout] 916 | fn id_36687_is_trapdoor() -> CacheResult<()> { [INFO] [stdout] | --------------- expected `CacheError` because of this [INFO] [stdout] ... [INFO] [stdout] 919 | let name = trapdoor.name.as_ref()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `CacheError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 3 others [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] help: consider converting the `Option` into a `Result` using `Option::ok_or` or `Option::ok_or_else` [INFO] [stdout] | [INFO] [stdout] 919 | let name = trapdoor.name.as_ref().ok_or_else(|| /* error value */)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `CacheError` [INFO] [stdout] --> src/definitions/location_configs.rs:929:47 [INFO] [stdout] | [INFO] [stdout] 925 | fn check_paramtable() -> CacheResult<()> { [INFO] [stdout] | --------------- expected `CacheError` because of this [INFO] [stdout] ... [INFO] [stdout] 929 | let bookcase = loc_config.get(&118445)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `CacheError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 3 others [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] help: consider converting the `Option` into a `Result` using `Option::ok_or` or `Option::ok_or_else` [INFO] [stdout] | [INFO] [stdout] 929 | let bookcase = loc_config.get(&118445).ok_or_else(|| /* error value */)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `CacheError` [INFO] [stdout] --> src/definitions/location_configs.rs:930:50 [INFO] [stdout] | [INFO] [stdout] 925 | fn check_paramtable() -> CacheResult<()> { [INFO] [stdout] | --------------- expected `CacheError` because of this [INFO] [stdout] ... [INFO] [stdout] 930 | let paramtable = bookcase.params.as_ref()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `CacheError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 3 others [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] help: consider converting the `Option` into a `Result` using `Option::ok_or` or `Option::ok_or_else` [INFO] [stdout] | [INFO] [stdout] 930 | let paramtable = bookcase.params.as_ref().ok_or_else(|| /* error value */)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `CacheError` [INFO] [stdout] --> src/definitions/npc_configs.rs:830:37 [INFO] [stdout] | [INFO] [stdout] 828 | fn zero_is_hans() -> CacheResult<()> { [INFO] [stdout] | --------------- expected `CacheError` because of this [INFO] [stdout] 829 | let npc_config = NpcConfig::dump_all()?; [INFO] [stdout] 830 | let npc = npc_config.get(&0)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `CacheError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 3 others [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] help: consider converting the `Option` into a `Result` using `Option::ok_or` or `Option::ok_or_else` [INFO] [stdout] | [INFO] [stdout] 830 | let npc = npc_config.get(&0).ok_or_else(|| /* error value */)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `CacheError` [INFO] [stdout] --> src/definitions/npc_configs.rs:831:37 [INFO] [stdout] | [INFO] [stdout] 828 | fn zero_is_hans() -> CacheResult<()> { [INFO] [stdout] | --------------- expected `CacheError` because of this [INFO] [stdout] ... [INFO] [stdout] 831 | let name = npc.name.as_ref()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `CacheError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 3 others [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] help: consider converting the `Option` into a `Result` using `Option::ok_or` or `Option::ok_or_else` [INFO] [stdout] | [INFO] [stdout] 831 | let name = npc.name.as_ref().ok_or_else(|| /* error value */)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `CacheError` [INFO] [stdout] --> src/definitions/sprites.rs:189:48 [INFO] [stdout] | [INFO] [stdout] 184 | fn dump(id: u32, frame: u32) -> CacheResult { [INFO] [stdout] | ------------------- expected `CacheError` because of this [INFO] [stdout] ... [INFO] [stdout] 189 | Ok(images.remove(&(frame as usize))?) [INFO] [stdout] | ^ the trait `From` is not implemented for `CacheError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 3 others [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] help: consider converting the `Option` into a `Result` using `Option::ok_or` or `Option::ok_or_else` [INFO] [stdout] | [INFO] [stdout] 189 | Ok(images.remove(&(frame as usize)).ok_or_else(|| /* error value */)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs3cache` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a0b42a8269bc7c3c5c317edff4a1f8583ca4ed4a69b9544bd770cff345389783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0b42a8269bc7c3c5c317edff4a1f8583ca4ed4a69b9544bd770cff345389783", kill_on_drop: false }` [INFO] [stdout] a0b42a8269bc7c3c5c317edff4a1f8583ca4ed4a69b9544bd770cff345389783