[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbuchli%2Fkern" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lbuchli/kern on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg v0.6.2 [INFO] [stderr] Downloaded peg-macros v0.6.2 [INFO] [stderr] Downloaded peg-runtime v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a20e6e05fe9f61c975a6d5aa5a29c08a22e8e2748673f0ca3d8c240c3f9d94af [INFO] running `Command { std: "docker" "start" "-a" "a20e6e05fe9f61c975a6d5aa5a29c08a22e8e2748673f0ca3d8c240c3f9d94af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a20e6e05fe9f61c975a6d5aa5a29c08a22e8e2748673f0ca3d8c240c3f9d94af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a20e6e05fe9f61c975a6d5aa5a29c08a22e8e2748673f0ca3d8c240c3f9d94af", kill_on_drop: false }` [INFO] [stdout] a20e6e05fe9f61c975a6d5aa5a29c08a22e8e2748673f0ca3d8c240c3f9d94af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0a2d8ebbc4589d606809ece8edd9479df16c01d61116ee48f3fbb557de9c454 [INFO] running `Command { std: "docker" "start" "-a" "e0a2d8ebbc4589d606809ece8edd9479df16c01d61116ee48f3fbb557de9c454", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [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 `Ref<'_, HNode<'_>>`, found `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 `Ref<'_, HNode<'_>>`, found `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 `&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 `&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 `&NodeBox<'a>` [INFO] [stdout] | | [INFO] [stdout] | method `get` is available on `&[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 `&NodeBox<'a>` [INFO] [stdout] | | [INFO] [stdout] | method `get` is available on `&[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 struct [INFO] [stdout] ... [INFO] [stdout] 72 | spine_stack.push(left.get()); [INFO] [stdout] | ^^^ method not found in `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 struct [INFO] [stdout] ... [INFO] [stdout] 72 | spine_stack.push(left.get()); [INFO] [stdout] | ^^^ method not found in `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 struct [INFO] [stdout] ... [INFO] [stdout] 91 | if let HNode::Number(a) = right_a.get() { [INFO] [stdout] | ^^^ method not found in `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 struct [INFO] [stdout] ... [INFO] [stdout] 91 | if let HNode::Number(a) = right_a.get() { [INFO] [stdout] | ^^^ method not found in `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 struct [INFO] [stdout] ... [INFO] [stdout] 95 | if let HNode::Number(b) = right_b.get() { [INFO] [stdout] | ^^^ method not found in `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 struct [INFO] [stdout] ... [INFO] [stdout] 95 | if let HNode::Number(b) = right_b.get() { [INFO] [stdout] | ^^^ method not found in `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[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | stack: vec![NodeBox::new(HNode::SuperCombinator("main"))], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | stack: vec![NodeBox::new(HNode::SuperCombinator("main"))], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | locals.insert(arg, NodeBox::new(HNode::Number(42))); // TODO what to put here? I'm afraid 42 isn't the answer... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | locals.insert(arg, NodeBox::new(HNode::Number(42))); // TODO what to put here? I'm afraid 42 isn't the answer... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(NodeBox::new(HNode::PrimitiveFn(&name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(NodeBox::new(HNode::PrimitiveFn(&name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(NodeBox::new(HNode::SuperCombinator(&name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(NodeBox::new(HNode::SuperCombinator(&name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | Expr::Number(n) => Ok(NodeBox::new(HNode::Number(n))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | Expr::Number(n) => Ok(NodeBox::new(HNode::Number(n))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | Expr::Application(a, b) => Ok(NodeBox::new(HNode::Application( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 57 | | parse_expr(*a, locals.clone())?, [INFO] [stdout] 58 | | parse_expr(*b, locals.clone())?, [INFO] [stdout] 59 | | ))), [INFO] [stdout] | |__________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `reducer::NodeBox::<'a>::new` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/compiler.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | Expr::Application(a, b) => Ok(NodeBox::new(HNode::Application( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 57 | | parse_expr(*a, locals.clone())?, [INFO] [stdout] 58 | | parse_expr(*b, locals.clone())?, [INFO] [stdout] 59 | | ))), [INFO] [stdout] | |__________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `name` [INFO] [stdout] --> src/compiler.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(NodeBox::new(HNode::PrimitiveFn(&name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `name` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `name` [INFO] [stdout] --> src/compiler.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(NodeBox::new(HNode::SuperCombinator(&name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `name` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `name` [INFO] [stdout] --> src/compiler.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(NodeBox::new(HNode::PrimitiveFn(&name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `name` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `name` [INFO] [stdout] --> src/compiler.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(NodeBox::new(HNode::SuperCombinator(&name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `name` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0308, E0515, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0308, E0515, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kern` (bin "kern") due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kern` (bin "kern" test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "e0a2d8ebbc4589d606809ece8edd9479df16c01d61116ee48f3fbb557de9c454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0a2d8ebbc4589d606809ece8edd9479df16c01d61116ee48f3fbb557de9c454", kill_on_drop: false }` [INFO] [stdout] e0a2d8ebbc4589d606809ece8edd9479df16c01d61116ee48f3fbb557de9c454 [INFO] checking lbuchli/kern against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbuchli%2Fkern" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lbuchli/kern on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cab1d3cdbee1776533f7d3b5311cba964de296ba8ea05ed69d55119515bf9dfb [INFO] running `Command { std: "docker" "start" "-a" "cab1d3cdbee1776533f7d3b5311cba964de296ba8ea05ed69d55119515bf9dfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cab1d3cdbee1776533f7d3b5311cba964de296ba8ea05ed69d55119515bf9dfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab1d3cdbee1776533f7d3b5311cba964de296ba8ea05ed69d55119515bf9dfb", kill_on_drop: false }` [INFO] [stdout] cab1d3cdbee1776533f7d3b5311cba964de296ba8ea05ed69d55119515bf9dfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdc2dfc95d9d68c4c842c4edfd7f4c5a00ff92afb606cdc2a4490e7af3ac0fdf [INFO] running `Command { std: "docker" "start" "-a" "fdc2dfc95d9d68c4c842c4edfd7f4c5a00ff92afb606cdc2a4490e7af3ac0fdf", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "fdc2dfc95d9d68c4c842c4edfd7f4c5a00ff92afb606cdc2a4490e7af3ac0fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc2dfc95d9d68c4c842c4edfd7f4c5a00ff92afb606cdc2a4490e7af3ac0fdf", kill_on_drop: false }` [INFO] [stdout] fdc2dfc95d9d68c4c842c4edfd7f4c5a00ff92afb606cdc2a4490e7af3ac0fdf