[INFO] fetching crate scope-cell 0.1.2... [INFO] checking scope-cell-0.1.2 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate scope-cell 0.1.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate scope-cell 0.1.2 [INFO] finished tweaking crates.io crate scope-cell 0.1.2 [INFO] tweaked toml for crates.io crate scope-cell 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scope-cell 0.1.2 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1052b08f389f772f56bcecc44e3264cdfba3534dfc90e3e30107d815a5ea7cf3 [INFO] running `Command { std: "docker" "start" "-a" "1052b08f389f772f56bcecc44e3264cdfba3534dfc90e3e30107d815a5ea7cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1052b08f389f772f56bcecc44e3264cdfba3534dfc90e3e30107d815a5ea7cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1052b08f389f772f56bcecc44e3264cdfba3534dfc90e3e30107d815a5ea7cf3", kill_on_drop: false }` [INFO] [stdout] 1052b08f389f772f56bcecc44e3264cdfba3534dfc90e3e30107d815a5ea7cf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 752b4a6c59494d7e6c5179c8d231392d89ddaa649b435dedff4e079c1bbd9764 [INFO] running `Command { std: "docker" "start" "-a" "752b4a6c59494d7e6c5179c8d231392d89ddaa649b435dedff4e079c1bbd9764", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking scope-cell v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let mut scope = ScopeCell::new(&data); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut scope = ScopeCell::new(&data); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let mut scope = ScopeCell::new(&data); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let mut Scope = ScopeCell::new(&data); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | let mut Scope = ScopeCell::new(&data); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | let mut Scope = ScopeCell::new(&data); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let mut borrowed = Scope.get_mut(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | let mut scope1 = ScopeCell::new(&data1); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | let mut scope2 = ScopeCell::new(&data2); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/lib.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | let scope = ScopeCell::new(&data); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | let mut scope = ScopeCell::new(&data); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | let mut scope = ScopeCell::new(&data); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let mut borrowed_mut = scope.get_mut(); // Mutable borrow [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let mut outer_scope = ScopeCell::new(&data1); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut inner_scope = ScopeCell::new(&data2); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Scope` should have a snake case name [INFO] [stdout] --> src/lib.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | let mut Scope = ScopeCell::new(&data); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Scope` should have a snake case name [INFO] [stdout] --> src/lib.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let mut Scope = ScopeCell::new(&data); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Scope` should have a snake case name [INFO] [stdout] --> src/lib.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let mut Scope = ScopeCell::new(&data); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "752b4a6c59494d7e6c5179c8d231392d89ddaa649b435dedff4e079c1bbd9764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "752b4a6c59494d7e6c5179c8d231392d89ddaa649b435dedff4e079c1bbd9764", kill_on_drop: false }` [INFO] [stdout] 752b4a6c59494d7e6c5179c8d231392d89ddaa649b435dedff4e079c1bbd9764