[INFO] cloning repository https://github.com/josephlr/rust-aoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/josephlr/rust-aoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephlr%2Frust-aoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephlr%2Frust-aoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a2cfb653e80c78a3fb31635bcf8150d38dca939 [INFO] testing josephlr/rust-aoc against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephlr%2Frust-aoc" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/josephlr/rust-aoc [INFO] finished tweaking git repo https://github.com/josephlr/rust-aoc [INFO] tweaked toml for git repo https://github.com/josephlr/rust-aoc written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/josephlr/rust-aoc on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/josephlr/rust-aoc 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit-vec v0.5.0 [INFO] [stderr] Downloaded memchr v2.1.1 [INFO] [stderr] Downloaded intrusive-collections v0.7.8 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded libc v0.2.44 [INFO] [stderr] Downloaded nom v4.1.1 [INFO] [stderr] Downloaded euclid v0.19.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84d45241290642d72bfb86a07aef6133b474b056d5e992150133cf2d63386578 [INFO] running `Command { std: "docker" "start" "-a" "84d45241290642d72bfb86a07aef6133b474b056d5e992150133cf2d63386578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84d45241290642d72bfb86a07aef6133b474b056d5e992150133cf2d63386578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84d45241290642d72bfb86a07aef6133b474b056d5e992150133cf2d63386578", kill_on_drop: false }` [INFO] [stdout] 84d45241290642d72bfb86a07aef6133b474b056d5e992150133cf2d63386578 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ef5621957b3578a2e3e718fe334ce48a36fe187df27495a897e5b46caff22e01 [INFO] running `Command { std: "docker" "start" "-a" "ef5621957b3578a2e3e718fe334ce48a36fe187df27495a897e5b46caff22e01", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling intrusive-collections v0.7.8 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling euclid v0.19.4 [INFO] [stderr] Compiling rust-aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `option` [INFO] [stdout] --> src/util/error.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `option` [INFO] [stdout] --> src/util/error.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | fn from(_: option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | specialization, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `allow` [INFO] [stdout] --> src/y2018/day9.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[allow(clippy::expl_impl_clone_on_copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `intrusive_adapter` [INFO] [stdout] --> src/y2018/day9.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | intrusive_adapter!(MyAdapter = Box: Node { link: Link }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/y2018/day9.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | intrusive_adapter!(MyAdapter = Box: Node { link: Link }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `container_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `container_of` may come from an old version of the `intrusive_collections` crate, try updating your dependency with `cargo update -p intrusive_collections` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `container_of` which comes from the expansion of the macro `intrusive_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/y2018/day9.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | intrusive_adapter!(MyAdapter = Box: Node { link: Link }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `offset_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `offset_of` may come from an old version of the `intrusive_collections` crate, try updating your dependency with `cargo update -p intrusive_collections` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `intrusive_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/y2018/day9.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | intrusive_adapter!(MyAdapter = Box: Node { link: Link }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `offset_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `offset_of` may come from an old version of the `intrusive_collections` crate, try updating your dependency with `cargo update -p intrusive_collections` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `intrusive_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/y2018/day9.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | intrusive_adapter!(MyAdapter = Box: Node { link: Link }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` which comes from the expansion of the macro `intrusive_adapter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | nll, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | uniform_paths, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | try_from, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: feature `try_trait` has been renamed to `try_trait_v2` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | try_trait [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `map_entry_replace` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | map_entry_replace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | drain_filter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `replace_key` found for struct `std::collections::hash_map::OccupiedEntry` in the current scope [INFO] [stdout] --> src/util/iter.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | Entry::Occupied(o) => return Some(o.replace_key()), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `std::collections::hash_map::OccupiedEntry<'_, ::Item, ()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/y2018/day10.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | lights.drain_filter(|l| { [INFO] [stdout] | -------^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day13.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 101 | fn step(&mut self, map: &[Vec]) -> Result<()> { [INFO] [stdout] | ---------------------------------------------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 104 | match map.get(self.pos.y as usize)?.get(self.pos.x as usize)? { [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result<(), util::error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day13.rs:104:69 [INFO] [stdout] | [INFO] [stdout] 101 | fn step(&mut self, map: &[Vec]) -> Result<()> { [INFO] [stdout] | ---------------------------------------------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 104 | match map.get(self.pos.y as usize)?.get(self.pos.x as usize)? { [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result<(), util::error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day14.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 36 | fn ans(&self, mut inputs: impl Iterator) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------ this function returns a `Result` [INFO] [stdout] 37 | let input = inputs.next()?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day14.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 57 | fn ans(&self, mut inputs: impl Iterator) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------- this function returns a `Result` [INFO] [stdout] 58 | let needle: Vec = inputs.next()?.bytes().map(|b| b - b'0').collect(); [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-aoc` (bin "rust-aoc") due to 11 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ef5621957b3578a2e3e718fe334ce48a36fe187df27495a897e5b46caff22e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef5621957b3578a2e3e718fe334ce48a36fe187df27495a897e5b46caff22e01", kill_on_drop: false }` [INFO] [stdout] ef5621957b3578a2e3e718fe334ce48a36fe187df27495a897e5b46caff22e01