[INFO] fetching crate coqui-tts 0.2.0... [INFO] checking coqui-tts-0.2.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate coqui-tts 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate coqui-tts 0.2.0 [INFO] finished tweaking crates.io crate coqui-tts 0.2.0 [INFO] tweaked toml for crates.io crate coqui-tts 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate coqui-tts 0.2.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.18.3 (available: v0.26.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5337e185d7df8d48a709ebc1b9ea5453c57df04e9445203d8947fad3e875bb1f [INFO] running `Command { std: "docker" "start" "-a" "5337e185d7df8d48a709ebc1b9ea5453c57df04e9445203d8947fad3e875bb1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5337e185d7df8d48a709ebc1b9ea5453c57df04e9445203d8947fad3e875bb1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5337e185d7df8d48a709ebc1b9ea5453c57df04e9445203d8947fad3e875bb1f", kill_on_drop: false }` [INFO] [stdout] 5337e185d7df8d48a709ebc1b9ea5453c57df04e9445203d8947fad3e875bb1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18c9bff9e528b1610605ae6c5aa84100bb0b1ec772454e65e1f8a9d5a3f08b12 [INFO] running `Command { std: "docker" "start" "-a" "18c9bff9e528b1610605ae6c5aa84100bb0b1ec772454e65e1f8a9d5a3f08b12", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pyo3 v0.18.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pyo3-macros-backend v0.18.3 [INFO] [stderr] Compiling pyo3-macros v0.18.3 [INFO] [stderr] Checking coqui-tts v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | let locals_ref = locals.as_ref(py).borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PyDict` does not implement `Borrow`, so calling `borrow` on `&PyDict` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 30 - let locals_ref = locals.as_ref(py).borrow(); [INFO] [stdout] 30 + let locals_ref = locals.as_ref(py); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PyDict`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.18.3/src/types/dict.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Clone)] [INFO] [stdout] 15 | pub struct PyDict(PyAny); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | "#, None, Some(locals.as_ref(py).borrow())).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PyDict` does not implement `Borrow`, so calling `borrow` on `&PyDict` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 56 - "#, None, Some(locals.as_ref(py).borrow())).unwrap(); [INFO] [stdout] 56 + "#, None, Some(locals.as_ref(py))).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PyDict`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.18.3/src/types/dict.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Clone)] [INFO] [stdout] 15 | pub struct PyDict(PyAny); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | let tts = self.locals.as_ref(py).borrow().get_item("coqui_tts").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PyDict` does not implement `Borrow`, so calling `borrow` on `&PyDict` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 69 - let tts = self.locals.as_ref(py).borrow().get_item("coqui_tts").unwrap(); [INFO] [stdout] 69 + let tts = self.locals.as_ref(py).get_item("coqui_tts").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PyDict`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.18.3/src/types/dict.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Clone)] [INFO] [stdout] 15 | pub struct PyDict(PyAny); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:77:45 [INFO] [stdout] | [INFO] [stdout] 77 | let tts = self.locals.as_ref(py).borrow().get_item("coqui_tts").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PyDict` does not implement `Borrow`, so calling `borrow` on `&PyDict` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 77 - let tts = self.locals.as_ref(py).borrow().get_item("coqui_tts").unwrap(); [INFO] [stdout] 77 + let tts = self.locals.as_ref(py).get_item("coqui_tts").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PyDict`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.18.3/src/types/dict.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Clone)] [INFO] [stdout] 15 | pub struct PyDict(PyAny); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | let locals_ref = locals.as_ref(py).borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PyDict` does not implement `Borrow`, so calling `borrow` on `&PyDict` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 30 - let locals_ref = locals.as_ref(py).borrow(); [INFO] [stdout] 30 + let locals_ref = locals.as_ref(py); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PyDict`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.18.3/src/types/dict.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Clone)] [INFO] [stdout] 15 | pub struct PyDict(PyAny); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | "#, None, Some(locals.as_ref(py).borrow())).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PyDict` does not implement `Borrow`, so calling `borrow` on `&PyDict` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 56 - "#, None, Some(locals.as_ref(py).borrow())).unwrap(); [INFO] [stdout] 56 + "#, None, Some(locals.as_ref(py))).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PyDict`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.18.3/src/types/dict.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Clone)] [INFO] [stdout] 15 | pub struct PyDict(PyAny); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | let tts = self.locals.as_ref(py).borrow().get_item("coqui_tts").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PyDict` does not implement `Borrow`, so calling `borrow` on `&PyDict` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 69 - let tts = self.locals.as_ref(py).borrow().get_item("coqui_tts").unwrap(); [INFO] [stdout] 69 + let tts = self.locals.as_ref(py).get_item("coqui_tts").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PyDict`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.18.3/src/types/dict.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Clone)] [INFO] [stdout] 15 | pub struct PyDict(PyAny); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:77:45 [INFO] [stdout] | [INFO] [stdout] 77 | let tts = self.locals.as_ref(py).borrow().get_item("coqui_tts").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PyDict` does not implement `Borrow`, so calling `borrow` on `&PyDict` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 77 - let tts = self.locals.as_ref(py).borrow().get_item("coqui_tts").unwrap(); [INFO] [stdout] 77 + let tts = self.locals.as_ref(py).get_item("coqui_tts").unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PyDict`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.18.3/src/types/dict.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Clone)] [INFO] [stdout] 15 | pub struct PyDict(PyAny); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.01s [INFO] running `Command { std: "docker" "inspect" "18c9bff9e528b1610605ae6c5aa84100bb0b1ec772454e65e1f8a9d5a3f08b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c9bff9e528b1610605ae6c5aa84100bb0b1ec772454e65e1f8a9d5a3f08b12", kill_on_drop: false }` [INFO] [stdout] 18c9bff9e528b1610605ae6c5aa84100bb0b1ec772454e65e1f8a9d5a3f08b12