[INFO] fetching crate gluon_base 0.17.1... [INFO] checking gluon_base-0.17.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [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 f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 656defa0e14558625725039f92828553a1f5e5c24e7f7e1e22bacd511f91677d [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" "656defa0e14558625725039f92828553a1f5e5c24e7f7e1e22bacd511f91677d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "656defa0e14558625725039f92828553a1f5e5c24e7f7e1e22bacd511f91677d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "656defa0e14558625725039f92828553a1f5e5c24e7f7e1e22bacd511f91677d", kill_on_drop: false }` [INFO] [stdout] 656defa0e14558625725039f92828553a1f5e5c24e7f7e1e22bacd511f91677d [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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be15dc5a77c7835275a3358988fafe42c6ef3588d1a138eb6c71dc73e0052516 [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" "be15dc5a77c7835275a3358988fafe42c6ef3588d1a138eb6c71dc73e0052516", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking collect-mac v0.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking codespan v0.9.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking ordered-float v2.0.0 [INFO] [stderr] Checking regex v1.3.9 [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/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/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: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: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: 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 55.43s [INFO] running `Command { std: "docker" "inspect" "be15dc5a77c7835275a3358988fafe42c6ef3588d1a138eb6c71dc73e0052516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be15dc5a77c7835275a3358988fafe42c6ef3588d1a138eb6c71dc73e0052516", kill_on_drop: false }` [INFO] [stdout] be15dc5a77c7835275a3358988fafe42c6ef3588d1a138eb6c71dc73e0052516