{"record":{"id":"79be535920489ef6","repo":"ruby/rubygems","slug":"reading-marshal-objects-of-type-struct-is-not-impl","errorCode":null,"errorMessage":"Reading Marshal objects of type struct is not implemented","messagePattern":"Reading Marshal objects of type struct is not implemented","errorType":"exception","errorClass":"Gem::SafeMarshal::Reader::NotImplementedError","httpStatus":null,"severity":"error","filePath":"lib/rubygems/safe_marshal/reader.rb","lineNumber":294,"sourceCode":"\n      def read_module\n        raise NotImplementedError, \"Reading Marshal objects of type module is not implemented\"\n      end\n\n      def read_class_or_module\n        raise NotImplementedError, \"Reading Marshal objects of type class_or_module is not implemented\"\n      end\n\n      def read_data\n        raise NotImplementedError, \"Reading Marshal objects of type data is not implemented\"\n      end\n\n      def read_regexp\n        raise NotImplementedError, \"Reading Marshal objects of type regexp is not implemented\"\n      end\n\n      def read_struct\n        raise NotImplementedError, \"Reading Marshal objects of type struct is not implemented\"\n      end\n\n      def read_user_class\n        name = read_element\n        wrapped_object = read_element\n        Elements::UserClass.new(name, wrapped_object)\n      end\n    end\n  end\nend\n","sourceCodeStart":276,"sourceCodeEnd":305,"githubUrl":"https://github.com/ruby/rubygems/blob/86cbb817a38ce8477b181c17467a703ded3f2be8/lib/rubygems/safe_marshal/reader.rb#L276-L305","documentation":"Error \"Reading Marshal objects of type struct is not implemented\" thrown in ruby/rubygems.","triggerScenarios":"Thrown at lib/rubygems/safe_marshal/reader.rb:294 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["The gem metadata uses a Marshal construct RubyGems does not support; rebuild the gem with a current RubyGems"],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"86cbb817a38ce8477b181c17467a703ded3f2be8","analyzedAt":"2026-08-23T06:27:48.159Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}