[INFO] cloning repository https://github.com/droogmic/advent2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/droogmic/advent2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdroogmic%2Fadvent2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdroogmic%2Fadvent2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b50d627bd9dda74471ef8f355fb0f68fba44810 [INFO] building droogmic/advent2021 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdroogmic%2Fadvent2021" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/droogmic/advent2021 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/droogmic/advent2021 [INFO] finished tweaking git repo https://github.com/droogmic/advent2021 [INFO] tweaked toml for git repo https://github.com/droogmic/advent2021 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/droogmic/advent2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f83f90b4fe75e16ab3119450142a738f3c6ef642a3567cb615336126de0620a1 [INFO] running `Command { std: "docker" "start" "-a" "f83f90b4fe75e16ab3119450142a738f3c6ef642a3567cb615336126de0620a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f83f90b4fe75e16ab3119450142a738f3c6ef642a3567cb615336126de0620a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f83f90b4fe75e16ab3119450142a738f3c6ef642a3567cb615336126de0620a1", kill_on_drop: false }` [INFO] [stdout] f83f90b4fe75e16ab3119450142a738f3c6ef642a3567cb615336126de0620a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d586f358984162443ab5883a745249f19b380786eefe94c9bf95e256ae36896c [INFO] running `Command { std: "docker" "start" "-a" "d586f358984162443ab5883a745249f19b380786eefe94c9bf95e256ae36896c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling async-rwlock v1.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling pathfinding v3.0.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling recap-derive v0.1.2 (https://github.com/droogmic/recap?branch=clippy-fixes-0.1.2#556c7669) [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling cached_proc_macro v0.7.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling cached v0.26.2 [INFO] [stdout] error[E0277]: `E` cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/sized.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | / { [INFO] [stdout] 421 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 422 | | Ok(v) [INFO] [stdout] 423 | | } [INFO] [stdout] | |_____^ `E` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `Result<(bool, bool, &mut V), E>` [INFO] [stdout] = note: required because it appears within the type `for<'r, 's, 't0> {ResumeTy, &'r mut SizedCache, K, [closure@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/sized.rs:421:65: 421:73], u64, Option, usize, bool, &'s mut LRUList<(K, V)>, LRUList<(K, V)>, Fut, (), Result<(bool, bool, &'t0 mut V), E>}` [INFO] [stdout] = note: required because it appears within the type `[static generator@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/sized.rs:311:5: 332:6]` [INFO] [stdout] = note: required because it appears within the type `from_generator::GenFuture<[static generator@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/sized.rs:311:5: 332:6]>` [INFO] [stdout] = note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] = note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] = note: required because it appears within the type `for<'r, 's, 't0, 't1, 't2> {ResumeTy, &'r mut SizedCache, impl futures::Future>, ()}` [INFO] [stdout] = note: required because it appears within the type `[static generator@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/sized.rs:420:5: 423:6]` [INFO] [stdout] = note: required because it appears within the type `from_generator::GenFuture<[static generator@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/sized.rs:420:5: 423:6]>` [INFO] [stdout] = note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] = note: required for the cast to the object type `dyn futures::Future> + std::marker::Send` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 415 | async fn try_get_or_set_with(&mut self, k: K, f: F) -> Result<&mut V, E> [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `E` cannot be sent between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/timed_sized.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / { [INFO] [stdout] 227 | | let setter = || async { [INFO] [stdout] 228 | | let new_val = f().await?; [INFO] [stdout] 229 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 246 | | Ok(&mut stamped.1) [INFO] [stdout] 247 | | } [INFO] [stdout] | |_____^ `E` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `Result<(bool, bool, &mut (Instant, V)), E>` [INFO] [stdout] = note: required because it appears within the type `for<'r, 's, 't0> {ResumeTy, &'r mut SizedCache, K, [closure@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/timed_sized.rs:234:56: 236:14], u64, Option, usize, bool, &'s mut LRUList<(K, (Instant, V))>, LRUList<(K, (Instant, V))>, impl futures::Future>, (), Result<(bool, bool, &'t0 mut (Instant, V)), E>}` [INFO] [stdout] = note: required because it appears within the type `[static generator@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/sized.rs:311:5: 332:6]` [INFO] [stdout] = note: required because it appears within the type `from_generator::GenFuture<[static generator@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/sized.rs:311:5: 332:6]>` [INFO] [stdout] = note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] = note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] = note: required because it appears within the type `for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9> {ResumeTy, &'r mut TimedSizedCache, F, u64, impl futures::Future>, ()}` [INFO] [stdout] = note: required because it appears within the type `[static generator@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/timed_sized.rs:226:5: 247:6]` [INFO] [stdout] = note: required because it appears within the type `from_generator::GenFuture<[static generator@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.26.2/src/stores/timed_sized.rs:226:5: 247:6]>` [INFO] [stdout] = note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] = note: required for the cast to the object type `dyn futures::Future> + std::marker::Send` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 221 | async fn try_get_or_set_with(&mut self, key: K, f: F) -> Result<&mut V, E> [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 `cached` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d586f358984162443ab5883a745249f19b380786eefe94c9bf95e256ae36896c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d586f358984162443ab5883a745249f19b380786eefe94c9bf95e256ae36896c", kill_on_drop: false }` [INFO] [stdout] d586f358984162443ab5883a745249f19b380786eefe94c9bf95e256ae36896c