[INFO] crate aoc-helper 0.2.1 is already in cache [INFO] testing aoc-helper-0.2.1 against 1.45.2 for beta-1.46-1 [INFO] extracting crate aoc-helper 0.2.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate aoc-helper 0.2.1 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate aoc-helper 0.2.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate aoc-helper 0.2.1 [INFO] tweaked toml for crates.io crate aoc-helper 0.2.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate aoc-helper 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb21e3b270b9095d4ef8a92f7b8af0797a3f977b91e22a46d40efdfc06165c4f [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" "fb21e3b270b9095d4ef8a92f7b8af0797a3f977b91e22a46d40efdfc06165c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb21e3b270b9095d4ef8a92f7b8af0797a3f977b91e22a46d40efdfc06165c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb21e3b270b9095d4ef8a92f7b8af0797a3f977b91e22a46d40efdfc06165c4f", kill_on_drop: false }` [INFO] [stdout] fb21e3b270b9095d4ef8a92f7b8af0797a3f977b91e22a46d40efdfc06165c4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c210cb0e158bc9d293ee3b0214edb8395277e1c7f203707c29e33dff59efe8f8 [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" "c210cb0e158bc9d293ee3b0214edb8395277e1c7f203707c29e33dff59efe8f8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling chunked_transfer v1.0.0 [INFO] [stderr] Compiling time v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling qstring v0.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling colored v1.9.0 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling webpki v0.21.0 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling ureq v0.11.2 [INFO] [stderr] Compiling aoc-helper v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.12s [INFO] running `Command { std: "docker" "inspect" "c210cb0e158bc9d293ee3b0214edb8395277e1c7f203707c29e33dff59efe8f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c210cb0e158bc9d293ee3b0214edb8395277e1c7f203707c29e33dff59efe8f8", kill_on_drop: false }` [INFO] [stdout] c210cb0e158bc9d293ee3b0214edb8395277e1c7f203707c29e33dff59efe8f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59c3f61cd0364c178c248489cd20d76f03ef678aeabec1928a0ffc029e705423 [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" "59c3f61cd0364c178c248489cd20d76f03ef678aeabec1928a0ffc029e705423", kill_on_drop: false }` [INFO] [stderr] Compiling aoc-helper v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `Command { std: "docker" "inspect" "59c3f61cd0364c178c248489cd20d76f03ef678aeabec1928a0ffc029e705423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59c3f61cd0364c178c248489cd20d76f03ef678aeabec1928a0ffc029e705423", kill_on_drop: false }` [INFO] [stdout] 59c3f61cd0364c178c248489cd20d76f03ef678aeabec1928a0ffc029e705423 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 208b76778c3946e8e7578b8b655192f5f3ebc24f7b0c8be00c5d6c03f235c943 [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" "208b76778c3946e8e7578b8b655192f5f3ebc24f7b0c8be00c5d6c03f235c943", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/aoc_helper-15397a77a9b53ce0 [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests aoc-helper [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/lib.rs - Puzzle::new (line 388) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - AocDay::new_with_serializer (line 185) ... FAILED [INFO] [stdout] test src/lib.rs - Puzzle::examples (line 408) ... FAILED [INFO] [stdout] test src/lib.rs - Puzzle::with_examples (line 422) ... FAILED [INFO] [stdout] test src/lib.rs - AocDay::input (line 204) ... ok [INFO] [stdout] test src/lib.rs - AocDay::session_id (line 233) ... ok [INFO] [stdout] test src/lib.rs - AocDay::with_input (line 218) ... ok [INFO] [stdout] test src/lib.rs - AocDay::with_session_id (line 247) ... ok [INFO] [stdout] test src/lib.rs - AocDay::new (line 162) ... ok [INFO] [stdout] test src/lib.rs - AocDay::test (line 265) ... ok [INFO] [stdout] test src/lib.rs - AocDay::run (line 295) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `aoc` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 3 | [dependencies] [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 4 | aoc-helper = "0.2.1" [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Puzzle::new (line 388) stdout ---- [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:391:30 [INFO] [stdout] | [INFO] [stdout] 6 | let part_1 = Puzzle::new(1, |x| x.lines().count()); [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 3 | session-id = "82942d3671962a9f17f8f81723d45b0fcdf8b3b5bf6w3954f02101fa5de1420b6ecd30ed550133f32d6a5c00233076af" [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 3 | session-id = "82942d3671962a9f17f8f81723d45b0fcdf8b3b5bf6w3954f02101fa5de1420b6ecd30ed550133f32d6a5c00233076af" [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 3 | session-id = "82942d3671962a9f17f8f81723d45b0fcdf8b3b5bf6w3954f02101fa5de1420b6ecd30ed550133f32d6a5c00233076af" [INFO] [stdout] | ---------- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0070, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0070`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - AocDay::new_with_serializer (line 185) stdout ---- [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `input` [INFO] [stdout] --> src/lib.rs:188:58 [INFO] [stdout] | [INFO] [stdout] 6 | let day_2 = AocDay::new_with_serializer(2017, 2, |input| input.split_whitespace().collect::>()); [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `input` is borrowed here [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Puzzle::examples (line 408) stdout ---- [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:411:34 [INFO] [stdout] | [INFO] [stdout] 6 | let mut part_2 = Puzzle::new(2, |x| x.lines().nth(0).unwrap()); [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Puzzle::with_examples (line 422) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `lines` in this scope [INFO] [stdout] --> src/lib.rs:425:33 [INFO] [stdout] | [INFO] [stdout] 6 | let part_2 = Puzzle::new(2, |x| lines().nth(0).unwrap()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/lib.rs - (line 30) [INFO] [stdout] src/lib.rs - AocDay::new_with_serializer (line 185) [INFO] [stdout] src/lib.rs - Puzzle::examples (line 408) [INFO] [stdout] src/lib.rs - Puzzle::new (line 388) [INFO] [stdout] src/lib.rs - Puzzle::with_examples (line 422) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "208b76778c3946e8e7578b8b655192f5f3ebc24f7b0c8be00c5d6c03f235c943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "208b76778c3946e8e7578b8b655192f5f3ebc24f7b0c8be00c5d6c03f235c943", kill_on_drop: false }` [INFO] [stdout] 208b76778c3946e8e7578b8b655192f5f3ebc24f7b0c8be00c5d6c03f235c943