[INFO] cloning repository https://github.com/Joseph-LeGrice/ezmath [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Joseph-LeGrice/ezmath" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoseph-LeGrice%2Fezmath", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoseph-LeGrice%2Fezmath'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10623768d888ea7b06eff5f218b1b9be4f33a0f0 [INFO] checking Joseph-LeGrice/ezmath against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoseph-LeGrice%2Fezmath" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Joseph-LeGrice/ezmath on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Joseph-LeGrice/ezmath [INFO] finished tweaking git repo https://github.com/Joseph-LeGrice/ezmath [INFO] tweaked toml for git repo https://github.com/Joseph-LeGrice/ezmath written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Joseph-LeGrice/ezmath already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", 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] 995b2d0c34bd82a67f41cd79614f020d4c923fc0a463c192c5a634a8552895a6 [INFO] running `Command { std: "docker" "start" "-a" "995b2d0c34bd82a67f41cd79614f020d4c923fc0a463c192c5a634a8552895a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "995b2d0c34bd82a67f41cd79614f020d4c923fc0a463c192c5a634a8552895a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "995b2d0c34bd82a67f41cd79614f020d4c923fc0a463c192c5a634a8552895a6", kill_on_drop: false }` [INFO] [stdout] 995b2d0c34bd82a67f41cd79614f020d4c923fc0a463c192c5a634a8552895a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9e30ac550b41b8bc41b70baacd5c1861b32c04a8ae5f20b515b0533bf6676c9 [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" "a9e30ac550b41b8bc41b70baacd5c1861b32c04a8ae5f20b515b0533bf6676c9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ezcgmath v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/vector.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | assert_ulps_eq!(A.length(), (6.0 as f32).sqrt()); [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: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/workdir/src/vector.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn length(&mut self) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/vector.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | const A: Vector2 = Vector2::new(2.0, 4.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/vector.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | assert_ulps_eq!(B.length(), (15.0 as f32).sqrt()); [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] --> /opt/rustwide/workdir/src/vector.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn length(&mut self) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/vector.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | const B: Vector2 = Vector2::new(5.0, 10.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/vector.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | assert_ulps_eq!(A.length(), a_len); [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] --> /opt/rustwide/workdir/src/vector.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn length(&mut self) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/vector.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | const A: Vector3 = Vector3::new(2.0, 4.0, 6.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/vector.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | assert_ulps_eq!(B.length(), b_len); [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] --> /opt/rustwide/workdir/src/vector.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn length(&mut self) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/vector.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | const B: Vector3 = Vector3::new(5.0, 10.0, 15.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.98s [INFO] running `Command { std: "docker" "inspect" "a9e30ac550b41b8bc41b70baacd5c1861b32c04a8ae5f20b515b0533bf6676c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9e30ac550b41b8bc41b70baacd5c1861b32c04a8ae5f20b515b0533bf6676c9", kill_on_drop: false }` [INFO] [stdout] a9e30ac550b41b8bc41b70baacd5c1861b32c04a8ae5f20b515b0533bf6676c9