[INFO] cloning repository https://github.com/maciejhirsz/sub0_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maciejhirsz/sub0_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciejhirsz%2Fsub0_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciejhirsz%2Fsub0_examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 709cb5d450f99c8f38cf7e77a88f80a79589004d [INFO] checking maciejhirsz/sub0_examples against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciejhirsz%2Fsub0_examples" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maciejhirsz/sub0_examples on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maciejhirsz/sub0_examples [INFO] finished tweaking git repo https://github.com/maciejhirsz/sub0_examples [INFO] tweaked toml for git repo https://github.com/maciejhirsz/sub0_examples written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/maciejhirsz/sub0_examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a765a7d8c86f23645ddc624f82e6474b2e1412dda6d4729f1c5c4c022c64867 [INFO] running `Command { std: "docker" "start" "-a" "9a765a7d8c86f23645ddc624f82e6474b2e1412dda6d4729f1c5c4c022c64867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a765a7d8c86f23645ddc624f82e6474b2e1412dda6d4729f1c5c4c022c64867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a765a7d8c86f23645ddc624f82e6474b2e1412dda6d4729f1c5c4c022c64867", kill_on_drop: false }` [INFO] [stdout] 9a765a7d8c86f23645ddc624f82e6474b2e1412dda6d4729f1c5c4c022c64867 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2417a8f9f473e59e840f28adc46c20f6c53539b6bb11f47137f46d281b09d4ce [INFO] running `Command { std: "docker" "start" "-a" "2417a8f9f473e59e840f28adc46c20f6c53539b6bb11f47137f46d281b09d4ce", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Checking sub0 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `do_work` found for struct `Add5` in the current scope [INFO] [stdout] --> src/ch6_associated_types.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 15 | struct Add5<'a>(&'a str); [INFO] [stdout] | ------------------------- method `do_work` not found for this [INFO] [stdout] ... [INFO] [stdout] 22 | let life = Add5(&input).do_work()?; [INFO] [stdout] | ^^^^^^^ method not found in `Add5<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `DoWork` defines an item `do_work`, perhaps you need to implement it [INFO] [stdout] --> src/ch6_associated_types.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | trait DoWork { [INFO] [stdout] | ^^^^^^^^^^^^ [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 E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sub0` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `do_work` found for struct `Add5` in the current scope [INFO] [stdout] --> src/ch6_associated_types.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 15 | struct Add5<'a>(&'a str); [INFO] [stdout] | ------------------------- method `do_work` not found for this [INFO] [stdout] ... [INFO] [stdout] 22 | let life = Add5(&input).do_work()?; [INFO] [stdout] | ^^^^^^^ method not found in `Add5<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `DoWork` defines an item `do_work`, perhaps you need to implement it [INFO] [stdout] --> src/ch6_associated_types.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | trait DoWork { [INFO] [stdout] | ^^^^^^^^^^^^ [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 E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2417a8f9f473e59e840f28adc46c20f6c53539b6bb11f47137f46d281b09d4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2417a8f9f473e59e840f28adc46c20f6c53539b6bb11f47137f46d281b09d4ce", kill_on_drop: false }` [INFO] [stdout] 2417a8f9f473e59e840f28adc46c20f6c53539b6bb11f47137f46d281b09d4ce