[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] testing mreboland/rustReferencesSharingVsMutation against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustReferencesSharingVsMutation" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mreboland/rustReferencesSharingVsMutation on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f2c199ce6fb6ba708b4d5a68a98d49bbc99dad6117e94e25c6ba69149109759 [INFO] running `Command { std: "docker" "start" "-a" "2f2c199ce6fb6ba708b4d5a68a98d49bbc99dad6117e94e25c6ba69149109759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f2c199ce6fb6ba708b4d5a68a98d49bbc99dad6117e94e25c6ba69149109759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f2c199ce6fb6ba708b4d5a68a98d49bbc99dad6117e94e25c6ba69149109759", kill_on_drop: false }` [INFO] [stdout] 2f2c199ce6fb6ba708b4d5a68a98d49bbc99dad6117e94e25c6ba69149109759 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9436d9cc8718f0492bab2e709a7f08f4c7d57f6dac1283abbcd94826d8b9c884 [INFO] running `Command { std: "docker" "start" "-a" "9436d9cc8718f0492bab2e709a7f08f4c7d57f6dac1283abbcd94826d8b9c884", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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)]` (part of `#[warn(unused)]`) 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] 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] running `Command { std: "docker" "inspect" "9436d9cc8718f0492bab2e709a7f08f4c7d57f6dac1283abbcd94826d8b9c884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9436d9cc8718f0492bab2e709a7f08f4c7d57f6dac1283abbcd94826d8b9c884", kill_on_drop: false }` [INFO] [stdout] 9436d9cc8718f0492bab2e709a7f08f4c7d57f6dac1283abbcd94826d8b9c884