[INFO] fetching crate mangolib 0.5.0... [INFO] checking mangolib-0.5.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate mangolib 0.5.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate mangolib 0.5.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const-random-macro v0.1.13 [INFO] [stderr] Downloaded const-random v0.1.13 [INFO] [stderr] Downloaded ustr v0.7.0 [INFO] [stderr] Downloaded string-interner v0.7.1 [INFO] [stderr] Downloaded scoped_name v0.2.0 [INFO] [stderr] Downloaded mango_ir v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cc0acb3662ec6b5a0513163ee091c98533c6c4340e5aac61e8684f4c3965b4fd [INFO] running `Command { std: "docker" "start" "-a" "cc0acb3662ec6b5a0513163ee091c98533c6c4340e5aac61e8684f4c3965b4fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc0acb3662ec6b5a0513163ee091c98533c6c4340e5aac61e8684f4c3965b4fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc0acb3662ec6b5a0513163ee091c98533c6c4340e5aac61e8684f4c3965b4fd", kill_on_drop: false }` [INFO] [stdout] cc0acb3662ec6b5a0513163ee091c98533c6c4340e5aac61e8684f4c3965b4fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 972ede7876b9a9a4ee02d305c8bba18a43bf2b5fc1ae9c177bff795111aa5d08 [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" "972ede7876b9a9a4ee02d305c8bba18a43bf2b5fc1ae9c177bff795111aa5d08", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling syn v1.0.63 [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] Compiling const-random-macro v0.1.13 [INFO] [stderr] Checking regex v1.4.4 [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 scoped_name v0.2.0 [INFO] [stderr] Checking string-interner v0.7.1 [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 37.22s [INFO] running `Command { std: "docker" "inspect" "972ede7876b9a9a4ee02d305c8bba18a43bf2b5fc1ae9c177bff795111aa5d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "972ede7876b9a9a4ee02d305c8bba18a43bf2b5fc1ae9c177bff795111aa5d08", kill_on_drop: false }` [INFO] [stdout] 972ede7876b9a9a4ee02d305c8bba18a43bf2b5fc1ae9c177bff795111aa5d08