[INFO] fetching crate calisp 0.2.2... [INFO] checking calisp-0.2.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate calisp 0.2.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate calisp 0.2.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8parse v0.1.1 [INFO] [stderr] Downloaded cc v1.0.57 [INFO] [stderr] Downloaded aho-corasick v0.7.13 [INFO] [stderr] Downloaded dirs-sys v0.3.5 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded rustyline v5.0.6 [INFO] [stderr] Downloaded clap v2.33.1 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded libc v0.2.71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2271954d8bbceb606237b515bb10793f6c8b7880f5d5b1ca6a0c1995f509bb5 [INFO] running `Command { std: "docker" "start" "-a" "c2271954d8bbceb606237b515bb10793f6c8b7880f5d5b1ca6a0c1995f509bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2271954d8bbceb606237b515bb10793f6c8b7880f5d5b1ca6a0c1995f509bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2271954d8bbceb606237b515bb10793f6c8b7880f5d5b1ca6a0c1995f509bb5", kill_on_drop: false }` [INFO] [stdout] c2271954d8bbceb606237b515bb10793f6c8b7880f5d5b1ca6a0c1995f509bb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68f01dc4243b158584159588c064847ad8b3f7ebec9526bb5178c7d442b38b46 [INFO] running `Command { std: "docker" "start" "-a" "68f01dc4243b158584159588c064847ad8b3f7ebec9526bb5178c7d442b38b46", 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 memchr v2.3.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.18 [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] [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] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calisp` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `calisp` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "68f01dc4243b158584159588c064847ad8b3f7ebec9526bb5178c7d442b38b46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68f01dc4243b158584159588c064847ad8b3f7ebec9526bb5178c7d442b38b46", kill_on_drop: false }` [INFO] [stdout] 68f01dc4243b158584159588c064847ad8b3f7ebec9526bb5178c7d442b38b46