[INFO] updating cached repository https://github.com/agalakhov/nc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22019f497a9f4ae5cae4665e2ce95fb67fe7d7a1 [INFO] testing agalakhov/nc against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagalakhov%2Fnc" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agalakhov/nc on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/agalakhov/nc [INFO] finished tweaking git repo https://github.com/agalakhov/nc [INFO] tweaked toml for git repo https://github.com/agalakhov/nc written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/agalakhov/nc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cf151c9543487ab46ded5d62b6c0ef37e2296288c88372d92e3766f0dd069f1 [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" "5cf151c9543487ab46ded5d62b6c0ef37e2296288c88372d92e3766f0dd069f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cf151c9543487ab46ded5d62b6c0ef37e2296288c88372d92e3766f0dd069f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf151c9543487ab46ded5d62b6c0ef37e2296288c88372d92e3766f0dd069f1", kill_on_drop: false }` [INFO] [stdout] 5cf151c9543487ab46ded5d62b6c0ef37e2296288c88372d92e3766f0dd069f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=forbid" "-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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 180abf7d767b7c932b3c910e2b3ba47e2ecfbbd75c26e03556089c80fcee217d [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" "180abf7d767b7c932b3c910e2b3ba47e2ecfbbd75c26e03556089c80fcee217d", kill_on_drop: false }` [INFO] [stderr] Compiling nc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | Expr::Add(box Expr::Val a, box b) if a == 0.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | Expr::Add(box b, box Expr::Val a) if a == 0.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | Expr::Mul(box Expr::Val a, _) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | Expr::Mul(box Expr::Val a, box b) if a == 1.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | Expr::Mul(box b, box Expr::Val a) if a == 1.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 31 | Expr::Add(box Expr::Val a, box b) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 32 | Expr::Add(box b, box Expr::Val a) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 35 | Expr::Mul(box Expr::Val a, _) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 36 | Expr::Mul(_, box Expr::Val) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/expr.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | Expr::Mul(_, box Expr::Val) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 37 | Expr::Mul(box Expr::Val a, box b) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 38 | Expr::Mul(box b, box Expr::Val a) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 7 | Add(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 31 | Expr::Add(box Expr::Val a, box b) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 7 | Add(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 32 | Expr::Add(box b, box Expr::Val a) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 8 | Mul(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 35 | Expr::Mul(box Expr::Val a, _) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 8 | Mul(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 37 | Expr::Mul(box Expr::Val a, box b) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 8 | Mul(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 38 | Expr::Mul(box b, box Expr::Val a) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0425, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "180abf7d767b7c932b3c910e2b3ba47e2ecfbbd75c26e03556089c80fcee217d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "180abf7d767b7c932b3c910e2b3ba47e2ecfbbd75c26e03556089c80fcee217d", kill_on_drop: false }` [INFO] [stdout] 180abf7d767b7c932b3c910e2b3ba47e2ecfbbd75c26e03556089c80fcee217d