[INFO] cloning repository https://github.com/slightknack/flex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slightknack/flex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslightknack%2Fflex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslightknack%2Fflex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed03c457274268946ede5f1f42535c34298d4dd9 [INFO] checking slightknack/flex against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslightknack%2Fflex" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/slightknack/flex [INFO] finished tweaking git repo https://github.com/slightknack/flex [INFO] tweaked toml for git repo https://github.com/slightknack/flex written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/slightknack/flex on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/slightknack/flex 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded attorand v1.0.1 [INFO] [stderr] Downloaded libc v0.2.108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f836fbaf517621073f1bbdd35c71aa5713603891ca36f828ec605e78bcbda1ce [INFO] running `Command { std: "docker" "start" "-a" "f836fbaf517621073f1bbdd35c71aa5713603891ca36f828ec605e78bcbda1ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f836fbaf517621073f1bbdd35c71aa5713603891ca36f828ec605e78bcbda1ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f836fbaf517621073f1bbdd35c71aa5713603891ca36f828ec605e78bcbda1ce", kill_on_drop: false }` [INFO] [stdout] f836fbaf517621073f1bbdd35c71aa5713603891ca36f828ec605e78bcbda1ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9072d92046ce825ef4385d694604f52cc9933789a28ff2fd8ed8f885d9fbc3be [INFO] running `Command { std: "docker" "start" "-a" "9072d92046ce825ef4385d694604f52cc9933789a28ff2fd8ed8f885d9fbc3be", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking attorand v1.0.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking flex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `->`, `where`, or `{`, found keyword `pub` [INFO] [stdout] --> src/heap/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 15 | impl Heap { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn write_slot(&self, pointer: Pointer, slots: usize) [INFO] [stdout] | - expected one of `->`, `where`, or `{` [INFO] [stdout] 121 | [INFO] [stdout] 122 | pub fn write( [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] ... [INFO] [stdout] 137 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `->`, `where`, or `{`, found keyword `pub` [INFO] [stdout] --> src/heap/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 15 | impl Heap { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn write_slot(&self, pointer: Pointer, slots: usize) [INFO] [stdout] | - expected one of `->`, `where`, or `{` [INFO] [stdout] 121 | [INFO] [stdout] 122 | pub fn write( [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] ... [INFO] [stdout] 137 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap` and `BTreeSet` [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Pointer` [INFO] [stdout] --> src/code.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap` and `BTreeSet` [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Pointer` [INFO] [stdout] --> src/code.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `free` found for mutable reference `&mut Heap` in the current scope [INFO] [stdout] --> src/heap/mod.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | self.free(pointer, old); [INFO] [stdout] | ^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 96 - self.free(pointer, old); [INFO] [stdout] 96 + self.free; [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 96 | self.free.free(pointer, old); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `free` found for mutable reference `&mut heap::Heap` in the current scope [INFO] [stdout] --> src/heap/mod.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | self.free(pointer, old); [INFO] [stdout] | ^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 96 - self.free(pointer, old); [INFO] [stdout] 96 + self.free; [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 96 | self.free.free(pointer, old); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `free` found for mutable reference `&mut heap::Heap` in the current scope [INFO] [stdout] --> src/heap/mod.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | self.free(pointer.add(new as u64), old - new); [INFO] [stdout] | ^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 100 - self.free(pointer.add(new as u64), old - new); [INFO] [stdout] 100 + self.free; [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 100 | self.free.free(pointer.add(new as u64), old - new); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `free` found for mutable reference `&mut Heap` in the current scope [INFO] [stdout] --> src/heap/mod.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | self.free(pointer.add(new as u64), old - new); [INFO] [stdout] | ^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 100 - self.free(pointer.add(new as u64), old - new); [INFO] [stdout] 100 + self.free; [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 100 | self.free.free(pointer.add(new as u64), old - new); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `free` found for struct `heap::Heap` in the current scope [INFO] [stdout] --> src/heap/mod.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Heap { [INFO] [stdout] | --------------- method `free` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 175 | heap.free(*to_modify, *old_size); [INFO] [stdout] | ^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 175 - heap.free(*to_modify, *old_size); [INFO] [stdout] 175 + heap.free; [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 175 | heap.free.free(*to_modify, *old_size); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 159 | _ => todo!("not yep implemented"), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 172 | PointerIsOwned => { }, [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 159 | _ => todo!("not yep implemented"), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 172 | PointerIsOwned => { }, [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flex` (bin "flex" test) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `flex` (bin "flex") due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9072d92046ce825ef4385d694604f52cc9933789a28ff2fd8ed8f885d9fbc3be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9072d92046ce825ef4385d694604f52cc9933789a28ff2fd8ed8f885d9fbc3be", kill_on_drop: false }` [INFO] [stdout] 9072d92046ce825ef4385d694604f52cc9933789a28ff2fd8ed8f885d9fbc3be