[INFO] cloning repository https://github.com/kurtbuilds/refself [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kurtbuilds/refself" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurtbuilds%2Frefself", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurtbuilds%2Frefself'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44016419de1daca85a5db1e244e000e7595fda77 [INFO] checking kurtbuilds/refself against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurtbuilds%2Frefself" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kurtbuilds/refself [INFO] finished tweaking git repo https://github.com/kurtbuilds/refself [INFO] tweaked toml for git repo https://github.com/kurtbuilds/refself written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kurtbuilds/refself on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kurtbuilds/refself 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db25c43f5fabb8d3d87d3e048fd7f0c0ad06e35ae5997eb53ac201508f073be5 [INFO] running `Command { std: "docker" "start" "-a" "db25c43f5fabb8d3d87d3e048fd7f0c0ad06e35ae5997eb53ac201508f073be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db25c43f5fabb8d3d87d3e048fd7f0c0ad06e35ae5997eb53ac201508f073be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db25c43f5fabb8d3d87d3e048fd7f0c0ad06e35ae5997eb53ac201508f073be5", kill_on_drop: false }` [INFO] [stdout] db25c43f5fabb8d3d87d3e048fd7f0c0ad06e35ae5997eb53ac201508f073be5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f15021e8a99654245d27a31325e08bf84e24565ce3f7c030d7d99d07d7b89c72 [INFO] running `Command { std: "docker" "start" "-a" "f15021e8a99654245d27a31325e08bf84e24565ce3f7c030d7d99d07d7b89c72", kill_on_drop: false }` [INFO] [stderr] Checking refself v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | //! As long as the struct never gives out static references, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 7 - //! As long as the struct never gives out static references, [INFO] [stdout] 7 + // As long as the struct never gives out static references, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | //! and references always lives as long as `self`, then the transmute, and this struct, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 8 - //! and references always lives as long as `self`, then the transmute, and this struct, [INFO] [stdout] 8 + // and references always lives as long as `self`, then the transmute, and this struct, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | //! As long as the struct never gives out static references, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 7 - //! As long as the struct never gives out static references, [INFO] [stdout] 7 + // As long as the struct never gives out static references, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | //! and references always lives as long as `self`, then the transmute, and this struct, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] help: you might have meant to write a regular comment [INFO] [stdout] | [INFO] [stdout] 8 - //! and references always lives as long as `self`, then the transmute, and this struct, [INFO] [stdout] 8 + // and references always lives as long as `self`, then the transmute, and this struct, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | //! is perfectly safe. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | / impl Source { [INFO] [stdout] 11 | | pub fn new(content: String) -> Self { [INFO] [stdout] 12 | | let tokens = content.split_whitespace() [INFO] [stdout] 13 | | .map(|t| unsafe { std::mem::transmute(t) }) [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- the inner doc comment doesn't annotate this implementation [INFO] [stdout] | [INFO] [stdout] help: to annotate the implementation, change the doc comment from inner to outer style [INFO] [stdout] | [INFO] [stdout] 9 - //! is perfectly safe. [INFO] [stdout] 9 + /// is perfectly safe. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | //! is perfectly safe. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | / impl Source { [INFO] [stdout] 11 | | pub fn new(content: String) -> Self { [INFO] [stdout] 12 | | let tokens = content.split_whitespace() [INFO] [stdout] 13 | | .map(|t| unsafe { std::mem::transmute(t) }) [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- the inner doc comment doesn't annotate this implementation [INFO] [stdout] | [INFO] [stdout] help: to annotate the implementation, change the doc comment from inner to outer style [INFO] [stdout] | [INFO] [stdout] 9 - //! is perfectly safe. [INFO] [stdout] 9 + /// is perfectly safe. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0753`. [INFO] [stdout] [INFO] [stderr] error: could not compile `refself` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0505]: cannot move out of `s` because it is borrowed [INFO] [stdout] --> src/lib.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 29 | let s = Source::new("hello world".to_string()); [INFO] [stdout] | - binding `s` declared here [INFO] [stdout] 30 | let t = s.tokens_iter().collect::>(); [INFO] [stdout] | - borrow of `s` occurs here [INFO] [stdout] 31 | drop(s); [INFO] [stdout] | ^ move out of `s` occurs here [INFO] [stdout] 32 | println!("{:?}", t); [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] note: if `Source` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Source { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 30 | let t = s.tokens_iter().collect::>(); [INFO] [stdout] | - you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0753. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `refself` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "f15021e8a99654245d27a31325e08bf84e24565ce3f7c030d7d99d07d7b89c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f15021e8a99654245d27a31325e08bf84e24565ce3f7c030d7d99d07d7b89c72", kill_on_drop: false }` [INFO] [stdout] f15021e8a99654245d27a31325e08bf84e24565ce3f7c030d7d99d07d7b89c72