[INFO] fetching crate calisp 0.2.2... [INFO] checking calisp-0.2.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate calisp 0.2.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate calisp 0.2.2 [INFO] finished tweaking crates.io crate calisp 0.2.2 [INFO] tweaked toml for crates.io crate calisp 0.2.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate calisp 0.2.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate calisp 0.2.2 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4979a84604b715ebc90c9701b889d18f50af6dad16535da0b26a35074cfa7b8 [INFO] running `Command { std: "docker" "start" "-a" "a4979a84604b715ebc90c9701b889d18f50af6dad16535da0b26a35074cfa7b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4979a84604b715ebc90c9701b889d18f50af6dad16535da0b26a35074cfa7b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4979a84604b715ebc90c9701b889d18f50af6dad16535da0b26a35074cfa7b8", kill_on_drop: false }` [INFO] [stdout] a4979a84604b715ebc90c9701b889d18f50af6dad16535da0b26a35074cfa7b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 990f3d58afdb49bc8a60dbc2d23a885703a5f23e0c3430c9ecd45c36f84d8f3d [INFO] running `Command { std: "docker" "start" "-a" "990f3d58afdb49bc8a60dbc2d23a885703a5f23e0c3430c9ecd45c36f84d8f3d", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rustyline v5.0.6 [INFO] [stderr] Checking calisp v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 363 | pub struct CalispInterpreter { [INFO] [stdout] | ---------------------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[deny(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 370 | /// Create new instance of [`CalispInterpreter`] [INFO] [stdout] 371 | pub fn new(input_file: String, arguments: &Vec) -> CalispInterpreter { [INFO] [stdout] | ----------------------------------------------------------------------------------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 379 | /// Create new environment for Calisp [INFO] [stdout] 380 | fn new_env(arguments: Vec) -> Env { [INFO] [stdout] | ----------------------------------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 404 | /// Load file in Calisp and eval it [INFO] [stdout] 405 | pub fn run(&self) -> Result { [INFO] [stdout] | ---------------------------------------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 419 | /// Read code from the stdin interactively [INFO] [stdout] 420 | pub fn run_interactive(&self) { [INFO] [stdout] | ----------------------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 363 | pub struct CalispInterpreter { [INFO] [stdout] | ---------------------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[deny(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 370 | /// Create new instance of [`CalispInterpreter`] [INFO] [stdout] 371 | pub fn new(input_file: String, arguments: &Vec) -> CalispInterpreter { [INFO] [stdout] | ----------------------------------------------------------------------------------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 379 | /// Create new environment for Calisp [INFO] [stdout] 380 | fn new_env(arguments: Vec) -> Env { [INFO] [stdout] | ----------------------------------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 404 | /// Load file in Calisp and eval it [INFO] [stdout] 405 | pub fn run(&self) -> Result { [INFO] [stdout] | ---------------------------------------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 419 | /// Read code from the stdin interactively [INFO] [stdout] 420 | pub fn run_interactive(&self) { [INFO] [stdout] | ----------------------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/types.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | drop(a); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Arc>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 153 - drop(a); [INFO] [stdout] 153 + let _ = a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calisp` (lib) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/types.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | drop(a); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Arc>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 153 - drop(a); [INFO] [stdout] 153 + let _ = a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calisp` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "990f3d58afdb49bc8a60dbc2d23a885703a5f23e0c3430c9ecd45c36f84d8f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "990f3d58afdb49bc8a60dbc2d23a885703a5f23e0c3430c9ecd45c36f84d8f3d", kill_on_drop: false }` [INFO] [stdout] 990f3d58afdb49bc8a60dbc2d23a885703a5f23e0c3430c9ecd45c36f84d8f3d