[INFO] fetching crate from 0.0.2... [INFO] checking from-0.0.2 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate from 0.0.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate from 0.0.2 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate from 0.0.2 [INFO] finished tweaking crates.io crate from 0.0.2 [INFO] tweaked toml for crates.io crate from 0.0.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9cdc37c229b7b5b295a21e3653eae2267cdd5ca478a6a9c3c391cf6d626e1da [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" "d9cdc37c229b7b5b295a21e3653eae2267cdd5ca478a6a9c3c391cf6d626e1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9cdc37c229b7b5b295a21e3653eae2267cdd5ca478a6a9c3c391cf6d626e1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9cdc37c229b7b5b295a21e3653eae2267cdd5ca478a6a9c3c391cf6d626e1da", kill_on_drop: false }` [INFO] [stdout] d9cdc37c229b7b5b295a21e3653eae2267cdd5ca478a6a9c3c391cf6d626e1da [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df647e017a5232acd4fbff4d3caf4ea640664437f3b9fd4e316069cd08806dd0 [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" "df647e017a5232acd4fbff4d3caf4ea640664437f3b9fd4e316069cd08806dd0", kill_on_drop: false }` [INFO] [stderr] Checking from v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'a String` in the current scope [INFO] [stdout] --> src/lib.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn from(x: &'a String) -> &'a str { x.as_slice() } [INFO] [stdout] | ^^^^^^^^ method not found in `&'a String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'a String` in the current scope [INFO] [stdout] --> src/lib.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn from(x: &'a String) -> &'a str { x.as_slice() } [INFO] [stdout] | ^^^^^^^^ method not found in `&'a String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/lib.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | fn from(x: &'a str) -> String { x.into_string() } [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&'a str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'a str` in the current scope [INFO] [stdout] --> src/lib.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | fn from(x: &'a str) -> String { x.into_string() } [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&'a str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `from` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "df647e017a5232acd4fbff4d3caf4ea640664437f3b9fd4e316069cd08806dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df647e017a5232acd4fbff4d3caf4ea640664437f3b9fd4e316069cd08806dd0", kill_on_drop: false }` [INFO] [stdout] df647e017a5232acd4fbff4d3caf4ea640664437f3b9fd4e316069cd08806dd0