[INFO] cloning repository https://github.com/jharrilim/rustler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jharrilim/rustler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjharrilim%2Frustler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjharrilim%2Frustler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 906dba56401c076217b5a994652cb4aa0e6a616e [INFO] checking jharrilim/rustler against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjharrilim%2Frustler" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jharrilim/rustler on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jharrilim/rustler [INFO] finished tweaking git repo https://github.com/jharrilim/rustler [INFO] tweaked toml for git repo https://github.com/jharrilim/rustler written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jharrilim/rustler already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1906c2d2ea89d8284bd41cf3cc4c969c2d3ed4c97893e751a173227bf8ffb833 [INFO] running `Command { std: "docker" "start" "-a" "1906c2d2ea89d8284bd41cf3cc4c969c2d3ed4c97893e751a173227bf8ffb833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1906c2d2ea89d8284bd41cf3cc4c969c2d3ed4c97893e751a173227bf8ffb833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1906c2d2ea89d8284bd41cf3cc4c969c2d3ed4c97893e751a173227bf8ffb833", kill_on_drop: false }` [INFO] [stdout] 1906c2d2ea89d8284bd41cf3cc4c969c2d3ed4c97893e751a173227bf8ffb833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a466b68f721725a7e3d6bfd3dc5456c5f5e89feaa901f2ccd1f04dd3dc82bc9 [INFO] running `Command { std: "docker" "start" "-a" "1a466b68f721725a7e3d6bfd3dc5456c5f5e89feaa901f2ccd1f04dd3dc82bc9", kill_on_drop: false }` [INFO] [stderr] Checking rustler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `GET` in module `methods` [INFO] [stdout] --> src/http/request.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let m = methods::GET; [INFO] [stdout] | ^^^ not found in `methods` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 46 + use crate::http::methods::Method::GET; [INFO] [stdout] | [INFO] [stdout] help: if you import `GET`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - let m = methods::GET; [INFO] [stdout] 50 + let m = GET; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add` found for struct `String` in the current scope [INFO] [stdout] --> src/http/request.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | msg = msg.add(format!("{}:{}\r\n", k, v).as_str()) [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:92:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `String` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Add` which provides `add` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add` found for struct `String` in the current scope [INFO] [stdout] --> src/http/request.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | msg = msg.add(self.body.as_str()); [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:92:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `String` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Add` which provides `add` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.base_url` which is behind a shared reference [INFO] [stdout] --> src/http/client.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | Request::new(method, String::from(self.base_url)) [INFO] [stdout] | ^^^^^^^^^^^^^ move occurs because `self.base_url` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 17 | Request::new(method, String::from(self.base_url.clone())) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add` found for struct `String` in the current scope [INFO] [stdout] --> src/http/request.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | msg = msg.add(format!("{}:{}\r\n", k, v).as_str()) [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:92:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `String` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Add` which provides `add` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add` found for struct `String` in the current scope [INFO] [stdout] --> src/http/request.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | msg = msg.add(self.body.as_str()); [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:92:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `String` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Add` which provides `add` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.base_url` which is behind a shared reference [INFO] [stdout] --> src/http/client.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | Request::new(method, String::from(self.base_url)) [INFO] [stdout] | ^^^^^^^^^^^^^ move occurs because `self.base_url` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 17 | Request::new(method, String::from(self.base_url.clone())) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustler` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0507, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustler` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "1a466b68f721725a7e3d6bfd3dc5456c5f5e89feaa901f2ccd1f04dd3dc82bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a466b68f721725a7e3d6bfd3dc5456c5f5e89feaa901f2ccd1f04dd3dc82bc9", kill_on_drop: false }` [INFO] [stdout] 1a466b68f721725a7e3d6bfd3dc5456c5f5e89feaa901f2ccd1f04dd3dc82bc9 [INFO] checking jharrilim/rustler against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjharrilim%2Frustler" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jharrilim/rustler on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jharrilim/rustler [INFO] finished tweaking git repo https://github.com/jharrilim/rustler [INFO] tweaked toml for git repo https://github.com/jharrilim/rustler written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jharrilim/rustler already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29e64be38464518b248203cd040d2c685e812e3f36e4dfc44907d42410e54f15 [INFO] running `Command { std: "docker" "start" "-a" "29e64be38464518b248203cd040d2c685e812e3f36e4dfc44907d42410e54f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29e64be38464518b248203cd040d2c685e812e3f36e4dfc44907d42410e54f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29e64be38464518b248203cd040d2c685e812e3f36e4dfc44907d42410e54f15", kill_on_drop: false }` [INFO] [stdout] 29e64be38464518b248203cd040d2c685e812e3f36e4dfc44907d42410e54f15 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26341744d3df0344bc8913cb1800d002f87dbde1fe1a78e0046ef063c7c7f1dd [INFO] running `Command { std: "docker" "start" "-a" "26341744d3df0344bc8913cb1800d002f87dbde1fe1a78e0046ef063c7c7f1dd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "26341744d3df0344bc8913cb1800d002f87dbde1fe1a78e0046ef063c7c7f1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26341744d3df0344bc8913cb1800d002f87dbde1fe1a78e0046ef063c7c7f1dd", kill_on_drop: false }` [INFO] [stdout] 26341744d3df0344bc8913cb1800d002f87dbde1fe1a78e0046ef063c7c7f1dd