[INFO] cloning repository https://github.com/mreboland/rustReferencesSharingVsMutation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mreboland/rustReferencesSharingVsMutation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustReferencesSharingVsMutation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustReferencesSharingVsMutation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 914c703345702f7388bc7dfb8493408801bb38d9 [INFO] checking mreboland/rustReferencesSharingVsMutation against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustReferencesSharingVsMutation" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mreboland/rustReferencesSharingVsMutation [INFO] finished tweaking git repo https://github.com/mreboland/rustReferencesSharingVsMutation [INFO] tweaked toml for git repo https://github.com/mreboland/rustReferencesSharingVsMutation written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mreboland/rustReferencesSharingVsMutation on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mreboland/rustReferencesSharingVsMutation 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5474e410e39eb0c1ae9e517d35244ec214a3c4fd846be88c189b90b02dfd8144 [INFO] running `Command { std: "docker" "start" "-a" "5474e410e39eb0c1ae9e517d35244ec214a3c4fd846be88c189b90b02dfd8144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5474e410e39eb0c1ae9e517d35244ec214a3c4fd846be88c189b90b02dfd8144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5474e410e39eb0c1ae9e517d35244ec214a3c4fd846be88c189b90b02dfd8144", kill_on_drop: false }` [INFO] [stdout] 5474e410e39eb0c1ae9e517d35244ec214a3c4fd846be88c189b90b02dfd8144 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7623f44c51c557fe48429484b177d22831760d6d425923e873b96e1d212425cd [INFO] running `Command { std: "docker" "start" "-a" "7623f44c51c557fe48429484b177d22831760d6d425923e873b96e1d212425cd", kill_on_drop: false }` [INFO] [stderr] Checking references-sharing-vs-mutation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `:`, found `desciptor` [INFO] [stdout] --> src/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 102 | struct File { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 103 | int desciptor; [INFO] [stdout] | ^^^^^^^^^ expected `:` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `:`, found `desciptor` [INFO] [stdout] --> src/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 102 | struct File { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 103 | int desciptor; [INFO] [stdout] | ^^^^^^^^^ expected `:` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `f` [INFO] [stdout] --> src/main.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | File f(open("foo.txt", ...)); [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a method call [INFO] [stdout] | [INFO] [stdout] 114 | File.f(open("foo.txt", ...)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `f` [INFO] [stdout] --> src/main.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | File f(open("foo.txt", ...)); [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a method call [INFO] [stdout] | [INFO] [stdout] 114 | File.f(open("foo.txt", ...)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:111:6 [INFO] [stdout] | [INFO] [stdout] 111 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:111:6 [INFO] [stdout] | [INFO] [stdout] 111 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | *m = 137; [INFO] [stdout] | -- ^^^ expected `({integer}, {integer})`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `({integer}, {integer})` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | *m = 137; [INFO] [stdout] | -- ^^^ expected `({integer}, {integer})`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `({integer}, {integer})` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `references-sharing-vs-mutation` (bin "references-sharing-vs-mutation") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `references-sharing-vs-mutation` (bin "references-sharing-vs-mutation" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7623f44c51c557fe48429484b177d22831760d6d425923e873b96e1d212425cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7623f44c51c557fe48429484b177d22831760d6d425923e873b96e1d212425cd", kill_on_drop: false }` [INFO] [stdout] 7623f44c51c557fe48429484b177d22831760d6d425923e873b96e1d212425cd