[INFO] cloning repository https://github.com/mreboland/rustTypesStrings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mreboland/rustTypesStrings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustTypesStrings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustTypesStrings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93268bf785e18b962d7ffbd8bfa6b4d6029a7bdb [INFO] checking mreboland/rustTypesStrings against try#86f78589b09557f70c9db3f56ad1921e0a9f76ef for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustTypesStrings" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mreboland/rustTypesStrings on toolchain 86f78589b09557f70c9db3f56ad1921e0a9f76ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mreboland/rustTypesStrings [INFO] finished tweaking git repo https://github.com/mreboland/rustTypesStrings [INFO] tweaked toml for git repo https://github.com/mreboland/rustTypesStrings written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mreboland/rustTypesStrings 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" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking mreboland/rustTypesStrings against try#86f78589b09557f70c9db3f56ad1921e0a9f76ef for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustTypesStrings" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mreboland/rustTypesStrings on toolchain 86f78589b09557f70c9db3f56ad1921e0a9f76ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mreboland/rustTypesStrings [INFO] finished tweaking git repo https://github.com/mreboland/rustTypesStrings [INFO] tweaked toml for git repo https://github.com/mreboland/rustTypesStrings written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mreboland/rustTypesStrings 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" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5e2c38de6f8ae82889b45ace5d01a16fc46112bd3c43f60e164e596b5504b69 [INFO] running `Command { std: "docker" "start" "-a" "d5e2c38de6f8ae82889b45ace5d01a16fc46112bd3c43f60e164e596b5504b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5e2c38de6f8ae82889b45ace5d01a16fc46112bd3c43f60e164e596b5504b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5e2c38de6f8ae82889b45ace5d01a16fc46112bd3c43f60e164e596b5504b69", kill_on_drop: false }` [INFO] [stdout] d5e2c38de6f8ae82889b45ace5d01a16fc46112bd3c43f60e164e596b5504b69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32c1a6f4dd5b709608d7101f9ea6e5fb7ea0faa7f3fd99804175172ff4194c01 [INFO] running `Command { std: "docker" "start" "-a" "32c1a6f4dd5b709608d7101f9ea6e5fb7ea0faa7f3fd99804175172ff4194c01", kill_on_drop: false }` [INFO] [stderr] Checking types-strings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the type `str` cannot be indexed by `{integer}` [INFO] [stdout] --> src/main.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | s[0] = 'c'; // error: the type `str` cannot be mutably indexed [INFO] [stdout] | ^ string indices are ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = note: you can use `.chars().nth()` or `.bytes().nth()` [INFO] [stdout] for more information, see chapter 8 in The Book: [INFO] [stdout] = help: the trait `SliceIndex` is not implemented for `{integer}` [INFO] [stdout] but trait `SliceIndex<[_]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `[_]`, found `str` [INFO] [stdout] = note: required for `str` to implement `Index<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `str` cannot be indexed by `{integer}` [INFO] [stdout] --> src/main.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | s[0] = 'c'; // error: the type `str` cannot be mutably indexed [INFO] [stdout] | ^ string indices are ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = note: you can use `.chars().nth()` or `.bytes().nth()` [INFO] [stdout] for more information, see chapter 8 in The Book: [INFO] [stdout] = help: the trait `SliceIndex` is not implemented for `{integer}` [INFO] [stdout] but trait `SliceIndex<[_]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `[_]`, found `str` [INFO] [stdout] = note: required for `str` to implement `Index<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | s.push('\n'); // error: no method named `push` found for type `&str` [INFO] [stdout] | ^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | s.push('\n'); // error: no method named `push` found for type `&str` [INFO] [stdout] | ^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `types-strings` (bin "types-strings") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `types-strings` (bin "types-strings" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "32c1a6f4dd5b709608d7101f9ea6e5fb7ea0faa7f3fd99804175172ff4194c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c1a6f4dd5b709608d7101f9ea6e5fb7ea0faa7f3fd99804175172ff4194c01", kill_on_drop: false }` [INFO] [stdout] 32c1a6f4dd5b709608d7101f9ea6e5fb7ea0faa7f3fd99804175172ff4194c01