[INFO] cloning repository https://github.com/aoeixsz4/advent-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aoeixsz4/advent-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoeixsz4%2Fadvent-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoeixsz4%2Fadvent-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17213cfe7b4f095d4c7b3cc185b6fe6e6bff3a06 [INFO] documenting aoeixsz4/advent-rs against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoeixsz4%2Fadvent-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aoeixsz4/advent-rs on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aoeixsz4/advent-rs [INFO] finished tweaking git repo https://github.com/aoeixsz4/advent-rs [INFO] tweaked toml for git repo https://github.com/aoeixsz4/advent-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/aoeixsz4/advent-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "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] 4b2de64a5acc835dbf5b2c8088cf643cec6a2755a9186d5941d872bb57383ee8 [INFO] running `Command { std: "docker" "start" "-a" "4b2de64a5acc835dbf5b2c8088cf643cec6a2755a9186d5941d872bb57383ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b2de64a5acc835dbf5b2c8088cf643cec6a2755a9186d5941d872bb57383ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b2de64a5acc835dbf5b2c8088cf643cec6a2755a9186d5941d872bb57383ee8", kill_on_drop: false }` [INFO] [stdout] 4b2de64a5acc835dbf5b2c8088cf643cec6a2755a9186d5941d872bb57383ee8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] ac47f5de6ff50b23cf7a190d87d8f93e686af8f583e79b567065fa616c195e96 [INFO] running `Command { std: "docker" "start" "-a" "ac47f5de6ff50b23cf7a190d87d8f93e686af8f583e79b567065fa616c195e96", kill_on_drop: false }` [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking num-rational v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Documenting advent-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/day1.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day1.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day1.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day10.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day10.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day10.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day11.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day11.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day11.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day12.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day12.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | const INPUT: &str = include_str!("day12.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day13.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day13.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | const INPUT: &str = include_str!("day13.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day14.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day14.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = include_str!("day14.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day15.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day15.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | const INPUT: &str = include_str!("day15.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day16.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day16.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | const INPUT: &str = include_str!("day16.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day18.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day18.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = include_str!("day18.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day19.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day19.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | const INPUT: &str = include_str!("day19.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day2.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day2.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day2.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day20.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day20.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | const INPUT: &str = include_str!("day20.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day3.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day3.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | const INPUT: &str = include_str!("day3.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day4.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day4.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = include_str!("day4.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day5.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day5.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day5.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day6.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day6.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day6.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day7.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day7.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day7.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day8.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day8.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = include_str!("day8.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/day9.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/day9.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | const INPUT: &str = include_str!("day9.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/day19.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | ((((x - origin.0).pow(2) + (y - origin.1).pow(2) + (z - origin.2).pow(2)) as f64) [INFO] [stdout] | ^ [INFO] [stdout] 31 | .sqrt()) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 ~ (((x - origin.0).pow(2) + (y - origin.1).pow(2) + (z - origin.2).pow(2)) as f64) [INFO] [stdout] 31 ~ .sqrt() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `advent-rs` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name advent_rs src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=26c9e121994cb607 -L dependency=/opt/rustwide/target/debug/deps --extern bitvec=/opt/rustwide/target/debug/deps/libbitvec-e36b805de111542a.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-565caf548ce26760.rmeta --extern hex=/opt/rustwide/target/debug/deps/libhex-e363d6a41d9ffc70.rmeta --extern itertools=/opt/rustwide/target/debug/deps/libitertools-e10dc731f9ac719c.rmeta --extern num=/opt/rustwide/target/debug/deps/libnum-fbc1bc8e1ec64cd4.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "ac47f5de6ff50b23cf7a190d87d8f93e686af8f583e79b567065fa616c195e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac47f5de6ff50b23cf7a190d87d8f93e686af8f583e79b567065fa616c195e96", kill_on_drop: false }` [INFO] [stdout] ac47f5de6ff50b23cf7a190d87d8f93e686af8f583e79b567065fa616c195e96