[INFO] fetching crate gluon_base 0.17.1... [INFO] checking gluon_base-0.17.1 against master#d62d3f7fa9a91d933213cc10e20e740608983f64 for pr-77015 [INFO] extracting crate gluon_base 0.17.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate gluon_base 0.17.1 on toolchain d62d3f7fa9a91d933213cc10e20e740608983f64 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate gluon_base 0.17.1 [INFO] finished tweaking crates.io crate gluon_base 0.17.1 [INFO] tweaked toml for crates.io crate gluon_base 0.17.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4992882386d078caba9bc430488bc8f5adfe5114340f425f86f6f99ad0f07035 [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" "4992882386d078caba9bc430488bc8f5adfe5114340f425f86f6f99ad0f07035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4992882386d078caba9bc430488bc8f5adfe5114340f425f86f6f99ad0f07035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4992882386d078caba9bc430488bc8f5adfe5114340f425f86f6f99ad0f07035", kill_on_drop: false }` [INFO] [stdout] 4992882386d078caba9bc430488bc8f5adfe5114340f425f86f6f99ad0f07035 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 447d98a24618aef557d71cd0c6b4911fdbc47894ef6c51a7e0fd2aaab1ea7f04 [INFO] running `Command { std: "docker" "start" "-a" "447d98a24618aef557d71cd0c6b4911fdbc47894ef6c51a7e0fd2aaab1ea7f04", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling gluon_codegen v0.17.1 [INFO] [stderr] Checking gluon_base v0.17.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/ast.rs:1150:49 [INFO] [stdout] | [INFO] [stdout] 1150 | let function_type = remove_aliases_cow(env, &mut NullInterner, alias_type); [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] --> 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/ast.rs:1150:49 [INFO] [stdout] | [INFO] [stdout] 1150 | let function_type = remove_aliases_cow(env, &mut NullInterner, alias_type); [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] --> 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/types/mod.rs:1134:9 [INFO] [stdout] | [INFO] [stdout] 1134 | NullInterner.tuple_(symbols, elems) [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: mutable reference created due to call to this method [INFO] [stdout] --> src/types/mod.rs:3593:5 [INFO] [stdout] | [INFO] [stdout] 3593 | / fn tuple_(&mut self, symbols: &mut S, elems: I) -> Type [INFO] [stdout] 3594 | | where [INFO] [stdout] 3595 | | S: ?Sized + IdentEnv, [INFO] [stdout] 3596 | | T::SpannedId: From, [INFO] [stdout] 3597 | | I: IntoIterator, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> 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/types/mod.rs:1134:9 [INFO] [stdout] | [INFO] [stdout] 1134 | NullInterner.tuple_(symbols, elems) [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: mutable reference created due to call to this method [INFO] [stdout] --> src/types/mod.rs:3593:5 [INFO] [stdout] | [INFO] [stdout] 3593 | / fn tuple_(&mut self, symbols: &mut S, elems: I) -> Type [INFO] [stdout] 3594 | | where [INFO] [stdout] 3595 | | S: ?Sized + IdentEnv, [INFO] [stdout] 3596 | | T::SpannedId: From, [INFO] [stdout] 3597 | | I: IntoIterator, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> 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/types/mod.rs:3233:9 [INFO] [stdout] | [INFO] [stdout] 3233 | &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] --> 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/types/mod.rs:3233:9 [INFO] [stdout] | [INFO] [stdout] 3233 | &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] --> 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/types/mod.rs:4270:9 [INFO] [stdout] | [INFO] [stdout] 4270 | &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] --> 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/types/mod.rs:4307:9 [INFO] [stdout] | [INFO] [stdout] 4307 | &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] --> 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/types/mod.rs:4270:9 [INFO] [stdout] | [INFO] [stdout] 4270 | &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] --> 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/types/mod.rs:4307:9 [INFO] [stdout] | [INFO] [stdout] 4307 | &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] --> src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/types.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | &mut NullInterner, [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/workdir/src/types/mod.rs:3825:1 [INFO] [stdout] | [INFO] [stdout] 3825 | pub const NullInterner: NullInterner = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.09s [INFO] running `Command { std: "docker" "inspect" "447d98a24618aef557d71cd0c6b4911fdbc47894ef6c51a7e0fd2aaab1ea7f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "447d98a24618aef557d71cd0c6b4911fdbc47894ef6c51a7e0fd2aaab1ea7f04", kill_on_drop: false }` [INFO] [stdout] 447d98a24618aef557d71cd0c6b4911fdbc47894ef6c51a7e0fd2aaab1ea7f04