[INFO] fetching crate gluon_base 0.17.1... [INFO] checking gluon_base-0.17.1 against try#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [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 b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "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" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "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" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32cb250171903d6bad49ba7d7f02a850b84f37605069369757b6e5e0939dbd4d [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" "32cb250171903d6bad49ba7d7f02a850b84f37605069369757b6e5e0939dbd4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32cb250171903d6bad49ba7d7f02a850b84f37605069369757b6e5e0939dbd4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32cb250171903d6bad49ba7d7f02a850b84f37605069369757b6e5e0939dbd4d", kill_on_drop: false }` [INFO] [stdout] 32cb250171903d6bad49ba7d7f02a850b84f37605069369757b6e5e0939dbd4d [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" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cc03b141abfa804dabfde50af01d0973b7c35016702d8beb951fad6fe86bcdb [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" "6cc03b141abfa804dabfde50af01d0973b7c35016702d8beb951fad6fe86bcdb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling syn v1.0.41 [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 30.64s [INFO] running `Command { std: "docker" "inspect" "6cc03b141abfa804dabfde50af01d0973b7c35016702d8beb951fad6fe86bcdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cc03b141abfa804dabfde50af01d0973b7c35016702d8beb951fad6fe86bcdb", kill_on_drop: false }` [INFO] [stdout] 6cc03b141abfa804dabfde50af01d0973b7c35016702d8beb951fad6fe86bcdb