[INFO] cloning repository https://github.com/jlusty/jit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlusty/jit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlusty%2Fjit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlusty%2Fjit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed8584fafcf5b1c7b8abfccf49910db77e0fc430 [INFO] checking jlusty/jit against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlusty%2Fjit" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jlusty/jit 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/jlusty/jit [INFO] finished tweaking git repo https://github.com/jlusty/jit [INFO] tweaked toml for git repo https://github.com/jlusty/jit written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jlusty/jit 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha-1 v0.9.1 [INFO] [stderr] Downloaded cpuid-bool v0.1.2 [INFO] [stderr] Downloaded hex v0.4.2 [INFO] [stderr] Downloaded structopt-derive v0.4.10 [INFO] [stderr] Downloaded miniz_oxide v0.4.0 [INFO] [stderr] Downloaded flate2 v1.0.17 [INFO] [stderr] Downloaded structopt v0.3.17 [INFO] [stderr] Downloaded syn v1.0.38 [INFO] [stderr] Downloaded libc v0.2.74 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57d5f70c3042ea9e850cbb525e01b673987bdaa11ac1c8036daf62ccc657324c [INFO] running `Command { std: "docker" "start" "-a" "57d5f70c3042ea9e850cbb525e01b673987bdaa11ac1c8036daf62ccc657324c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57d5f70c3042ea9e850cbb525e01b673987bdaa11ac1c8036daf62ccc657324c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57d5f70c3042ea9e850cbb525e01b673987bdaa11ac1c8036daf62ccc657324c", kill_on_drop: false }` [INFO] [stdout] 57d5f70c3042ea9e850cbb525e01b673987bdaa11ac1c8036daf62ccc657324c [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=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] ca3ebe71e5b23ffcd4747af9a1cb9ed04b4f60900b7c24dcf75858e641ca4401 [INFO] running `Command { std: "docker" "start" "-a" "ca3ebe71e5b23ffcd4747af9a1cb9ed04b4f60900b7c24dcf75858e641ca4401", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Checking structopt v0.3.17 [INFO] [stderr] Checking jit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected value, found module `entry` [INFO] [stdout] --> src/index.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | for parent in entry.name().ancestors() { [INFO] [stdout] | ^^^^^- help: use the path separator to refer to an item: `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `entry` [INFO] [stdout] --> src/index.rs:205:38 [INFO] [stdout] | [INFO] [stdout] 205 | child_set.remove(entry.name().as_os_str().to_owned()) [INFO] [stdout] | ^^^^^- help: use the path separator to refer to an item: `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `entry` [INFO] [stdout] --> src/index.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | for parent in entry.name().ancestors() { [INFO] [stdout] | ^^^^^- help: use the path separator to refer to an item: `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `entry` [INFO] [stdout] --> src/index.rs:205:38 [INFO] [stdout] | [INFO] [stdout] 205 | child_set.remove(entry.name().as_os_str().to_owned()) [INFO] [stdout] | ^^^^^- help: use the path separator to refer to an item: `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 0 fields, but the corresponding tuple variant has 1 field [INFO] [stdout] --> src/index.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | EntryApi::Vacant() => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 1 field, found 0 [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/collections/hash/map.rs:2087:58 [INFO] [stdout] | [INFO] [stdout] = note: tuple variant has 1 field [INFO] [stdout] | [INFO] [stdout] help: use `_` to explicitly ignore each field [INFO] [stdout] | [INFO] [stdout] 207 | EntryApi::Vacant(_) => {} [INFO] [stdout] | + [INFO] [stdout] help: use `..` to ignore all fields [INFO] [stdout] | [INFO] [stdout] 207 | EntryApi::Vacant(..) => {} [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 0 fields, but the corresponding tuple variant has 1 field [INFO] [stdout] --> src/index.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | EntryApi::Vacant() => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 1 field, found 0 [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/collections/hash/map.rs:2087:58 [INFO] [stdout] | [INFO] [stdout] = note: tuple variant has 1 field [INFO] [stdout] | [INFO] [stdout] help: use `_` to explicitly ignore each field [INFO] [stdout] | [INFO] [stdout] 207 | EntryApi::Vacant(_) => {} [INFO] [stdout] | + [INFO] [stdout] help: use `..` to ignore all fields [INFO] [stdout] | [INFO] [stdout] 207 | EntryApi::Vacant(..) => {} [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/index.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | child_set.remove(entry.name().as_os_str().to_owned()) [INFO] [stdout] | ^^^^^^ ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/collections/hash/map.rs:2973:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/index.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | child_set.remove(entry.name().as_os_str().to_owned()) [INFO] [stdout] | ^^^^^^ ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/collections/hash/map.rs:2973:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/index.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 203 | / match child_set { [INFO] [stdout] 204 | | EntryApi::Occupied(child_set) => { [INFO] [stdout] 205 | | child_set.remove(entry.name().as_os_str().to_owned()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `HashSet` [INFO] [stdout] 206 | | } [INFO] [stdout] 207 | | EntryApi::Vacant() => {} [INFO] [stdout] 208 | | } [INFO] [stdout] | |_____________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `HashSet` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 205 | child_set.remove(entry.name().as_os_str().to_owned()); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 208 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/index.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 203 | / match child_set { [INFO] [stdout] 204 | | EntryApi::Occupied(child_set) => { [INFO] [stdout] 205 | | child_set.remove(entry.name().as_os_str().to_owned()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `HashSet` [INFO] [stdout] 206 | | } [INFO] [stdout] 207 | | EntryApi::Vacant() => {} [INFO] [stdout] 208 | | } [INFO] [stdout] | |_____________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `HashSet` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 205 | child_set.remove(entry.name().as_os_str().to_owned()); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 208 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/index.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 186 | let children = self.parents.get(path); [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 189 | for child in children { [INFO] [stdout] | -------- immutable borrow later used here [INFO] [stdout] 190 | self.remove_entry(child) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/index.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 186 | let children = self.parents.get(path); [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 189 | for child in children { [INFO] [stdout] | -------- immutable borrow later used here [INFO] [stdout] 190 | self.remove_entry(child) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0061, E0308, E0423, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jit` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0061, E0308, E0423, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jit` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "ca3ebe71e5b23ffcd4747af9a1cb9ed04b4f60900b7c24dcf75858e641ca4401", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3ebe71e5b23ffcd4747af9a1cb9ed04b4f60900b7c24dcf75858e641ca4401", kill_on_drop: false }` [INFO] [stdout] ca3ebe71e5b23ffcd4747af9a1cb9ed04b4f60900b7c24dcf75858e641ca4401