[INFO] cloning repository https://github.com/lbuchli/kern [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lbuchli/kern" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbuchli%2Fkern", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbuchli%2Fkern'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5131614d360f2137997e18587f755da59d395311 [INFO] checking lbuchli/kern against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbuchli%2Fkern" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lbuchli/kern on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lbuchli/kern [INFO] finished tweaking git repo https://github.com/lbuchli/kern [INFO] tweaked toml for git repo https://github.com/lbuchli/kern written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/lbuchli/kern already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44fac5641f5debc8060c1e2dc026b63e3a6b0f5350f6de82a94be13c5c0951df [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" "44fac5641f5debc8060c1e2dc026b63e3a6b0f5350f6de82a94be13c5c0951df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44fac5641f5debc8060c1e2dc026b63e3a6b0f5350f6de82a94be13c5c0951df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44fac5641f5debc8060c1e2dc026b63e3a6b0f5350f6de82a94be13c5c0951df", kill_on_drop: false }` [INFO] [stdout] 44fac5641f5debc8060c1e2dc026b63e3a6b0f5350f6de82a94be13c5c0951df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=forbid" "-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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfa8a2f8aedfc37656727ffef420473c51810fc9fa9fdc77a7b85987bcfa77c4 [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" "bfa8a2f8aedfc37656727ffef420473c51810fc9fa9fdc77a7b85987bcfa77c4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling peg-runtime v0.6.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling peg-macros v0.6.2 [INFO] [stderr] Checking peg v0.6.2 [INFO] [stderr] Checking kern v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/reducer.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | if let HNode::Application(ref left, _) = *last { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----- this expression has type `Ref<'_, reducer::HNode<'_>>` [INFO] [stdout] | | [INFO] [stdout] | expected struct `Ref`, found enum `reducer::HNode` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Ref<'_, reducer::HNode<'_>, >` [INFO] [stdout] found enum `reducer::HNode<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/reducer.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | if let HNode::Application(ref left, _) = *last { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----- this expression has type `Ref<'_, reducer::HNode<'_>>` [INFO] [stdout] | | [INFO] [stdout] | expected struct `Ref`, found enum `reducer::HNode` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Ref<'_, reducer::HNode<'_>, >` [INFO] [stdout] found enum `reducer::HNode<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for reference `&reducer::NodeBox<'_>` in the current scope [INFO] [stdout] --> src/reducer.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 60 | spine_stack.push(left.get()); [INFO] [stdout] | ^^^ method not found in `&reducer::NodeBox<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for reference `&reducer::NodeBox<'_>` in the current scope [INFO] [stdout] --> src/reducer.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 60 | spine_stack.push(left.get()); [INFO] [stdout] | ^^^ method not found in `&reducer::NodeBox<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for reference `&reducer::NodeBox<'a>` in the current scope [INFO] [stdout] --> src/reducer.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | let mut spine_stack = vec![self.stack.first().unwrap().get()]; [INFO] [stdout] | ^^^ method not found in `&reducer::NodeBox<'a>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for reference `&reducer::NodeBox<'a>` in the current scope [INFO] [stdout] --> src/reducer.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | let mut spine_stack = vec![self.stack.first().unwrap().get()]; [INFO] [stdout] | ^^^ method not found in `&reducer::NodeBox<'a>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `reducer::NodeBox<'_>` in the current scope [INFO] [stdout] --> src/reducer.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NodeBox<'a>(Rc>>); [INFO] [stdout] | ----------------------------------------------- method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 72 | spine_stack.push(left.get()); [INFO] [stdout] | ^^^ method not found in `reducer::NodeBox<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `reducer::NodeBox<'_>` in the current scope [INFO] [stdout] --> src/reducer.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NodeBox<'a>(Rc>>); [INFO] [stdout] | ----------------------------------------------- method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 72 | spine_stack.push(left.get()); [INFO] [stdout] | ^^^ method not found in `reducer::NodeBox<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `reducer::NodeBox<'_>` in the current scope [INFO] [stdout] --> src/reducer.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NodeBox<'a>(Rc>>); [INFO] [stdout] | ----------------------------------------------- method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 91 | if let HNode::Number(a) = right_a.get() { [INFO] [stdout] | ^^^ method not found in `reducer::NodeBox<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `reducer::NodeBox<'_>` in the current scope [INFO] [stdout] --> src/reducer.rs:95:67 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NodeBox<'a>(Rc>>); [INFO] [stdout] | ----------------------------------------------- method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 95 | if let HNode::Number(b) = right_b.get() { [INFO] [stdout] | ^^^ method not found in `reducer::NodeBox<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `reducer::NodeBox<'_>` in the current scope [INFO] [stdout] --> src/reducer.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NodeBox<'a>(Rc>>); [INFO] [stdout] | ----------------------------------------------- method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 91 | if let HNode::Number(a) = right_a.get() { [INFO] [stdout] | ^^^ method not found in `reducer::NodeBox<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `reducer::NodeBox<'_>` in the current scope [INFO] [stdout] --> src/reducer.rs:95:67 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NodeBox<'a>(Rc>>); [INFO] [stdout] | ----------------------------------------------- method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 95 | if let HNode::Number(b) = right_b.get() { [INFO] [stdout] | ^^^ method not found in `reducer::NodeBox<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kern` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bfa8a2f8aedfc37656727ffef420473c51810fc9fa9fdc77a7b85987bcfa77c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa8a2f8aedfc37656727ffef420473c51810fc9fa9fdc77a7b85987bcfa77c4", kill_on_drop: false }` [INFO] [stdout] bfa8a2f8aedfc37656727ffef420473c51810fc9fa9fdc77a7b85987bcfa77c4