[INFO] fetching crate mangolib 0.5.0... [INFO] checking mangolib-0.5.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate mangolib 0.5.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate mangolib 0.5.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mangolib 0.5.0 [INFO] finished tweaking crates.io crate mangolib 0.5.0 [INFO] tweaked toml for crates.io crate mangolib 0.5.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0648ef619396c033682f3055e4e8a15e88458933a683dec4fe08089bb731fb8 [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" "b0648ef619396c033682f3055e4e8a15e88458933a683dec4fe08089bb731fb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0648ef619396c033682f3055e4e8a15e88458933a683dec4fe08089bb731fb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0648ef619396c033682f3055e4e8a15e88458933a683dec4fe08089bb731fb8", kill_on_drop: false }` [INFO] [stdout] b0648ef619396c033682f3055e4e8a15e88458933a683dec4fe08089bb731fb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20d02eebb54b1ec9c8001ad8d10d43f5f709f253a0430525cf37772d5007fb93 [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" "20d02eebb54b1ec9c8001ad8d10d43f5f709f253a0430525cf37772d5007fb93", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking mango_ir v0.1.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Checking const-random v0.1.13 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking ustr v0.7.0 [INFO] [stderr] Checking string-interner v0.7.1 [INFO] [stderr] Checking scoped_name v0.2.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Checking mangolib v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util/parsetxt/int.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | ... panic!(format!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 41 | | ... "Do not yet know how to deal with {} in base {}", [INFO] [stdout] 42 | | ... value.as_str().without_char('_'), [INFO] [stdout] 43 | | ... base.as_str() [INFO] [stdout] 44 | | ... )) [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 40 | panic!( [INFO] [stdout] 41 | "Do not yet know how to deal with {} in base {}", [INFO] [stdout] 42 | value.as_str().without_char('_'), [INFO] [stdout] 43 | base.as_str() [INFO] [stdout] 44 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util/strtype/name.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | assert!(name.is_ok(), format!("'{}' should be a valid name", inp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 140 | assert!(name.is_ok(), "'{}' should be a valid name", inp); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util/strtype/name.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | assert!(name.is_err(), format!("'{}' should not be a valid name", inp)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 143 | assert!(name.is_err(), "'{}' should not be a valid name", inp); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util/parsetxt/int.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | ... panic!(format!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 41 | | ... "Do not yet know how to deal with {} in base {}", [INFO] [stdout] 42 | | ... value.as_str().without_char('_'), [INFO] [stdout] 43 | | ... base.as_str() [INFO] [stdout] 44 | | ... )) [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 40 | panic!( [INFO] [stdout] 41 | "Do not yet know how to deal with {} in base {}", [INFO] [stdout] 42 | value.as_str().without_char('_'), [INFO] [stdout] 43 | base.as_str() [INFO] [stdout] 44 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:81:56 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(size_of::() <= 5 * LONG_SIZE, size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 81 | assert!(size_of::() <= 5 * LONG_SIZE, "{}", size_of::()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | format!("AssociationLexeme size: {}", size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 90 | "AssociationLexeme size: {}", size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | format!("IdentifierLexeme size: {}", size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 98 | "IdentifierLexeme size: {}", size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | format!("KeywordLexeme size: {}", size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 106 | "KeywordLexeme size: {}", size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | format!("LiteralLexeme size: {}", size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 114 | "LiteralLexeme size: {}", size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | format!("OperatorLexeme size: {}", size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 122 | "OperatorLexeme size: {}", size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | format!("ParenthesisOpenLexeme size: {}", size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 130 | "ParenthesisOpenLexeme size: {}", size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | format!("ParenthesisCloseLexeme size: {}", size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 138 | "ParenthesisCloseLexeme size: {}", size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | format!("EndStatementLexeme size: {}", size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 146 | "EndStatementLexeme size: {}", size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | format!("StartBlockLexeme size: {}", size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 154 | "StartBlockLexeme size: {}", size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | format!("EndBlockLexeme size: {}", size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 162 | "EndBlockLexeme size: {}", size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexeme/collect/all.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | format!("UnlexableLexeme size: {}", size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 170 | "UnlexableLexeme size: {}", size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.04s [INFO] running `Command { std: "docker" "inspect" "20d02eebb54b1ec9c8001ad8d10d43f5f709f253a0430525cf37772d5007fb93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d02eebb54b1ec9c8001ad8d10d43f5f709f253a0430525cf37772d5007fb93", kill_on_drop: false }` [INFO] [stdout] 20d02eebb54b1ec9c8001ad8d10d43f5f709f253a0430525cf37772d5007fb93