[INFO] fetching crate gluon_completion 0.17.1... [INFO] checking gluon_completion-0.17.1 against master#a874956d940ecb3ed524b6176a171219ac4787ea for pr-76104 [INFO] extracting crate gluon_completion 0.17.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate gluon_completion 0.17.1 on toolchain a874956d940ecb3ed524b6176a171219ac4787ea [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate gluon_completion 0.17.1 [INFO] finished tweaking crates.io crate gluon_completion 0.17.1 [INFO] tweaked toml for crates.io crate gluon_completion 0.17.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75db9a2e8da8b8ed8ea66f0e56665631651e4cb3f6fd101bc1311f26b5ea1d30 [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" "75db9a2e8da8b8ed8ea66f0e56665631651e4cb3f6fd101bc1311f26b5ea1d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75db9a2e8da8b8ed8ea66f0e56665631651e4cb3f6fd101bc1311f26b5ea1d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75db9a2e8da8b8ed8ea66f0e56665631651e4cb3f6fd101bc1311f26b5ea1d30", kill_on_drop: false }` [INFO] [stdout] 75db9a2e8da8b8ed8ea66f0e56665631651e4cb3f6fd101bc1311f26b5ea1d30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8beaea5c0139d9a5331daa07bf26eea798d2785c1e30e544099fc2be6a5335c5 [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" "8beaea5c0139d9a5331daa07bf26eea798d2785c1e30e544099fc2be6a5335c5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling gluon_codegen v0.17.1 [INFO] [stderr] Checking gluon_base v0.17.1 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking gluon_check v0.17.1 [INFO] [stderr] Checking gluon_completion v0.17.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:155:68 [INFO] [stdout] | [INFO] [stdout] 155 | let unaliased = resolve::remove_aliases(&self.env, &mut NullInterner, typ.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:362:29 [INFO] [stdout] | [INFO] [stdout] 362 | ... &mut NullInterner, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:1306:72 [INFO] [stdout] | [INFO] [stdout] 1306 | ... let typ = resolve::remove_aliases(env, &mut NullInterner, typ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:1328:73 [INFO] [stdout] | [INFO] [stdout] 1328 | ... let typ = resolve::remove_aliases(&env, &mut NullInterner, typ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:1371:68 [INFO] [stdout] | [INFO] [stdout] 1371 | let typ = resolve::remove_aliases_cow(env, &mut NullInterner, typ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:1412:68 [INFO] [stdout] | [INFO] [stdout] 1412 | ... let typ = resolve::remove_aliases(env, &mut NullInterner, typ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.19.1 [INFO] [stderr] Compiling gluon_parser v0.17.1 [INFO] [stdout] error: couldn't read tests/support/../../../check/tests/support/mod.rs: No such file or directory (os error 2) [INFO] [stdout] --> tests/support/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | mod check_support; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/support/../../../check/tests/support/mod.rs: No such file or directory (os error 2) [INFO] [stdout] --> tests/support/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | mod check_support; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gluon_completion` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/support/../../../check/tests/support/mod.rs: No such file or directory (os error 2) [INFO] [stdout] --> tests/support/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | mod check_support; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/support/../../../check/tests/support/mod.rs: No such file or directory (os error 2) [INFO] [stdout] --> tests/support/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | mod check_support; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:155:68 [INFO] [stdout] | [INFO] [stdout] 155 | let unaliased = resolve::remove_aliases(&self.env, &mut NullInterner, typ.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:362:29 [INFO] [stdout] | [INFO] [stdout] 362 | ... &mut NullInterner, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:1306:72 [INFO] [stdout] | [INFO] [stdout] 1306 | ... let typ = resolve::remove_aliases(env, &mut NullInterner, typ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:1328:73 [INFO] [stdout] | [INFO] [stdout] 1328 | ... let typ = resolve::remove_aliases(&env, &mut NullInterner, typ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:1371:68 [INFO] [stdout] | [INFO] [stdout] 1371 | let typ = resolve::remove_aliases_cow(env, &mut NullInterner, typ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:1412:68 [INFO] [stdout] | [INFO] [stdout] 1412 | ... let typ = resolve::remove_aliases(env, &mut NullInterner, typ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gluon_base-0.17.1/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8beaea5c0139d9a5331daa07bf26eea798d2785c1e30e544099fc2be6a5335c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8beaea5c0139d9a5331daa07bf26eea798d2785c1e30e544099fc2be6a5335c5", kill_on_drop: false }` [INFO] [stdout] 8beaea5c0139d9a5331daa07bf26eea798d2785c1e30e544099fc2be6a5335c5