[INFO] cloning repository https://github.com/kdnk/rust_introduction [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kdnk/rust_introduction" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdnk%2Frust_introduction", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdnk%2Frust_introduction'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a644f9533c899940a70df93d978e23509f90120 [INFO] testing kdnk/rust_introduction against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdnk%2Frust_introduction" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 43% (51/117) Checking out files: 44% (52/117) Checking out files: 45% (53/117) Checking out files: 46% (54/117) Checking out files: 47% (55/117) Checking out files: 48% (57/117) Checking out files: 49% (58/117) Checking out files: 50% (59/117) Checking out files: 51% (60/117) Checking out files: 52% (61/117) Checking out files: 53% (63/117) Checking out files: 54% (64/117) Checking out files: 55% (65/117) Checking out files: 56% (66/117) Checking out files: 57% (67/117) Checking out files: 58% (68/117) Checking out files: 59% (70/117) Checking out files: 60% (71/117) Checking out files: 61% (72/117) Checking out files: 62% (73/117) Checking out files: 63% (74/117) Checking out files: 64% (75/117) Checking out files: 65% (77/117) Checking out files: 66% (78/117) Checking out files: 67% (79/117) Checking out files: 68% (80/117) Checking out files: 69% (81/117) Checking out files: 70% (82/117) Checking out files: 71% (84/117) Checking out files: 72% (85/117) Checking out files: 73% (86/117) Checking out files: 74% (87/117) Checking out files: 75% (88/117) Checking out files: 76% (89/117) Checking out files: 77% (91/117) Checking out files: 78% (92/117) Checking out files: 79% (93/117) Checking out files: 80% (94/117) Checking out files: 81% (95/117) Checking out files: 82% (96/117) Checking out files: 83% (98/117) Checking out files: 84% (99/117) Checking out files: 85% (100/117) Checking out files: 86% (101/117) Checking out files: 87% (102/117) Checking out files: 88% (103/117) Checking out files: 89% (105/117) Checking out files: 90% (106/117) Checking out files: 91% (107/117) Checking out files: 92% (108/117) Checking out files: 93% (109/117) Checking out files: 94% (110/117) Checking out files: 95% (112/117) Checking out files: 96% (113/117) Checking out files: 97% (114/117) Checking out files: 98% (115/117) Checking out files: 99% (116/117) Checking out files: 100% (117/117) Checking out files: 100% (117/117), done. [INFO] validating manifest of git repo https://github.com/kdnk/rust_introduction on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kdnk/rust_introduction [INFO] finished tweaking git repo https://github.com/kdnk/rust_introduction [INFO] tweaked toml for git repo https://github.com/kdnk/rust_introduction written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/kdnk/rust_introduction already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b5d27f009eb7926183aa322f8188b41d54f711fb9bf73748818646daf68d1bc3 [INFO] running `Command { std: "docker" "start" "-a" "b5d27f009eb7926183aa322f8188b41d54f711fb9bf73748818646daf68d1bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5d27f009eb7926183aa322f8188b41d54f711fb9bf73748818646daf68d1bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5d27f009eb7926183aa322f8188b41d54f711fb9bf73748818646daf68d1bc3", kill_on_drop: false }` [INFO] [stdout] b5d27f009eb7926183aa322f8188b41d54f711fb9bf73748818646daf68d1bc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a36e13fb0082c94ec8936a0bbee51ba0c540d65eaa4252566941eccb70bbd3c2 [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" "a36e13fb0082c94ec8936a0bbee51ba0c540d65eaa4252566941eccb70bbd3c2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust_introduction v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/07_ownership/01_value_ownership.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/07_ownership/use_toy_vec.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/07_ownership/toy_vec.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_introduction` [INFO] [stdout] error: couldn't read src/07_ownership/02_value_scope.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read src/07_ownership/03_copy.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/08_trait/03_dispatch.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | ::to_string(t) [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&i32`, found `i32` [INFO] [stdout] | help: consider borrowing here: `&t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/08_trait/02_trait_generics.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let data = Box::init("foo"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/08_trait/02_trait_generics.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let data = Box::::init(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/08_trait/02_trait_generics.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let data: Box = Init::init(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one_u32` [INFO] [stdout] --> src/08_trait/02_trait_generics.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let one_u32: u32 = 1.cast(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_one_u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one_u32` [INFO] [stdout] --> src/08_trait/02_trait_generics.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let one_u32: u64 = 1.cast(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_one_u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `n` is never read [INFO] [stdout] --> src/04_primitive/scalar.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | fn f1(mut n: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a36e13fb0082c94ec8936a0bbee51ba0c540d65eaa4252566941eccb70bbd3c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36e13fb0082c94ec8936a0bbee51ba0c540d65eaa4252566941eccb70bbd3c2", kill_on_drop: false }` [INFO] [stdout] a36e13fb0082c94ec8936a0bbee51ba0c540d65eaa4252566941eccb70bbd3c2