[INFO] fetching crate from 0.0.2... [INFO] extracting crate from 0.0.2 into work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/reg/from/0.0.2 [INFO] extracting crate from 0.0.2 into work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/reg/from/0.0.2 [INFO] validating manifest of from-0.0.2 on toolchain master#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of from-0.0.2 on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing from-0.0.2 [INFO] finished frobbing from-0.0.2 [INFO] frobbed toml for from-0.0.2 written to work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/reg/from/0.0.2/Cargo.toml [INFO] started frobbing from-0.0.2 [INFO] finished frobbing from-0.0.2 [INFO] frobbed toml for from-0.0.2 written to work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/reg/from/0.0.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking from-0.0.2 against try#d3301713b54af69ca9de941a8c6b0d8287dbd6df for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-0/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/reg/from/0.0.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 8e76e15882608b5bd9300cf69d58b5a43ab3befeaf1ff11c34d62e772cb0c535 [INFO] running `"docker" "start" "-a" "8e76e15882608b5bd9300cf69d58b5a43ab3befeaf1ff11c34d62e772cb0c535"` [INFO] [stderr] Checking from v0.0.2 (/opt/crater/workdir) [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&'a std::string::String` in the current scope [INFO] [stderr] --> src/lib.rs:25:43 [INFO] [stderr] | [INFO] [stderr] 25 | fn from(x: &'a String) -> &'a str { x.as_slice() } [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_string` found for type `&'a str` in the current scope [INFO] [stderr] --> src/lib.rs:29:39 [INFO] [stderr] | [INFO] [stderr] 29 | fn from(x: &'a str) -> String { x.into_string() } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: Could not compile `from`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&'a std::string::String` in the current scope [INFO] [stderr] --> src/lib.rs:25:43 [INFO] [stderr] | [INFO] [stderr] 25 | fn from(x: &'a String) -> &'a str { x.as_slice() } [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_string` found for type `&'a str` in the current scope [INFO] [stderr] --> src/lib.rs:29:39 [INFO] [stderr] | [INFO] [stderr] 29 | fn from(x: &'a str) -> String { x.into_string() } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: Could not compile `from`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8e76e15882608b5bd9300cf69d58b5a43ab3befeaf1ff11c34d62e772cb0c535"` [INFO] running `"docker" "rm" "-f" "8e76e15882608b5bd9300cf69d58b5a43ab3befeaf1ff11c34d62e772cb0c535"` [INFO] [stdout] 8e76e15882608b5bd9300cf69d58b5a43ab3befeaf1ff11c34d62e772cb0c535