[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] testing Strikeskids/pctf2021-dr-public against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrikeskids%2Fpctf2021-dr-public" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Strikeskids/pctf2021-dr-public on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-16/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded delegate v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d993e1da450a5f5b9d0746650dbb86518c26b62ed33c44ec330ca7e46606d1d [INFO] running `Command { std: "docker" "start" "-a" "0d993e1da450a5f5b9d0746650dbb86518c26b62ed33c44ec330ca7e46606d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d993e1da450a5f5b9d0746650dbb86518c26b62ed33c44ec330ca7e46606d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d993e1da450a5f5b9d0746650dbb86518c26b62ed33c44ec330ca7e46606d1d", kill_on_drop: false }` [INFO] [stdout] 0d993e1da450a5f5b9d0746650dbb86518c26b62ed33c44ec330ca7e46606d1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eff809ecf63aaf2e706f706e778e6a6c220913d2744196c7753a34d61167eb90 [INFO] running `Command { std: "docker" "start" "-a" "eff809ecf63aaf2e706f706e778e6a6c220913d2744196c7753a34d61167eb90", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling delegate v0.5.1 [INFO] [stderr] Compiling 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[E0599]: no variant or associated item named `seq` found for enum `Path` in the current scope [INFO] [stdout] --> src/bin/exploit.rs:219:33 [INFO] [stdout] | [INFO] [stdout] 206 | enum Path { [INFO] [stdout] | ------------ variant or associated item `seq` not found here [INFO] [stdout] ... [INFO] [stdout] 219 | alts.push(Path::seq(vec![path(infos, prev), Path::Edge((prev, ptr))])); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Path<_>` [INFO] [stdout] | help: there is a variant with a similar name (notice the capitalization): `Seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `seq` found for enum `Path` in the current scope [INFO] [stdout] --> src/bin/exploit.rs:223:33 [INFO] [stdout] | [INFO] [stdout] 206 | enum Path { [INFO] [stdout] | ------------ variant or associated item `seq` not found here [INFO] [stdout] ... [INFO] [stdout] 223 | alts.push(Path::seq(vec![path(infos, prev), Path::Edge((prev, ptr))])); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Path<_>` [INFO] [stdout] | help: there is a variant with a similar name (notice the capitalization): `Seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `seq` found for enum `Path` in the current scope [INFO] [stdout] --> src/bin/exploit.rs:225:26 [INFO] [stdout] | [INFO] [stdout] 206 | enum Path { [INFO] [stdout] | ------------ variant or associated item `seq` not found here [INFO] [stdout] ... [INFO] [stdout] 225 | return Path::seq(std::iter::once(Path::Alt(alts)).chain(seq.into_iter())); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Path<_>` [INFO] [stdout] | help: there is a variant with a similar name (notice the capitalization): `Seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `seq` found for enum `Path` in the current scope [INFO] [stdout] --> src/bin/exploit.rs:234:11 [INFO] [stdout] | [INFO] [stdout] 206 | enum Path { [INFO] [stdout] | ------------ variant or associated item `seq` not found here [INFO] [stdout] ... [INFO] [stdout] 234 | Path::seq(seq.into_iter()) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Path<_>` [INFO] [stdout] | help: there is a variant with a similar name (notice the capitalization): `Seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/exploit.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 281 | / match first.into_tail() { [INFO] [stdout] 282 | | Some((x, v)) => { [INFO] [stdout] 283 | | match x { [INFO] [stdout] 284 | | Seq(init) => ts.extend(init.into_iter()), [INFO] [stdout] ... | [INFO] [stdout] 287 | | Some((Seq(ts), v)) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Option` [INFO] [stdout] 288 | | } [INFO] [stdout] 289 | | None => None, [INFO] [stdout] 290 | | } [INFO] [stdout] | |_____________________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Option<(Path, T)>` [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 287 | return Some((Seq(ts), v)); [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/exploit.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 280 | / if let Some(first) = ts.pop() { [INFO] [stdout] 281 | | match first.into_tail() { [INFO] [stdout] 282 | | Some((x, v)) => { [INFO] [stdout] 283 | | match x { [INFO] [stdout] ... | [INFO] [stdout] 292 | | None [INFO] [stdout] | | ^^^^ expected `()`, found enum `Option` [INFO] [stdout] 293 | | } [INFO] [stdout] | |_________________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 292 | return None; [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/exploit.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 277 | / match self { [INFO] [stdout] 278 | | Edge(e) => Some((Seq(vec![]), e)), [INFO] [stdout] 279 | | Seq(mut ts) => { [INFO] [stdout] 280 | | if let Some(first) = ts.pop() { [INFO] [stdout] ... | [INFO] [stdout] 316 | /| match tail { [INFO] [stdout] 317 | || None => None, [INFO] [stdout] 318 | || Some(tail) => Some((Alt(all), tail)), [INFO] [stdout] 319 | || } [INFO] [stdout] | ||_________________^ expected `()`, found enum `Option` [INFO] [stdout] 320 | | } [INFO] [stdout] 321 | | } [INFO] [stdout] | |_____- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Option<(Path, T)>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 319 | }; [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 321 | }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 316 ~ return match tail { [INFO] [stdout] 317 | None => None, [INFO] [stdout] 318 | Some(tail) => Some((Alt(all), tail)), [INFO] [stdout] 319 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/exploit.rs:275:27 [INFO] [stdout] | [INFO] [stdout] 275 | fn into_tail(self) -> Option<(Self, T)> { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ expected enum `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(Path, T)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_head` found for enum `Path` in the current scope [INFO] [stdout] --> src/bin/exploit.rs:352:33 [INFO] [stdout] | [INFO] [stdout] 206 | enum Path { [INFO] [stdout] | ------------ method `into_head` not found for this [INFO] [stdout] ... [INFO] [stdout] 352 | match first.into_head() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Path<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/exploit.rs:360:29 [INFO] [stdout] | [INFO] [stdout] 352 | / match first.into_head() { [INFO] [stdout] 353 | | Some((v, x)) => { [INFO] [stdout] 354 | | let mut ts = Vec::new(); [INFO] [stdout] 355 | | match x { [INFO] [stdout] ... | [INFO] [stdout] 360 | | Some((v, Seq(ts))) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Option` [INFO] [stdout] 361 | | } [INFO] [stdout] 362 | | None => None, [INFO] [stdout] 363 | | } [INFO] [stdout] | |_____________________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Option<(_, Path<_>)>` [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 360 | return Some((v, Seq(ts))); [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/exploit.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 351 | / if let Some(first) = iter.next() { [INFO] [stdout] 352 | | match first.into_head() { [INFO] [stdout] 353 | | Some((v, x)) => { [INFO] [stdout] 354 | | let mut ts = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 365 | | None [INFO] [stdout] | | ^^^^ expected `()`, found enum `Option` [INFO] [stdout] 366 | | } [INFO] [stdout] | |_________________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 365 | return None; [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_head` found for enum `Path` in the current scope [INFO] [stdout] --> src/bin/exploit.rs:372:48 [INFO] [stdout] | [INFO] [stdout] 206 | enum Path { [INFO] [stdout] | ------------ method `into_head` not found for this [INFO] [stdout] ... [INFO] [stdout] 372 | if let Some((v, rest)) = t.into_head() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Path<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/exploit.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 347 | / match self { [INFO] [stdout] 348 | | Edge(e) => Some((e, Seq(vec![]))), [INFO] [stdout] 349 | | Seq(ts) => { [INFO] [stdout] 350 | | let mut iter = ts.into_iter(); [INFO] [stdout] ... | [INFO] [stdout] 389 | /| match head { [INFO] [stdout] 390 | || None => None, [INFO] [stdout] 391 | || Some(head) => Some((head, Alt(all))), [INFO] [stdout] 392 | || } [INFO] [stdout] | ||_________________^ expected `()`, found enum `Option` [INFO] [stdout] 393 | | } [INFO] [stdout] 394 | | } [INFO] [stdout] | |_____- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Option<(_, Path<_>)>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 392 | }; [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 394 | }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 389 ~ return match head { [INFO] [stdout] 390 | None => None, [INFO] [stdout] 391 | Some(head) => Some((head, Alt(all))), [INFO] [stdout] 392 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/exploit.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_iter` found for type parameter `I` in the current scope [INFO] [stdout] --> src/bin/exploit.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ method not found in `I` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/bin/exploit.rs:404:18 [INFO] [stdout] | [INFO] [stdout] 404 | match ts.len() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_iter` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/bin/exploit.rs:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | 1 => ts.into_iter().next().unwrap(), [INFO] [stdout] | ^^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `simplify` found for enum `Path` in the current scope [INFO] [stdout] --> src/bin/exploit.rs:641:18 [INFO] [stdout] | [INFO] [stdout] 206 | enum Path { [INFO] [stdout] | ------------ method `simplify` not found for this [INFO] [stdout] ... [INFO] [stdout] 641 | .simplify(); [INFO] [stdout] | ^^^^^^^^ method not found in `Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0401, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dr` due to 37 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eff809ecf63aaf2e706f706e778e6a6c220913d2744196c7753a34d61167eb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eff809ecf63aaf2e706f706e778e6a6c220913d2744196c7753a34d61167eb90", kill_on_drop: false }` [INFO] [stdout] eff809ecf63aaf2e706f706e778e6a6c220913d2744196c7753a34d61167eb90