[INFO] fetching crate gluon_base 0.17.1... [INFO] checking gluon_base-0.17.1 against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] extracting crate gluon_base 0.17.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate gluon_base 0.17.1 on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fa22b0978ea44c991b870a1b1ba85d4c2195203f0fd7ff2813b19aebea41c99 [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" "0fa22b0978ea44c991b870a1b1ba85d4c2195203f0fd7ff2813b19aebea41c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fa22b0978ea44c991b870a1b1ba85d4c2195203f0fd7ff2813b19aebea41c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fa22b0978ea44c991b870a1b1ba85d4c2195203f0fd7ff2813b19aebea41c99", kill_on_drop: false }` [INFO] [stdout] 0fa22b0978ea44c991b870a1b1ba85d4c2195203f0fd7ff2813b19aebea41c99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efb60266e6ad4968ba2f9e03a9a78d57f299e0fc609d3ccd0d2ae0d5587ea00b [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" "efb60266e6ad4968ba2f9e03a9a78d57f299e0fc609d3ccd0d2ae0d5587ea00b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling gluon_codegen v0.17.2 [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: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: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: 5 warnings emitted [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: 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 29.19s [INFO] running `Command { std: "docker" "inspect" "efb60266e6ad4968ba2f9e03a9a78d57f299e0fc609d3ccd0d2ae0d5587ea00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efb60266e6ad4968ba2f9e03a9a78d57f299e0fc609d3ccd0d2ae0d5587ea00b", kill_on_drop: false }` [INFO] [stdout] efb60266e6ad4968ba2f9e03a9a78d57f299e0fc609d3ccd0d2ae0d5587ea00b