[INFO] updating cached repository https://github.com/museun/rcc [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] 8d53bc74192718a2c9dddf1ad8648da5eb7f5a91 [INFO] checking museun/rcc against try#0ab79c4b48ad19260fa46623f452c1b403a360e8 for pr-74315 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Frcc" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/museun/rcc on toolchain 0ab79c4b48ad19260fa46623f452c1b403a360e8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/museun/rcc [INFO] finished tweaking git repo https://github.com/museun/rcc [INFO] tweaked toml for git repo https://github.com/museun/rcc written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/museun/rcc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8517b2dfdd1a090d3f633275b3679008e4262e1ab0bcb203386a595ee791977a [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" "8517b2dfdd1a090d3f633275b3679008e4262e1ab0bcb203386a595ee791977a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8517b2dfdd1a090d3f633275b3679008e4262e1ab0bcb203386a595ee791977a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8517b2dfdd1a090d3f633275b3679008e4262e1ab0bcb203386a595ee791977a", kill_on_drop: false }` [INFO] [stdout] 8517b2dfdd1a090d3f633275b3679008e4262e1ab0bcb203386a595ee791977a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe6c5003eb671218cfc5194581f32d77c42fae9a911ed42f30967cd3149f0715 [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" "fe6c5003eb671218cfc5194581f32d77c42fae9a911ed42f30967cd3149f0715", kill_on_drop: false }` [INFO] [stderr] Compiling rcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> build.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / writeln!( [INFO] [stdout] 36 | | f, [INFO] [stdout] 37 | | r###"#[test] [INFO] [stdout] 38 | | fn test_{:04}() {{ [INFO] [stdout] ... | [INFO] [stdout] 46 | | n, source, expected, n, n [INFO] [stdout] 47 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> build.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | write!(f, "{}", "// nothing to see here"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `=>`, `?`, or an operator, found `{` [INFO] [stdout] --> src/kind.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | Some(val) if **val == Node::Noop {} => false, [INFO] [stdout] | ^ expected one of `!`, `.`, `::`, `=>`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cyclomatic_complexity` [INFO] [stdout] --> src/semantics.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(cyclomatic_complexity)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `=>`, `?`, or an operator, found `{` [INFO] [stdout] --> src/kind.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | Some(val) if **val == Node::Noop {} => false, [INFO] [stdout] | ^ expected one of `!`, `.`, `::`, `=>`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cyclomatic_complexity` [INFO] [stdout] --> src/semantics.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(cyclomatic_complexity)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | ... '0'...'7' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | '0'...'3' => Some(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/semantics.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn analyze(nodes: &mut [Node]) -> (&mut [Node]) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | ... '0'...'7' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | '0'...'3' => Some(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/semantics.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn analyze(nodes: &mut [Node]) -> (&mut [Node]) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rcc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fe6c5003eb671218cfc5194581f32d77c42fae9a911ed42f30967cd3149f0715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe6c5003eb671218cfc5194581f32d77c42fae9a911ed42f30967cd3149f0715", kill_on_drop: false }` [INFO] [stdout] fe6c5003eb671218cfc5194581f32d77c42fae9a911ed42f30967cd3149f0715