[INFO] cloning repository https://github.com/Strikeskids/pctf2021-dr-public [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Strikeskids/pctf2021-dr-public" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrikeskids%2Fpctf2021-dr-public", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrikeskids%2Fpctf2021-dr-public'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 997bcc9e7d7bd49cc878c472538563205034fcb8 [INFO] documenting Strikeskids/pctf2021-dr-public 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%2FStrikeskids%2Fpctf2021-dr-public" "/workspace/builds/worker-34/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-34/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Strikeskids/pctf2021-dr-public 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/Strikeskids/pctf2021-dr-public [INFO] finished tweaking git repo https://github.com/Strikeskids/pctf2021-dr-public [INFO] tweaked toml for git repo https://github.com/Strikeskids/pctf2021-dr-public written to /workspace/builds/worker-34/source/Cargo.toml [INFO] crate git repo https://github.com/Strikeskids/pctf2021-dr-public 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] [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-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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] [stdout] 4b85af60815ce5c53fa625e244244c485de0f18e62289932cbbe5108f93b14eb [INFO] running `Command { std: "docker" "start" "-a" "4b85af60815ce5c53fa625e244244c485de0f18e62289932cbbe5108f93b14eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b85af60815ce5c53fa625e244244c485de0f18e62289932cbbe5108f93b14eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b85af60815ce5c53fa625e244244c485de0f18e62289932cbbe5108f93b14eb", kill_on_drop: false }` [INFO] [stdout] 4b85af60815ce5c53fa625e244244c485de0f18e62289932cbbe5108f93b14eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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] [stdout] 01e535f0b0b06a4a29f486a5cdf06bbf82bade9df9b9ccaaf19f38545a6798d1 [INFO] running `Command { std: "docker" "start" "-a" "01e535f0b0b06a4a29f486a5cdf06bbf82bade9df9b9ccaaf19f38545a6798d1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling delegate v0.5.1 [INFO] [stderr] Documenting dr v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking dr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/bin/exploit.rs:703:3 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 275 | fn into_tail(self) -> Option<(Self, T)> { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 295 | Alt(ts) => { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 320 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 703 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/bin/exploit.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/bin/exploit.rs:345:18 [INFO] [stdout] | [INFO] [stdout] 345 | fn into_head(self) -> Option<(T, Self)> { [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/bin/exploit.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | fn simplify(self) -> Self { [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 323 | fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer function [INFO] [stdout] | use a type here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | - type parameter from outer function [INFO] [stdout] ... [INFO] [stdout] 323 | fn head(&self) -> Option<&T> { [INFO] [stdout] | ---- ^ use of generic parameter from outer function [INFO] [stdout] | | [INFO] [stdout] | help: try using a local generic parameter instead: `head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:327:39 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 327 | Seq(ts) => ts.first().map(Self::head).flatten(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer function [INFO] [stdout] | use a type here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:330:22 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 330 | .map(Self::head) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer function [INFO] [stdout] | use a type here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:345:18 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 345 | fn into_head(self) -> Option<(T, Self)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer function [INFO] [stdout] | use a type here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:345:35 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | - type parameter from outer function [INFO] [stdout] ... [INFO] [stdout] 345 | fn into_head(self) -> Option<(T, Self)> { [INFO] [stdout] | --------- ^ use of generic parameter from outer function [INFO] [stdout] | | [INFO] [stdout] | help: try using a local generic parameter instead: `into_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:345:38 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 345 | fn into_head(self) -> Option<(T, Self)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer function [INFO] [stdout] | use a type here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:396:40 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | - type parameter from outer function [INFO] [stdout] ... [INFO] [stdout] 396 | fn seq>>(ts: I) -> Self { [INFO] [stdout] | --------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | use of generic parameter from outer function [INFO] [stdout] | help: try using a local generic parameter instead: `seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:396:55 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 396 | fn seq>>(ts: I) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer function [INFO] [stdout] | use a type here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 410 | fn simplify(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer function [INFO] [stdout] | use a type here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:410:26 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 410 | fn simplify(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer function [INFO] [stdout] | use a type here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:414:24 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 414 | Seq(ts) => Self::seq(ts.into_iter().map(Self::simplify)), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer function [INFO] [stdout] | use a type here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:414:53 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 414 | Seq(ts) => Self::seq(ts.into_iter().map(Self::simplify)), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer function [INFO] [stdout] | use a type here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer function [INFO] [stdout] --> src/bin/exploit.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 252 | impl Path { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 428 | Self::seq( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer function [INFO] [stdout] | use a type here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0401`. [INFO] [stdout] [INFO] [stderr] error: could not document `dr` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name exploit src/bin/exploit.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=b7914ee3a350c086 -L dependency=/opt/rustwide/target/debug/deps --extern delegate=/opt/rustwide/target/debug/deps/libdelegate-6a61bc6c38a0361a.so --extern dr=/opt/rustwide/target/debug/deps/libdr-b4eb3d05a46614d5.rmeta --extern sha3=/opt/rustwide/target/debug/deps/libsha3-561baba00c60d7b3.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "01e535f0b0b06a4a29f486a5cdf06bbf82bade9df9b9ccaaf19f38545a6798d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e535f0b0b06a4a29f486a5cdf06bbf82bade9df9b9ccaaf19f38545a6798d1", kill_on_drop: false }` [INFO] [stdout] 01e535f0b0b06a4a29f486a5cdf06bbf82bade9df9b9ccaaf19f38545a6798d1